LocalVideoStats
- Flutter
更新时间不可用
本地视频流统计信息。
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<String, dynamic> json) =>
_$LocalVideoStatsFromJson(json);
Map<String, dynamic> toJson() => _$LocalVideoStatsToJson(this);
}属性
| 参数名 | 描述 |
|---|---|
uid | |
sentBitrate | |
sentFrameRate | |
captureFrameRate | |
captureFrameWidth | |
captureFrameHeight | |
regulatedCaptureFrameRate | |
regulatedCaptureFrameWidth | |
regulatedCaptureFrameHeight | |
encoderOutputFrameRate | |
rendererOutputFrameRate | |
targetBitrate | |
targetFrameRate | |
qualityAdaptIndication | 统计周期内本地视频质量(基于目标帧率和目标码率)的自适应情况。详见 QualityAdaptIndication。 |
encodedBitrate | |
encodedFrameHeight | |
encodedFrameWidth | |
encodedFrameCount | |
codecType | 视频的编码类型。详见 VideoCodecType。 |
txPacketLossRate | |
captureFrameRate | |
captureBrightnessLevel | 本地采集的画质亮度级别。详见 CaptureBrightnessLevelType。 |
hwEncoderAccelerating |