Video 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

◆ duration

uint agora_gaming_rtc.RtcStats.duration

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

◆ txBytes

uint agora_gaming_rtc.RtcStats.txBytes

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

◆ rxBytes

uint agora_gaming_rtc.RtcStats.rxBytes

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

◆ txAudioBytes

uint agora_gaming_rtc.RtcStats.txAudioBytes

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

◆ txVideoBytes

uint agora_gaming_rtc.RtcStats.txVideoBytes

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

◆ rxAudioBytes

uint agora_gaming_rtc.RtcStats.rxAudioBytes

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

◆ rxVideoBytes

uint agora_gaming_rtc.RtcStats.rxVideoBytes

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

◆ txKBitRate

uint agora_gaming_rtc.RtcStats.txKBitRate

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

◆ rxKBitRate

uint agora_gaming_rtc.RtcStats.rxKBitRate

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

◆ rxAudioKBitRate

uint agora_gaming_rtc.RtcStats.rxAudioKBitRate

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

◆ txAudioKBitRate

uint agora_gaming_rtc.RtcStats.txAudioKBitRate

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

◆ rxVideoKBitRate

uint agora_gaming_rtc.RtcStats.rxVideoKBitRate

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

◆ txVideoKBitRate

uint agora_gaming_rtc.RtcStats.txVideoKBitRate

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

◆ lastmileDelay

ushort agora_gaming_rtc.RtcStats.lastmileDelay

Client-server latency (ms)

◆ 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.

◆ 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.

◆ 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.

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

◆ 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.

◆ 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.

◆ 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.

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