LocalVideoStats class Null safety

本地视频相关的统计信息。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

LocalVideoStats(int sentBitrate, int sentFrameRate, int encoderOutputFrameRate, int rendererOutputFrameRate, int targetBitrate, int targetFrameRate, VideoQualityAdaptIndication qualityAdaptIndication, int encodedBitrate, int encodedFrameWidth, int encodedFrameHeight, int encodedFrameCount, VideoCodecType codecType, int txPacketLossRate, int captureFrameRate, CaptureBrightnessLevelType captureBrightnessLevel)
Constructs a LocalVideoStats
LocalVideoStats.fromJson(Map<String, dynamic> json)
factory

Properties

captureBrightnessLevel CaptureBrightnessLevelType
采集亮度。
read / write
captureFrameRate int
本地视频采集帧率 (fps)。
read / write
codecType VideoCodecType
视频的编码类型。 详见 VideoCodecType
read / write
encodedBitrate int
视频编码码率(Kbps)。该参数不包含丢包后重传视频等的编码码率。
read / write
encodedFrameCount int
视频发送的帧数,累计值。
read / write
encodedFrameHeight int
视频编码高度(px)。
read / write
encodedFrameWidth int
视频编码宽度(px)。
read / write
encoderOutputFrameRate int
本地编码器的输出帧率,单位为 fps。
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
qualityAdaptIndication VideoQualityAdaptIndication
自上次统计后本地视频质量的自适应情况(基于目标帧率和目标码率)。 详见 VideoQualityAdaptIndication
read / write
rendererOutputFrameRate int
本地渲染器的输出帧率,单位为 fps。
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sentBitrate int
实际发送码率,单位为 Kbps,不包含丢包后重传视频等的发送码率。
read / write
sentFrameRate int
实际发送帧率,单位为 fps,不包含丢包后重传视频等的发送帧率。
read / write
targetBitrate int
当前编码器的目标编码码率,单位为 Kbps,该码率为 SDK 根据当前网络状况预估的一个值。
read / write
targetFrameRate int
当前编码器的目标编码帧率,单位为 fps。
read / write
txPacketLossRate int
弱网对抗前本地客户端到 Agora 边缘服务器的视频丢包率 (%)。
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited