AgoraRtcRemoteAudioStats Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

The statistics of the remote audio stream.

  uid

User ID of the user sending the audio stream.

@property (assign, nonatomic) NSUInteger uid

Declared In

AgoraObjects.h

  quality

Audio quality received by the user.

@property (assign, nonatomic) NSUInteger quality

Declared In

AgoraObjects.h

  networkTransportDelay

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

@property (assign, nonatomic) NSUInteger networkTransportDelay

Declared In

AgoraObjects.h

  jitterBufferDelay

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

@property (assign, nonatomic) NSUInteger jitterBufferDelay

Discussion

Note: When the receiver is an audience member and AgoraAudienceLatencyLevelType is 1, this parameter does not take effect.

Declared In

AgoraObjects.h

  audioLossRate

The audio frame loss rate in the reported interval.

@property (assign, nonatomic) NSUInteger audioLossRate

Declared In

AgoraObjects.h

  numChannels

The number of channels.

@property (assign, nonatomic) NSUInteger numChannels

Declared In

AgoraObjects.h

  receivedSampleRate

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

@property (assign, nonatomic) NSUInteger receivedSampleRate

Declared In

AgoraObjects.h

  receivedBitrate

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

@property (assign, nonatomic) NSUInteger receivedBitrate

Declared In

AgoraObjects.h

  totalFrozenTime

The total freeze time (ms) of the remote audio stream after the remote user joins the channel.

@property (assign, nonatomic) NSUInteger totalFrozenTime

Declared In

AgoraObjects.h

  frozenRate

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

@property (assign, nonatomic) NSUInteger frozenRate

Declared In

AgoraObjects.h

  totalActiveTime

The total time (ms) when the remote user in the Communication profile or the remote host in the interactive live streaming profile neither stops sending the audio stream nor disables the audio module after joining the channel.

@property (assign, nonatomic) NSUInteger totalActiveTime

Declared In

AgoraObjects.h

  publishDuration

The total publish duration (ms) of the remote audio stream.

@property (assign, nonatomic) NSInteger publishDuration

Availability

v3.1.0

Declared In

AgoraObjects.h

  qoeQuality

Quality of experience (QoE) of the local user when receiving a remote audio stream. See AgoraExperienceQuality.

@property (assign, nonatomic) NSUInteger qoeQuality

Availability

v3.3.0

Declared In

AgoraObjects.h

  qualityChangedReason

The reason for poor QoE of the local user when receiving a remote audio stream. See AgoraExperiencePoorReason.

@property (assign, nonatomic) NSUInteger qualityChangedReason

Availability

v3.3.0

Declared In

AgoraObjects.h

  mosValue

The quality of the remote audio stream as determined by the Agora real-time audio MOS (Mean Opinion Score) measurement method in the reported interval. The return value ranges from 0 to 500. Dividing the return value by 100 gets the MOS score, which ranges from 0 to 5. The higher the score, the better the audio quality.

@property (assign, nonatomic) NSInteger mosValue

Availability

v3.3.1

The subjective perception of audio quality corresponding to the Agora real-time audio MOS scores is as follows:

MOS score Perception of audio quality
Greater than 4 Excellent. The audio sounds clear and smooth.
From 3.5 to 4 Good. The audio has some perceptible impairment, but still sounds clear.
From 3 to 3.5 Fair. The audio freezes occasionally and requires attentive listening.
From 2.5 to 3 Poor. The audio sounds choppy and requires considerable effort to understand.
From 2 to 2.5 Bad. The audio has occasional noise. Consecutive audio dropouts occur, resulting in some information loss. The users can communicate only with difficulty.
Less than 2 Very bad. The audio has persistent noise. Consecutive audio dropouts are frequent, resulting in severe information loss. Communication is nearly impossible.

Declared In

AgoraObjects.h