RemoteAudioStats class

Audio statistics of the remote user.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RemoteAudioStats(int uid, NetworkQuality quality, int networkTransportDelay, int jitterBufferDelay, int audioLossRate, int numChannels, int receivedSampleRate, int receivedBitrate, int totalFrozenTime, int frozenRate, int totalActiveTime, int publishDuration, ExperienceQualityType qoeQuality, ExperiencePoorReason qualityChangedReason, int mosValue)
Constructs the RemoteAudioStats.

Properties

audioLossRate int
The frame loss rate (%) of the remote audio stream in the reported interval.
getter/setter pair
frozenRate int
The total audio freeze time as a percentage (%) of the total time when the audio is available. The audio is considered available when the remote user neither stops sending the audio stream nor disables the audio module after joining the channel.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
jitterBufferDelay int
The network delay (ms) from the receiver to the jitter buffer. This parameter does not take effect if the receiver is an audience member and audienceLatencyLevel of ClientRoleOptions is 1.
getter/setter pair
mosValue int
The quality of the remote audio stream in the reported interval. The quality is determined by the Agora real-time audio MOS (Mean Opinion Score) measurement method. The return value range is 0, 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. 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.
getter/setter pair
networkTransportDelay int
The network delay (ms) from the sender to the receiver.
getter/setter pair
numChannels int
The number of audio channels.
getter/setter pair
publishDuration int
The total duration (ms) of the remote audio stream.
getter/setter pair
qoeQuality ExperienceQualityType
Quality of experience (QoE) of the local user when receiving the remote audio stream. See ExperienceQualityType .
getter/setter pair
quality NetworkQuality
The quality of the audio stream sent by the user. See NetworkQuality .
getter/setter pair
qualityChangedReason ExperiencePoorReason
The reason for poor QoE of the local user when receiving the remote audio stream. See ExperiencePoorReason .
getter/setter pair
receivedBitrate int
The average bitrate (Kbps) of the received audio stream in the reported interval.
getter/setter pair
receivedSampleRate int
The sampling rate of the received audio stream in the reported interval.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalActiveTime int
The total active time (ms) between the start of the audio call and the callback of the remote user. The active time refers to the total duration of the remote user without the mute state.
getter/setter pair
totalFrozenTime int
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%.
getter/setter pair
uid int
The user ID of the remote user.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited