Agora C++ API Reference for All Platforms
|
#include <IAgoraRtcEngine.h>
Public Member Functions | |
RtcStats () | |
Public Attributes | |
unsigned int | duration |
unsigned int | txBytes |
unsigned int | rxBytes |
unsigned int | txAudioBytes |
unsigned int | txVideoBytes |
unsigned int | rxAudioBytes |
unsigned int | rxVideoBytes |
unsigned short | txKBitRate |
unsigned short | rxKBitRate |
unsigned short | rxAudioKBitRate |
unsigned short | txAudioKBitRate |
unsigned short | rxVideoKBitRate |
unsigned short | txVideoKBitRate |
unsigned short | lastmileDelay |
unsigned short | txPacketLossRate |
unsigned short | rxPacketLossRate |
unsigned int | userCount |
double | cpuAppUsage |
double | cpuTotalUsage |
int | gatewayRtt |
double | memoryAppUsageRatio |
double | memoryTotalUsageRatio |
int | memoryAppUsageInKbytes |
Statistics of the channel.
|
inline |
unsigned int agora::rtc::RtcStats::duration |
Call duration of the local user in seconds, represented by an aggregate value.
unsigned int agora::rtc::RtcStats::txBytes |
Total number of bytes transmitted, represented by an aggregate value.
unsigned int agora::rtc::RtcStats::rxBytes |
Total number of bytes received, represented by an aggregate value.
unsigned int agora::rtc::RtcStats::txAudioBytes |
Total number of audio bytes sent (bytes), represented by an aggregate value.
unsigned int agora::rtc::RtcStats::txVideoBytes |
Total number of video bytes sent (bytes), represented by an aggregate value.
unsigned int agora::rtc::RtcStats::rxAudioBytes |
Total number of audio bytes received (bytes) before network countermeasures, represented by an aggregate value.
unsigned int agora::rtc::RtcStats::rxVideoBytes |
Total number of video bytes received (bytes), represented by an aggregate value.
unsigned short agora::rtc::RtcStats::txKBitRate |
Transmission bitrate (Kbps), represented by an instantaneous value.
unsigned short agora::rtc::RtcStats::rxKBitRate |
Receive bitrate (Kbps), represented by an instantaneous value.
unsigned short agora::rtc::RtcStats::rxAudioKBitRate |
Audio receive bitrate (Kbps), represented by an instantaneous value.
unsigned short agora::rtc::RtcStats::txAudioKBitRate |
Audio transmission bitrate (Kbps), represented by an instantaneous value.
unsigned short agora::rtc::RtcStats::rxVideoKBitRate |
Video receive bitrate (Kbps), represented by an instantaneous value.
unsigned short agora::rtc::RtcStats::txVideoKBitRate |
Video transmission bitrate (Kbps), represented by an instantaneous value.
unsigned short agora::rtc::RtcStats::lastmileDelay |
Client-server latency (ms)
unsigned short agora::rtc::RtcStats::txPacketLossRate |
The packet loss rate (%) from the local client to Agora's edge server, before using the anti-packet-loss method.
unsigned short agora::rtc::RtcStats::rxPacketLossRate |
The packet loss rate (%) from Agora's edge server to the local client, before using the anti-packet-loss method.
unsigned int agora::rtc::RtcStats::userCount |
Number of users in the channel.
COMMUNICATION
profile: The number of users in the channel.LIVE_BROADCASTING
profile:double agora::rtc::RtcStats::cpuAppUsage |
Application CPU usage (%).
cpuAppUsage
reported in the onLeaveChannel callback is always 0.double agora::rtc::RtcStats::cpuTotalUsage |
System CPU usage (%).
In the multi-kernel environment, this member represents the average CPU usage. The value **=** 100 - System Idle Progress in Task Manager (%).
cpuTotalUsage
reported in the onLeaveChannel callback is always 0.int agora::rtc::RtcStats::gatewayRtt |
The round-trip time delay from the client to the local router.
android.permission.ACCESS_WIFI_STATE
permission has been added after </application>
in the AndroidManifest.xml
file in your project. double agora::rtc::RtcStats::memoryAppUsageRatio |
The memory usage ratio of the app (%).
double agora::rtc::RtcStats::memoryTotalUsageRatio |
The memory usage ratio of the system (%).
int agora::rtc::RtcStats::memoryAppUsageInKbytes |
The memory usage of the app (KB).