AgoraRtcLocalVideoStats 类

Inherits from NSObject
Declared in AgoraObjects.h

概览

本地视频统计回调

  sentBitrate

实际发送码率 (Kbps)

@property (assign, nonatomic) NSUInteger sentBitrate

详情

Note: 不包含丢包后重传视频等的发送码率

Declared In

AgoraObjects.h

  sentFrameRate

实际发送帧率 (fps)

@property (assign, nonatomic) NSUInteger sentFrameRate

详情

Note: 不包含丢包后重传视频等的发送帧率

Declared In

AgoraObjects.h

  encoderOutputFrameRate

本地视频编码器的输出帧率,单位为 fps

@property (assign, nonatomic) NSUInteger encoderOutputFrameRate

Declared In

AgoraObjects.h

  rendererOutputFrameRate

本地视频渲染器的输出帧率,单位为 fps

@property (assign, nonatomic) NSUInteger rendererOutputFrameRate

Declared In

AgoraObjects.h

  sentTargetBitrate

当前编码器的目标编码码率,单位为 Kbps,该码率为 SDK 根据当前网络状况预估的一个值。

@property (assign, nonatomic) NSUInteger sentTargetBitrate

Declared In

AgoraObjects.h

  sentTargetFrameRate

当前编码器的目标编码帧率,单位为 fps

@property (assign, nonatomic) NSUInteger sentTargetFrameRate

Declared In

AgoraObjects.h

  qualityAdaptIndication

统计周期内本地视频质量(基于目标帧率和目标码率)的自适应情况,详见 AgoraVideoQualityAdaptIndication

@property (assign, nonatomic) AgoraVideoQualityAdaptIndication qualityAdaptIndication

Declared In

AgoraObjects.h

  encodedBitrate

视频编码码率(Kbps)。

@property (assign, nonatomic) NSUInteger encodedBitrate

详情

Note: 不包含丢包后重传视频等的编码码率。

Declared In

AgoraObjects.h

  encodedFrameWidth

视频编码宽度(px)。

@property (assign, nonatomic) NSUInteger encodedFrameWidth

Declared In

AgoraObjects.h

  encodedFrameHeight

视频编码高度(px)。

@property (assign, nonatomic) NSUInteger encodedFrameHeight

Declared In

AgoraObjects.h

  encodedFrameCount

视频发送的帧数,累计值。

@property (assign, nonatomic) NSUInteger encodedFrameCount

Declared In

AgoraObjects.h

  codecType

视频的编码类型:

@property (assign, nonatomic) AgoraVideoCodecType codecType

详情

  • AgoraVideoCodecTypeVP8 = 1: VP8。
  • AgoraVideoCodecTypeH264 = 2: (默认值)H.264。

Declared In

AgoraObjects.h