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 |
int | gatewayRtt |
double | memoryAppUsageRatio |
double | memoryTotalUsageRatio |
int | memoryAppUsageInKbytes |
Statistics of RTCEngine.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.totalDuration |
Call duration of the local user in seconds, represented by an aggregate value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txBytes |
Total number of bytes transmitted, represented by an aggregate value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxBytes |
Total number of bytes received, represented by an aggregate value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txAudioBytes |
Total number of audio bytes sent (bytes), represented by an aggregate value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txVideoBytes |
Total number of video bytes sent (bytes), represented by an aggregate value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxAudioBytes |
Total number of audio bytes received (bytes), represented by an aggregate value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxVideoBytes |
Total number of video bytes received (bytes), represented by an aggregate value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txKBitRate |
Transmission bitrate in Kbps, represented by an instantaneous value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxKBitRate |
Receive bitrate (Kbps), represented by an instantaneous value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txAudioKBitRate |
The transmission bitrate of the audio packet (Kbps), represented by an instantaneous value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxAudioKBitRate |
Audio receive bitrate (Kbps), represented by an instantaneous value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txVideoKBitRate |
Video transmission bitrate (Kbps), represented by an instantaneous value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxVideoKBitRate |
Video receive bitrate (Kbps), represented by an instantaneous value.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.users |
The number of users in the channel.
COMMUNICATION
profile: The number of users in the channel.LIVE_BROADCASTING
profile:int io.agora.rtc.IRtcEngineEventHandler.RtcStats.lastmileDelay |
Client-server latency.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.txPacketLossRate |
The packet loss rate (%) from the local client to Agora edge server, before network countermeasures.
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.rxPacketLossRate |
The packet loss rate (%) from Agora edge server to the local client, before network countermeasures.
double io.agora.rtc.IRtcEngineEventHandler.RtcStats.cpuTotalUsage |
System CPU usage (%).
cpuTotalUsage
reported in the onLeaveChannel
callback is always 0.double io.agora.rtc.IRtcEngineEventHandler.RtcStats.cpuAppUsage |
Application CPU usage (%).
cpuAppUsage
reported in the onLeaveChannel
callback is always 0.int io.agora.rtc.IRtcEngineEventHandler.RtcStats.gatewayRtt |
The round-trip time delay (ms) from the client to the local router.
To get gatewayRtt
, ensure that you add the android.permission.ACCESS_WIFI_STATE
permission after </application>
in the AndroidManifest.xml
file of your project.
double io.agora.rtc.IRtcEngineEventHandler.RtcStats.memoryAppUsageRatio |
The memory usage ratio of the app (%).
double io.agora.rtc.IRtcEngineEventHandler.RtcStats.memoryTotalUsageRatio |
The memory usage ratio of the system (%).
int io.agora.rtc.IRtcEngineEventHandler.RtcStats.memoryAppUsageInKbytes |
The memory usage of the app (KB).