Agora Java API Reference for Android
Public Attributes | List of all members
io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats Class Reference

Public Attributes

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

Detailed Description

Statistics of the remote audio.

Member Data Documentation

◆ uid

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.uid

ID of the user sending the audio streams.

◆ quality

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.quality

The receiving audio quality:

  • QUALITY_UNKNOWN(0): The quality is unknown.
  • QUALITY_EXCELLENT(1): The quality is excellent.
  • QUALITY_GOOD QUALITY_GOOD(2): The quality is quite good, but the bitrate may be slightly lower than excellent.
  • QUALITY_POOR(3): Users can feel the communication slightly impaired.
  • QUALITY_BAD(4): Users can communicate not very smoothly.
  • QUALITY_VBAD(5): The quality is so bad that users can barely communicate.
  • QUALITY_DOWN(6): The network is disconnected and users cannot communicate at all.

◆ networkTransportDelay

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.networkTransportDelay

The network delay from the sender to the receiver.

◆ jitterBufferDelay

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.jitterBufferDelay

The jitter buffer delay at the receiver.

◆ audioLossRate

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.audioLossRate

The packet loss rate in the reported interval.

◆ numChannels

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.numChannels

The number of channels.

◆ receivedSampleRate

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.receivedSampleRate

The sample rate (Hz) of the received audio stream, represented by an instantaneous value.

◆ receivedBitrate

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.receivedBitrate

The bitrate (Kbps) of the received audio stream, represented by an instantaneous value.

◆ totalFrozenTime

int io.agora.rtc2.IRtcEngineEventHandler.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% within two seconds.

◆ frozenRate

int io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats.frozenRate

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