Agora RTC Objective-C API Reference  Refactor
Properties
AgoraRtcRemoteAudioStats Class Reference

Inherits <NSObject>.

Properties

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

Detailed Description

The statistics of the remote audio.

Property Documentation

◆ uid

- (NSUInteger) uid
readwritenonatomicassign

ID of the user sending the audio stream.

◆ quality

- (NSUInteger) quality
readwritenonatomicassign

The receiving audio quality.

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

◆ networkTransportDelay

- (NSUInteger) networkTransportDelay
readwritenonatomicassign

The network delay (ms) from the sender to the receiver.

◆ jitterBufferDelay

- (NSUInteger) jitterBufferDelay
readwritenonatomicassign

The jitter buffer delay (ms) at the receiver.

◆ audioLossRate

- (NSUInteger) audioLossRate
readwritenonatomicassign

The packet loss rate in the reported interval.

◆ numChannels

- (NSUInteger) numChannels
readwritenonatomicassign

The number of audio channels.

◆ receivedSampleRate

- (NSUInteger) receivedSampleRate
readwritenonatomicassign

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

◆ receivedBitrate

- (NSUInteger) receivedBitrate
readwritenonatomicassign

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

◆ totalFrozenTime

- (NSUInteger) totalFrozenTime
readwritenonatomicassign

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

- (NSUInteger) frozenRate
readwritenonatomicassign

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