RemoteAudioStats class

Statistics of the remote audio.

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 a RemoteAudioStats

Properties

audioLossRate int
Packet loss rate 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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
jitterBufferDelay int
Network delay (ms) from the receiver to the jitter buffer.
getter/setter pair
mosValue int
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.
getter/setter pair
networkTransportDelay int
Network delay (ms) from the sender to the receiver.
getter/setter pair
numChannels int
The number of channels.
getter/setter pair
publishDuration int
The total active time (ms) of the remote audio stream after the remote user publish the audio stream.
getter/setter pair
qoeQuality ↔ ExperienceQualityType
Quality of experience (QoE) of the local user when receiving a remote audio stream. See qoeQuality.
getter/setter pair
quality NetworkQuality
Audio quality received by the user. See NetworkQuality.
getter/setter pair
qualityChangedReason ↔ ExperiencePoorReason
The reason for poor QoE of the local user when receiving a remote audio stream. See qualityChangedReason.
getter/setter pair
receivedBitrate int
The average bitrate (Kbps) of the received audio stream in the reported interval.
getter/setter pair
receivedSampleRate int
The sample rate (Hz) 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 time (ms) when the remote user in the Communication profile or the remote broadcaster in the LiveBroadcasting profile neither stops sending the audio stream nor disables the audio module after joining the channel.
getter/setter pair
totalFrozenTime int
The total freeze time (ms) of the remote audio stream after the remote user joins the channel. In the reported interval, audio freeze occurs when the audio frame loss rate reaches 4%. totalFrozenTime = The audio freeze time × 2 × 1000 (ms).
getter/setter pair
uid int
ID of the user sending the audio streams.
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