RtcStats class

Call-related statistics.

Annotations
  • @JsonSerializable.new(explicitToJson: true, includeIfNull: false)

Properties

connectTimeMs → int?
Time from starting to establish connection to successful connection (milliseconds). A value of 0 indicates invalid.
final
cpuAppUsage → double?
CPU usage (%) of the current app. The cpuAppUsage reported in the onLeaveChannel callback is always 0. Starting from Android 8.1, due to system limitations, you may not be able to obtain CPU usage via this property.
final
cpuTotalUsage → double?
CPU usage (%) of the current system. For Windows platform, in multi-core environments, this member indicates the average usage of multi-core CPUs. The calculation is (100 - CPU usage of system idle process shown in Task Manager)/100. The cpuTotalUsage reported in the onLeaveChannel callback is always 0.
final
duration → int?
Call duration of the local user (seconds), cumulative value.
final
gatewayRtt → int?
Round-trip time from client to local router (ms). This property is enabled by default on devices running iOS versions earlier than 14, and disabled on iOS 14 and later.
final
hashCode → int
The hash code for this object.
no setterinherited
lastmileDelay → int?
Client-to-access-server latency (milliseconds).
final
memoryAppUsageInKbytes → int?
Memory usage of the current app (KB). This value is for reference only. It may not be retrievable due to system limitations.
final
memoryAppUsageRatio → double?
Memory usage ratio (%) of the current app. This value is for reference only. It may not be retrievable due to system limitations.
final
memoryTotalUsageRatio → double?
Memory usage ratio (%) of the current system. This value is for reference only. It may not be retrievable due to system limitations.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
rxAudioBytes → int?
Audio bytes received, cumulative value.
final
rxAudioKBitRate → int?
Audio receiving bitrate (Kbps).
final
rxBytes → int?
Bytes received.
final
rxKBitRate → int?
Receiving bitrate (Kbps).
final
rxPacketLossRate → int?
Downlink packet loss rate (%) from server to client before applying anti-packet-loss technology.
final
rxVideoBytes → int?
Video bytes received, cumulative value.
final
rxVideoKBitRate → int?
Video receiving bitrate (Kbps).
final
txAudioBytes → int?
Audio bytes sent, cumulative value.
final
txAudioKBitRate → int?
Audio packet sending bitrate (Kbps).
final
txBytes → int?
Bytes sent.
final
txKBitRate → int?
Sending bitrate (Kbps).
final
txPacketLossRate → int?
Uplink packet loss rate (%) from client to server before applying anti-packet-loss technology.
final
txVideoBytes → int?
Video bytes sent, cumulative value.
final
txVideoKBitRate → int?
Video sending bitrate (Kbps).
final
userCount → int?
Number of users in the current channel.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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