Package io.agora.rtc2
Class IRtcEngineEventHandler.RemoteAudioStats
java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.RemoteAudioStats
- Enclosing class:
- IRtcEngineEventHandler
Statistics of the remote audio.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe packet loss rate in the reported interval.intThe end-to-end delay (ms) from the sender to the receiver.intintThe total audio freeze time as a percentage (%) of the total time when the audio is available.intIf the packet loss concealment (PLC) occurs for N consecutive times, freeze is considered as PLC occurring for M consecutive times.intintThe jitter buffer delay at the receiver.intThe quality of the remote audio stream as determined by the Agora real-time audio MOS (Mean Opinion Score) measurement method in the reported interval.intThe network delay from the sender to the receiver.intThe number of channels.intThe number of audio packet loss concealmentlongThe total publish duration (ms) of the remote audio stream.intQuality of experience (QoE) of the local user when receiving a remote audio stream.intThe receiving audio quality: - `QUALITY_UNKNOWN(0)`: The quality is unknown.intThe reason for poor QoE of the local user when receiving a remote audio stream.intThe bitrate (Kbps) of the received audio stream, represented by an instantaneous value.intThe sample rate (Hz) of the received audio stream, represented by an instantaneous value.intTotal number of audio bytes received (bytes) before network countermeasures, represented by an aggregate value.longThe total time (ms) when the remote user neither stops sending the audio stream nor disables the audio module after joining the channel.intThe total freeze time (ms) of the remote audio stream after the remote user joins the channel.intID of the user sending the audio streams. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uid
public int uidID of the user sending the audio streams. -
quality
public int qualityThe 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
public int networkTransportDelayThe network delay from the sender to the receiver. -
jitterBufferDelay
public int jitterBufferDelayThe jitter buffer delay at the receiver. -
audioLossRate
public int audioLossRateThe packet loss rate in the reported interval. -
numChannels
public int numChannelsThe number of channels. -
receivedSampleRate
public int receivedSampleRateThe sample rate (Hz) of the received audio stream, represented by an instantaneous value. -
receivedBitrate
public int receivedBitrateThe bitrate (Kbps) of the received audio stream, represented by an instantaneous value. -
totalFrozenTime
public int totalFrozenTimeThe 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
public int frozenRateThe total audio freeze time as a percentage (%) of the total time when the audio is available. -
mosValue
public int mosValueThe 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. 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. | -
frozenRateByCustomPlcCount
public int frozenRateByCustomPlcCountIf the packet loss concealment (PLC) occurs for N consecutive times, freeze is considered as PLC occurring for M consecutive times. freeze cnt = (n_plc - n) / m -
plcCount
public int plcCountThe number of audio packet loss concealment -
frozenCntByCustom
public int frozenCntByCustom -
frozenTimeByCustom
public int frozenTimeByCustom -
totalActiveTime
public long totalActiveTimeThe total time (ms) when the remote user neither stops sending the audio stream nor disables the audio module after joining the channel. -
publishDuration
public long publishDurationThe total publish duration (ms) of the remote audio stream. -
qoeQuality
public int qoeQualityQuality of experience (QoE) of the local user when receiving a remote audio stream. See #EXPERIENCE_QUALITY_TYPE. - {@link io::agora::rtc::Constants#EXPERIENCE_QUALITY_GOOD EXPERIENCE_QUALITY_GOOD(0)} - {@link io::agora::rtc::Constants#EXPERIENCE_QUALITY_BAD EXPERIENCE_QUALITY_BAD(1)} -
qualityChangedReason
public int qualityChangedReasonThe reason for poor QoE of the local user when receiving a remote audio stream. See #EXPERIENCE_POOR_REASON. -
rxAudioBytes
public int rxAudioBytesTotal number of audio bytes received (bytes) before network countermeasures, represented by an aggregate value. -
e2eDelay
public int e2eDelayThe end-to-end delay (ms) from the sender to the receiver.
-
-
Constructor Details
-
RemoteAudioStats
public RemoteAudioStats()
-