# FLocalVideoStats (/zh-CN/api-reference/rtc/unreal-blueprint/class-localvideostats) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```cpp USTRUCT(BlueprintType) struct FLocalVideoStats { GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int64 uid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int sentBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int sentFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int captureFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int captureFrameWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int captureFrameHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int regulatedCaptureFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int regulatedCaptureFrameWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int regulatedCaptureFrameHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int encoderOutputFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int encodedFrameWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int encodedFrameHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int rendererOutputFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int targetBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int targetFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") EQUALITY_ADAPT_INDICATION qualityAdaptIndication = EQUALITY_ADAPT_INDICATION::ADAPT_NONE; int encodedBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int encodedFrameCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") EVIDEO_CODEC_TYPE codecType = EVIDEO_CODEC_TYPE::VIDEO_CODEC_GENERIC_H264; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int txPacketLossRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") FENUMWRAP_CAPTURE_BRIGHTNESS_LEVEL_TYPE captureBrightnessLevel = EENUMCUSTOM_CAPTURE_BRIGHTNESS_LEVEL_TYPE::CAPTURE_BRIGHTNESS_LEVEL_INVALID; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") bool dualStreamEnabled = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") int hwEncoderAccelerating = 0; FLocalVideoStats(){} FLocalVideoStats(const agora::rtc::LocalVideoStats & AgoraData){ uid = AgoraData.uid; sentBitrate = AgoraData.sentBitrate; sentFrameRate = AgoraData.sentFrameRate; captureFrameRate = AgoraData.captureFrameRate; captureFrameWidth = AgoraData.captureFrameWidth; captureFrameHeight = AgoraData.captureFrameHeight; regulatedCaptureFrameRate = AgoraData.regulatedCaptureFrameRate; regulatedCaptureFrameWidth = AgoraData.regulatedCaptureFrameWidth; regulatedCaptureFrameHeight = AgoraData.regulatedCaptureFrameHeight; encoderOutputFrameRate = AgoraData.encoderOutputFrameRate; encodedFrameWidth = AgoraData.encodedFrameWidth; encodedFrameHeight = AgoraData.encodedFrameHeight; rendererOutputFrameRate = AgoraData.rendererOutputFrameRate; targetBitrate = AgoraData.targetBitrate; targetFrameRate = AgoraData.targetFrameRate; qualityAdaptIndication = static_cast(AgoraData.qualityAdaptIndication); encodedBitrate = AgoraData.encodedBitrate; encodedFrameCount = AgoraData.encodedFrameCount; codecType = static_cast(AgoraData.codecType); txPacketLossRate = AgoraData.txPacketLossRate; captureBrightnessLevel = FENUMWRAP_CAPTURE_BRIGHTNESS_LEVEL_TYPE(AgoraData.captureBrightnessLevel); dualStreamEnabled = AgoraData.dualStreamEnabled; hwEncoderAccelerating = AgoraData.hwEncoderAccelerating; } agora::rtc::LocalVideoStats CreateAgoraData() const { agora::rtc::LocalVideoStats AgoraData; AgoraData.uid = uid; AgoraData.sentBitrate = sentBitrate; AgoraData.sentFrameRate = sentFrameRate; AgoraData.captureFrameRate = captureFrameRate; AgoraData.captureFrameWidth = captureFrameWidth; AgoraData.captureFrameHeight = captureFrameHeight; AgoraData.regulatedCaptureFrameRate = regulatedCaptureFrameRate; AgoraData.regulatedCaptureFrameWidth = regulatedCaptureFrameWidth; AgoraData.regulatedCaptureFrameHeight = regulatedCaptureFrameHeight; AgoraData.encoderOutputFrameRate = encoderOutputFrameRate; AgoraData.encodedFrameWidth = encodedFrameWidth; AgoraData.encodedFrameHeight = encodedFrameHeight; AgoraData.rendererOutputFrameRate = rendererOutputFrameRate; AgoraData.targetBitrate = targetBitrate; AgoraData.targetFrameRate = targetFrameRate; AgoraData.qualityAdaptIndication = static_cast(qualityAdaptIndication); AgoraData.encodedBitrate = encodedBitrate; AgoraData.encodedFrameCount = encodedFrameCount; AgoraData.codecType = static_cast(codecType); AgoraData.txPacketLossRate = txPacketLossRate; AgoraData.captureBrightnessLevel = captureBrightnessLevel.GetRawValue(); AgoraData.dualStreamEnabled = dualStreamEnabled; AgoraData.hwEncoderAccelerating = hwEncoderAccelerating; return AgoraData; } void FreeAgoraData(agora::rtc::LocalVideoStats & AgoraData) const { } }; ``` ## 属性 [#属性] 本地用户的 ID。 实际发送码率 (Kbps) :::caution 注意: 不包含丢包后重传视频等的发送码率。 ::: 实际发送帧率 (fps)。 :::caution 注意: 不包含丢包后重传视频等的发送帧率。 ::: 本地视频采集帧率 (fps)。 本地视频采集宽度 (px)。 本地视频采集高度 (px)。 SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频帧率 (fps)。Regulator 根据视频编码配置对摄像头采集视频的帧率进行调整。 SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频宽度 (px)。Regulator 根据视频编码配置对摄像头采集视频的宽高进行调整。 SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频高度 (px)。Regulator 根据视频编码配置对摄像头采集视频的宽高进行调整。 本地视频编码器的输出帧率,单位为 fps。 本地视频渲染器的输出帧率,单位为 fps。 当前编码器的目标编码码率 (Kbps),该码率为 SDK 根据当前网络状况预估的一个值。 当前编码器的目标编码帧率 (fps)。 统计周期内本地视频质量(基于目标帧率和目标码率)的自适应情况。详见 [EQUALITY_ADAPT_INDICATION](/zh-CN/api-reference/rtc/unreal-blueprint/enum-qualityadaptindication)。 视频编码码率(Kbps)。 :::caution 注意: 不包含丢包后重传视频等的编码码率。 ::: 视频编码高度(px)。 视频编码宽度(px)。 视频发送的帧数,累计值。 视频的编码类型。详见 [EUABT_VIDEO_CODEC_TYPE](/zh-CN/api-reference/rtc/unreal-blueprint/enum-videocodectype)。 弱网对抗前本端到声网边缘服务器的视频丢包率 (%)。 本地采集的画质亮度级别。详见 [FENUMWRAP_CAPTURE_BRIGHTNESS_LEVEL_TYPE](/zh-CN/api-reference/rtc/unreal-blueprint/enum-capturebrightnessleveltype)。 本地视频编码加速类型。 - 0:采用软件编码,未加速。 - 1:采用硬件编码进行加速。