RtcStats class Null safety

通话相关的统计信息。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RtcStats(int duration, int txBytes, int rxBytes, int txAudioBytes, int txVideoBytes, int rxAudioBytes, int rxVideoBytes, int txKBitRate, int rxKBitRate, int txAudioKBitRate, int rxAudioKBitRate, int txVideoKBitRate, int rxVideoKBitRate, int userCount, int lastmileDelay, int txPacketLossRate, int rxPacketLossRate, double cpuTotalUsage, double cpuAppUsage, int gatewayRtt, double memoryAppUsageRatio, double memoryTotalUsageRatio, int memoryAppUsageInKbytes)
Constructs a RtcStats
RtcStats.fromJson(Map<String, dynamic> json)
factory

Properties

cpuAppUsage double
当前 App 的 CPU 使用率 (%)。 [...]
read / write
cpuTotalUsage double
当前系统的 CPU 使用率 (%)。 [...]
read / write
duration int
通话时长,单位为秒,累计值。
read / write
gatewayRtt int
客户端到本地路由器的往返时延 (ms)。
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lastmileDelay int
客户端到服务器的延迟(毫秒)。
read / write
memoryAppUsageInKbytes int
当前 App 的内存大小 (KB)。 [...]
read / write
memoryAppUsageRatio double
当前 App 的内存占比 (%)。 [...]
read / write
memoryTotalUsageRatio double
当前系统的内存占比 (%)。 [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
rxAudioBytes int
接收音频字节数(bytes),累计值。
read / write
rxAudioKBitRate int
音频接收码率(Kbps),瞬时值。
read / write
rxBytes int
接收字节数(bytes),累计值。
read / write
rxKBitRate int
接收码率(Kbps),瞬时值。
read / write
rxPacketLossRate int
网络对抗前,边缘服务器到本地客户端的丢包率 (%)。
read / write
rxVideoBytes int
接收视频字节数(bytes),累计值。
read / write
rxVideoKBitRate int
视频接收码率(Kbps),瞬时值。
read / write
txAudioBytes int
发送音频字节数(bytes),累计值。
read / write
txAudioKBitRate int
音频包的发送码率(Kbps),瞬时值。
read / write
txBytes int
发送字节数(bytes),累计值。
read / write
txKBitRate int
发送码率(Kbps),瞬时值。
read / write
txPacketLossRate int
网络对抗前,本地客户端到边缘服务器的丢包率 (%)。
read / write
txVideoBytes int
发送视频字节数(bytes),累计值。
read / write
txVideoKBitRate int
视频发送码率(Kbps),瞬时值。
read / write
userCount 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