Voice SDK v3.7.1 API Reference for Unity
Public Attributes | List of all members
agora_gaming_rtc.RtcStats Struct Reference

Public Attributes

uint  duration
 
uint  txBytes
 
uint  rxBytes
 
uint  txAudioBytes
 
uint  txVideoBytes
 
uint  rxAudioBytes
 
uint  rxVideoBytes
 
uint  txKBitRate
 
uint  rxKBitRate
 
uint  rxAudioKBitRate
 
uint  txAudioKBitRate
 
uint  rxVideoKBitRate
 
uint  txVideoKBitRate
 
ushort  lastmileDelay
 
ushort  txPacketLossRate
 
ushort  rxPacketLossRate
 
uint  userCount
 
double  cpuAppUsage
 
double  cpuTotalUsage
 
int  gatewayRtt
 
double  memoryAppUsageRatio
 
double  memoryTotalUsageRatio
 
int  memoryAppUsageInKbytes
 

Detailed Description

Statistics of the channel.

Member Data Documentation

◆ cpuAppUsage

double agora_gaming_rtc.RtcStats.cpuAppUsage

Application CPU usage (%).

◆ cpuTotalUsage

double agora_gaming_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 (%).

◆ duration

uint agora_gaming_rtc.RtcStats.duration

Call duration (s), represented by an aggregate value.

◆ gatewayRtt

int agora_gaming_rtc.RtcStats.gatewayRtt

The round-trip time delay from the client to the local router.

Note
On iOS, this parameter is disabled by default. See FAQ for details. If you need to enable this parameter, contact suppo.nosp@m.rt@a.nosp@m.gora..nosp@m.io.

◆ lastmileDelay

ushort agora_gaming_rtc.RtcStats.lastmileDelay

Client-server latency (ms)

◆ memoryAppUsageInKbytes

int agora_gaming_rtc.RtcStats.memoryAppUsageInKbytes

The memory usage ratio of the app (KB).

Note
This value is for reference only. Due to system limitations, you may not get the value of this member.

◆ memoryAppUsageRatio

double agora_gaming_rtc.RtcStats.memoryAppUsageRatio

The memory usage ratio of the app (%).

Note
This value is for reference only. Due to system limitations, you may not get the value of this member.

◆ memoryTotalUsageRatio

double agora_gaming_rtc.RtcStats.memoryTotalUsageRatio

The memory usage ratio of the system (%).

Note
This value is for reference only. Due to system limitations, you may not get the value of this member.

◆ rxAudioBytes

uint agora_gaming_rtc.RtcStats.rxAudioBytes

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

◆ rxAudioKBitRate

uint agora_gaming_rtc.RtcStats.rxAudioKBitRate

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

◆ rxBytes

uint agora_gaming_rtc.RtcStats.rxBytes

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

◆ rxKBitRate

uint agora_gaming_rtc.RtcStats.rxKBitRate

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

◆ rxPacketLossRate

ushort agora_gaming_rtc.RtcStats.rxPacketLossRate

The packet loss rate (%) from Agora's edge server to the local client, before using the anti-packet-loss method.

◆ rxVideoBytes

uint agora_gaming_rtc.RtcStats.rxVideoBytes

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

◆ rxVideoKBitRate

uint agora_gaming_rtc.RtcStats.rxVideoKBitRate

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

◆ txAudioBytes

uint agora_gaming_rtc.RtcStats.txAudioBytes

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

◆ txAudioKBitRate

uint agora_gaming_rtc.RtcStats.txAudioKBitRate

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

◆ txBytes

uint agora_gaming_rtc.RtcStats.txBytes

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

◆ txKBitRate

uint agora_gaming_rtc.RtcStats.txKBitRate

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

◆ txPacketLossRate

ushort agora_gaming_rtc.RtcStats.txPacketLossRate

The packet loss rate (%) from the local client to Agora's edge server, before using the anti-packet-loss method.

◆ txVideoBytes

uint agora_gaming_rtc.RtcStats.txVideoBytes

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

◆ txVideoKBitRate

uint agora_gaming_rtc.RtcStats.txVideoKBitRate

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

◆ userCount

uint agora_gaming_rtc.RtcStats.userCount

Number of users in the channel.

  • Communication profile: The number of users in the channel.
  • Interactive live streaming 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 user is a host: The number of users in the channel = The number of hosts in the channel.

The documentation for this struct was generated from the following file: