RemoteVideoStats class Null safety

远端音频流统计信息,统计周期为 2s

本地用户订阅远端音频流成功后,SDK 会周期性地通过 RTCRoomEventHandler.onRemoteStreamStats 通知本地用户订阅的远端视频流在此次统计周期内的接收状况,此数据结构即为回调给本地用户的参数类型。

Constructors

RemoteVideoStats({int? width, int? height, double? videoLossRate, double? receivedKBitrate, int? decoderOutputFrameRate, int? renderOutputFrameRate, int? stallCount, int? stallDuration, int? e2eDelay, bool? isScreen, int? statsInterval, int? rtt, int? frozenRate, VideoCodecType? codecType, int? videoIndex})
RemoteVideoStats.fromMap(Map map)
factory

Properties

codecType ↔ VideoCodecType?
视频的编码类型
read / write
decoderOutputFrameRate ↔ int?
解码器输出帧率 [...]
read / write
e2eDelay ↔ int?
用户体验级别的端到端延时 [...]
read / write
frozenRate ↔ int?
远端用户在进房后发生视频卡顿的累计时长占视频总有效时长的百分比(%) [...]
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
height ↔ int?
远端视频流高度
read / write
isScreen ↔ bool?
所属用户的媒体流是否为屏幕流 [...]
read / write
receivedKBitrate ↔ double?
接收码率 [...]
read / write
renderOutputFrameRate ↔ int?
渲染帧率 [...]
read / write
rtt ↔ int?
往返时延,单位为 ms 。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
stallCount ↔ int?
卡顿次数 [...]
read / write
stallDuration ↔ int?
卡顿时长 [...]
read / write
statsInterval ↔ int?
统计间隔,默认为 2000ms [...]
read / write
videoIndex ↔ int?
对应多种分辨率的流的下标
read / write
videoLossRate ↔ double?
视频丢包率 [...]
read / write
width ↔ int?
远端视频流宽度
read / write

Methods

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

Operators

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