RtcStats class

Statistics of a call session.

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

Properties

connectTimeMs int?
The duration (ms) between the SDK starts connecting and the connection is established. If the value reported is 0, it means invalid.
final
cpuAppUsage double?
Application CPU usage (%). The value of cpuAppUsage is always reported as 0 in the onLeaveChannel callback. As of Android 8.1, you cannot get the CPU usage from this attribute due to system limitations.
final
cpuTotalUsage double?
The system CPU usage (%). For Windows, in the multi-kernel environment, this member represents the average CPU usage. The value = (100 - System Idle Progress in Task Manager)/100. The value of cpuTotalUsage is always reported as 0 in the onLeaveChannel callback.
final
duration int?
Call duration of the local user in seconds, represented by an aggregate value.
final
gatewayRtt int?
The round-trip time delay (ms) from the client to the local router. This property is disabled on devices running iOS 14 or later, and enabled on devices running versions earlier than iOS 14 by default. To enable this property on devices running iOS 14 or later,. On Android, to get gatewayRtt, ensure that you add the android.permission.ACCESS_WIFI_STATE permission after in the AndroidManifest.xml file in your project.
final
hashCode int
The hash code for this object.
no setterinherited
lastmileDelay int?
The client-to-server delay (milliseconds).
final
memoryAppUsageInKbytes int?
The memory size occupied by the app (KB). This value is for reference only. Due to system limitations, you may not get this value.
final
memoryAppUsageRatio double?
The memory ratio occupied by the app (%). This value is for reference only. Due to system limitations, you may not get this value.
final
memoryTotalUsageRatio double?
The memory occupied by the system (%). This value is for reference only. Due to system limitations, you may not get this value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
rxAudioBytes int?
The total number of audio bytes received, represented by an aggregate value.
final
rxAudioKBitRate int?
The bitrate (Kbps) of receiving the audio.
final
rxBytes int?
The number of bytes received.
final
rxKBitRate int?
The receiving bitrate (Kbps).
final
rxPacketLossRate int?
The packet loss rate (%) from the Agora server to the client before using the anti-packet-loss method.
final
rxVideoBytes int?
The total number of video bytes received, represented by an aggregate value.
final
rxVideoKBitRate int?
The bitrate (Kbps) of receiving the video.
final
txAudioBytes int?
The total number of audio bytes sent, represented by an aggregate value.
final
txAudioKBitRate int?
The bitrate (Kbps) of sending the audio packet.
final
txBytes int?
The number of bytes sent.
final
txKBitRate int?
The actual bitrate (Kbps) while sending the local video stream.
final
txPacketLossRate int?
The packet loss rate (%) from the client to the Agora server before applying the anti-packet-loss algorithm.
final
txVideoBytes int?
The total number of video bytes sent, represented by an aggregate value.
final
txVideoKBitRate int?
The bitrate (Kbps) of sending the video.
final
userCount int?
The number of users in the channel.
final

Methods

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

Operators

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