AgoraRtcLocalVideoStats
本地视频流统计信息。
__attribute__((visibility("default"))) @interface AgoraRtcLocalVideoStats : NSObject @property(assign, nonatomic) NSUInteger sentBitrate; @property(assign, nonatomic) NSUInteger sentFrameRate; @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSInteger captureFrameRate; @property(assign, nonatomic) NSInteger captureFrameWidth; @property(assign, nonatomic) NSInteger captureFrameHeight; @property(assign, nonatomic) NSInteger regulatedCaptureFrameRate; @property(assign, nonatomic) NSInteger regulatedCaptureFrameWidth; @property(assign, nonatomic) NSInteger regulatedCaptureFrameHeight; @property(assign, nonatomic) NSInteger encoderOutputFrameRate; @property(assign, nonatomic) NSInteger rendererOutputFrameRate; @property(assign, nonatomic) NSInteger targetFrameRate; @property(assign, nonatomic) AgoraVideoQualityAdaptIndication qualityAdaptIndication; @property(assign, nonatomic) NSInteger targetBitrate; @property(assign, nonatomic) NSInteger encodedBitrate; @property(assign, nonatomic) NSInteger encodedFrameWidth; @property(assign, nonatomic) NSInteger encodedFrameHeight; @property(assign, nonatomic) NSInteger encodedFrameCount; @property(assign, nonatomic) AgoraVideoCodecType codecType; @property(assign, nonatomic) AgoraVideoHwEncoderAccelerating hwEncoderAccelerating; @property(assign, nonatomic) NSInteger txPacketLossRate; @property(assign, nonatomic) AgoraCaptureBrightnessLevelType captureBrightnessLevel NS_SWIFT_NAME(captureBrightnessLevel); @end
属性
- uid
- 本地用户的 ID。
- sentBitrate
-
实际发送码率 (Kbps)注意: 不包含丢包后重传视频等的发送码率。
- sentFrameRate
- 实际发送帧率 (fps)。
注意: 不包含丢包后重传视频等的发送帧率。
- captureFrameRate
- 本地视频采集帧率 (fps)。
- captureFrameWidth
- 本地视频采集宽度 (px)。
- captureFrameHeight
- 本地视频采集高度 (px)。
- regulatedCaptureFrameRate
- SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频帧率 (fps)。Regulator 根据视频编码配置对摄像头采集视频的帧率进行调整。
- regulatedCaptureFrameWidth
- SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频宽度 (px)。Regulator 根据视频编码配置对摄像头采集视频的宽高进行调整。
- regulatedCaptureFrameHeight
- SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频高度 (px)。Regulator 根据视频编码配置对摄像头采集视频的宽高进行调整。
- encoderOutputFrameRate
- 本地视频编码器的输出帧率,单位为 fps。
- rendererOutputFrameRate
- 本地视频渲染器的输出帧率,单位为 fps。
- targetBitrate
- 当前编码器的目标编码码率 (Kbps),该码率为 SDK 根据当前网络状况预估的一个值。
- targetFrameRate
- 当前编码器的目标编码帧率 (fps)。
- qualityAdaptIndication
- 统计周期内本地视频质量(基于目标帧率和目标码率)的自适应情况。详见 AgoraVideoQualityAdaptIndication。
- encodedBitrate
-
视频编码码率(Kbps)。注意: 不包含丢包后重传视频等的编码码率。
- encodedFrameHeight
- 视频编码高度(px)。
- encodedFrameWidth
- 视频编码宽度(px)。
- encodedFrameCount
- 视频发送的帧数,累计值。
- codecType
- 视频的编码类型。详见 AgoraVideoCodecType。
- txPacketLossRate
- 弱网对抗前本端到声网边缘服务器的视频丢包率 (%)。
- captureBrightnessLevel
- 本地采集的画质亮度级别。详见 AgoraCaptureBrightnessLevelType。
- hwEncoderAccelerating
- 本地视频编码加速类型。详见 AgoraVideoHwEncoderAccelerating。