Public Attributes

int totalDuration
 
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 users
 
int lastmileDelay
 
int txPacketLossRate
 
int rxPacketLossRate
 
double cpuTotalUsage
 
double cpuAppUsage
 

Detailed Description

Statistics of RTCEngine.

Member Data Documentation

◆ totalDuration

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.totalDuration

Call duration in seconds, represented by an aggregate value.

◆ txBytes

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txBytes

Total number of bytes transmitted, represented by an aggregate value.

◆ rxBytes

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxBytes

Total number of bytes received, represented by an aggregate value.

◆ txAudioBytes

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txAudioBytes

Total number of audio bytes sent (bytes), represented by an aggregate value.

Since
v2.9.0.

◆ txVideoBytes

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txVideoBytes

Total number of video bytes sent (bytes), represented by an aggregate value.

Since
v2.9.0.

◆ rxAudioBytes

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxAudioBytes

Total number of audio bytes received (bytes), represented by an aggregate value.

Since
v2.9.0.

◆ rxVideoBytes

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxVideoBytes

Total number of video bytes received (bytes), represented by an aggregate value.

Since
v2.9.0.

◆ txKBitRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txKBitRate

Transmission bitrate in Kbps, represented by an instantaneous value.

◆ rxKBitRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxKBitRate

Receive bitrate (Kbps), represented by an instantaneous value.

◆ txAudioKBitRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txAudioKBitRate

The transmission bitrate of the audio packet (Kbps), represented by an instantaneous value.

◆ rxAudioKBitRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxAudioKBitRate

Audio receive bitrate (Kbps), represented by an instantaneous value.

◆ txVideoKBitRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txVideoKBitRate

Video transmission bitrate (Kbps), represented by an instantaneous value.

◆ rxVideoKBitRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxVideoKBitRate

Video receive bitrate (Kbps), represented by an instantaneous value.

◆ users

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.users

The number of users in the channel.

  • Communication profile: The number of users in the channel.
  • Live Broadcast profile:
    • If the local user is an audience: The number of users in the channel = The number of hosts in the channel + 1.
    • If the local user is a host: The number of users in the channel = The number of hosts in the channel.

◆ lastmileDelay

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.lastmileDelay

Client-server latency.

◆ txPacketLossRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txPacketLossRate

The packet loss rate (%) from the local client to Agora's edge server, before network countermeasures.

◆ rxPacketLossRate

int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxPacketLossRate

The packet loss rate (%) from Agora's edge server to the local client, before network countermeasures.

◆ cpuTotalUsage

double io.agora.rtc.IRtcEngineEventHandler.RtcStats.cpuTotalUsage

System CPU usage (%).

◆ cpuAppUsage

double io.agora.rtc.IRtcEngineEventHandler.RtcStats.cpuAppUsage

Application CPU usage (%).