RemoteVideoStats class Null safety

远端视频相关的统计信息。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RemoteVideoStats(int uid, int delay, int width, int height, int receivedBitrate, int decoderOutputFrameRate, int rendererOutputFrameRate, int packetLossRate, VideoStreamType rxStreamType, int totalFrozenTime, int frozenRate, int totalActiveTime, int publishDuration)
Constructs a RemoteVideoStats
RemoteVideoStats.fromJson(Map<String, dynamic> json)
factory

Properties

decoderOutputFrameRate int
远端视频解码器的输出帧率,单位为 fps。
read / write
delay int
延迟,单位为毫秒。 [...]
read / write
frozenRate int
远端用户在加入频道后发生视频卡顿的累计时长占视频总有效时长的百分比 (%)。
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
远端视频流高度,单位为像素。
read / write
packetLossRate int
远端视频在网络对抗之后的丢包率 (%)。
read / write
publishDuration int
远端视频流的累计发布时长(毫秒)。
read / write
receivedBitrate int
接收码率,单位为 Kbps。
read / write
rendererOutputFrameRate int
远端视频渲染器的输出帧率,单位为 fps。
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
rxStreamType VideoStreamType
视频流类型,大流或小流。 详见 VideoStreamType
read / write
totalActiveTime int
视频总有效时长(毫秒)。 视频总有效时长是远端用户或主播加入频道后,既没有停止发送视频流,也没有禁用视频模块的通话时长。
read / write
totalFrozenTime int
远端用户在加入频道后发生视频卡顿的累计时长(毫秒)。 通话过程中,视频帧率设置不低于 5 fps 时,连续渲染的两帧视频之间间隔超过 500 ms,则记为一次视频卡顿。
read / write
uid int
用户 ID,指定是哪个用户的视频流。
read / write
width int
远端视频流宽度,单位为像素。
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