# LocalVideoStats (/zh-CN/api-reference/rtc/flutter/class-localvideostats)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```dart
class LocalVideoStats {
const LocalVideoStats(
{this.uid,
this.sentBitrate,
this.sentFrameRate,
this.captureFrameRate,
this.captureFrameWidth,
this.captureFrameHeight,
this.regulatedCaptureFrameRate,
this.regulatedCaptureFrameWidth,
this.regulatedCaptureFrameHeight,
this.encoderOutputFrameRate,
this.encodedFrameWidth,
this.encodedFrameHeight,
this.rendererOutputFrameRate,
this.targetBitrate,
this.targetFrameRate,
this.qualityAdaptIndication,
this.encodedBitrate,
this.encodedFrameCount,
this.codecType,
this.txPacketLossRate,
this.captureBrightnessLevel,
this.hwEncoderAccelerating});
@JsonKey(name: 'uid')
final int? uid;
@JsonKey(name: 'sentBitrate')
final int? sentBitrate;
@JsonKey(name: 'sentFrameRate')
final int? sentFrameRate;
@JsonKey(name: 'captureFrameRate')
final int? captureFrameRate;
@JsonKey(name: 'captureFrameWidth')
final int? captureFrameWidth;
@JsonKey(name: 'captureFrameHeight')
final int? captureFrameHeight;
@JsonKey(name: 'regulatedCaptureFrameRate')
final int? regulatedCaptureFrameRate;
@JsonKey(name: 'regulatedCaptureFrameWidth')
final int? regulatedCaptureFrameWidth;
@JsonKey(name: 'regulatedCaptureFrameHeight')
final int? regulatedCaptureFrameHeight;
@JsonKey(name: 'encoderOutputFrameRate')
final int? encoderOutputFrameRate;
@JsonKey(name: 'encodedFrameWidth')
final int? encodedFrameWidth;
@JsonKey(name: 'encodedFrameHeight')
final int? encodedFrameHeight;
@JsonKey(name: 'rendererOutputFrameRate')
final int? rendererOutputFrameRate;
@JsonKey(name: 'targetBitrate')
final int? targetBitrate;
@JsonKey(name: 'targetFrameRate')
final int? targetFrameRate;
@JsonKey(name: 'qualityAdaptIndication')
final QualityAdaptIndication? qualityAdaptIndication;
@JsonKey(name: 'encodedBitrate')
final int? encodedBitrate;
@JsonKey(name: 'encodedFrameCount')
final int? encodedFrameCount;
@JsonKey(name: 'codecType')
final VideoCodecType? codecType;
@JsonKey(name: 'txPacketLossRate')
final int? txPacketLossRate;
@JsonKey(name: 'captureBrightnessLevel')
final CaptureBrightnessLevelType? captureBrightnessLevel;
@JsonKey(name: 'hwEncoderAccelerating')
final int? hwEncoderAccelerating;
factory LocalVideoStats.fromJson(Map json) =>
_$LocalVideoStatsFromJson(json);
Map toJson() => _$LocalVideoStatsToJson(this);
}
```
## 属性 [#属性]
本地用户的 ID。
实际发送码率 (Kbps)
:::note
注: 不包含丢包后重传视频等的发送码率。
:::
实际发送帧率 (fps)。
:::note
注: 不包含丢包后重传视频等的发送帧率。
:::
本地视频采集帧率 (fps)。
本地视频采集宽度 (px)。
本地视频采集高度 (px)。
SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频帧率 (fps)。Regulator 根据视频编码配置对摄像头采集视频的帧率进行调整。
SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频宽度 (px)。Regulator 根据视频编码配置对摄像头采集视频的宽高进行调整。
SDK 内置的视频采集适配器(regulator)调整后的摄像头采集视频高度 (px)。Regulator 根据视频编码配置对摄像头采集视频的宽高进行调整。
本地视频编码器的输出帧率,单位为 fps。
本地视频渲染器的输出帧率,单位为 fps。
当前编码器的目标编码码率 (Kbps),该码率为 SDK 根据当前网络状况预估的一个值。
当前编码器的目标编码帧率 (fps)。
统计周期内本地视频质量(基于目标帧率和目标码率)的自适应情况。详见 [QualityAdaptIndication](/zh-CN/api-reference/rtc/flutter/enum-qualityadaptindication)。
视频编码码率(Kbps)。
:::note
注: 不包含丢包后重传视频等的编码码率。
:::
视频编码高度(px)。
视频编码宽度(px)。
视频发送的帧数,累计值。
视频的编码类型。详见 [VideoCodecType](/zh-CN/api-reference/rtc/flutter/enum-videocodectype)。
弱网对抗前本端到声网边缘服务器的视频丢包率 (%)。
本地视频采集帧率 (fps)。
本地采集的画质亮度级别。详见 [CaptureBrightnessLevelType](/zh-CN/api-reference/rtc/flutter/enum-capturebrightnessleveltype)。
本地视频编码加速类型。
- 0:采用软件编码,未加速。
- 1:采用硬件编码进行加速。