Agora C++ API Reference for All Platforms
Public Attributes | List of all members
agora::rtc::RemoteAudioStats Struct Reference

#include <IAgoraRtcEngine.h>

Public Attributes

uid_t uid
 
int quality
 
int networkTransportDelay
 
int jitterBufferDelay
 
int audioLossRate
 
int numChannels
 
int receivedSampleRate
 
int receivedBitrate
 
int totalFrozenTime
 
int frozenRate
 
int totalActiveTime
 

Detailed Description

Audio statistics of a remote user

Member Data Documentation

◆ uid

uid_t agora::rtc::RemoteAudioStats::uid

User ID of the remote user sending the audio streams.

◆ quality

int agora::rtc::RemoteAudioStats::quality

Audio quality received by the user: QUALITY_TYPE.

◆ networkTransportDelay

int agora::rtc::RemoteAudioStats::networkTransportDelay

Network delay (ms) from the sender to the receiver.

◆ jitterBufferDelay

int agora::rtc::RemoteAudioStats::jitterBufferDelay

Network delay (ms) from the receiver to the jitter buffer.

◆ audioLossRate

int agora::rtc::RemoteAudioStats::audioLossRate

The audio frame loss rate in the reported interval.

◆ numChannels

int agora::rtc::RemoteAudioStats::numChannels

The number of channels.

◆ receivedSampleRate

int agora::rtc::RemoteAudioStats::receivedSampleRate

The sample rate (Hz) of the received audio stream in the reported interval.

◆ receivedBitrate

int agora::rtc::RemoteAudioStats::receivedBitrate

The average bitrate (Kbps) of the received audio stream in the reported interval.

◆ totalFrozenTime

int agora::rtc::RemoteAudioStats::totalFrozenTime

The total freeze time (ms) of the remote audio stream after the remote user joins the channel. In a session, audio freeze occurs when the audio frame loss rate reaches 4%. Agora uses 2 seconds as an audio piece unit to calculate the audio freeze time. The total audio freeze time = The audio freeze number × 2 seconds

◆ frozenRate

int agora::rtc::RemoteAudioStats::frozenRate

The total audio freeze time as a percentage (%) of the total time when the audio is available.

◆ totalActiveTime

int agora::rtc::RemoteAudioStats::totalActiveTime