RtcStats class

Statistics of a call session.

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 the RtcStats.

Properties

cpuAppUsage double
The CPU usage (%) of the app.
getter/setter pair
cpuTotalUsage double
The system CPU usage (%). The value of cpuTotalUsage is always reported as 0 in the leaveChannel callback.
getter/setter pair
duration int
Call duration of the local user in seconds, represented by an aggregate value.
getter/setter pair
gatewayRtt int
The round-trip time delay (ms) from the client to the local router.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastmileDelay int
The client-to-server delay (milliseconds).
getter/setter pair
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.
getter/setter pair
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.
getter/setter pair
memoryTotalUsageRatio double
The memory occupied by the system (%). This value is for reference only. Due to system limitations, you may not get this value.
getter/setter pair
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.
getter/setter pair
rxAudioKBitRate int
Audio receive bitrate (Kbps), represented by an instantaneous value.
getter/setter pair
rxBytes int
The number of bytes received.
getter/setter pair
rxKBitRate int
The receiving bitrate (Kbps), represented by an instantaneous value.
getter/setter pair
rxPacketLossRate int
The packet loss rate (%) from the Agora server to the client before using the anti-packet-loss method.
getter/setter pair
rxVideoBytes int
The total number of video bytes received, represented by an aggregate value.
getter/setter pair
rxVideoKBitRate int
Video receive bitrate (Kbps), represented by an instantaneous value.
getter/setter pair
txAudioBytes int
The total number of audio bytes sent, represented by an aggregate value.
getter/setter pair
txAudioKBitRate int
The bitrate (Kbps) of sending the audio packet.
getter/setter pair
txBytes int
The number of bytes sent.
getter/setter pair
txKBitRate int
Video transmission bitrate (Kbps), represented by an instantaneous value.
getter/setter pair
txPacketLossRate int
The packet loss rate (%) from the client to the Agora server before applying the anti-packet-loss algorithm.
getter/setter pair
txVideoBytes int
The total number of video bytes sent, represented by an aggregate value.
getter/setter pair
txVideoKBitRate int
The bitrate (Kbps) of sending the video.
getter/setter pair
userCount int
The number of users in the channel.
getter/setter pair

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