public class RemoteAudioTrackStats extends RemoteTrackStats
Modifier and Type | Field and Description |
---|---|
int |
audioLevel
Audio output level
|
int |
jitter
Packet jitter measured in milliseconds
|
float |
mos
The Mean Opinion Score (MOS).
|
bytesReceived, packetsReceived
codec, packetsLost, ssrc, timestamp, trackId
public final int audioLevel
public final int jitter
public final float mos
The Mean Opinion Score (MOS) represents the call audio quality where a score of 5 represents the best audio possible, for example, real world face to face speech, and 1 represents audio quality that is unintelligible. Typically, a score of 3.5 or below for a few seconds becomes annoying to the user. The score is calculated using [Vincenty's formulae](https://en.wikipedia.org/wiki/Vincenty%27s_formulae) once per second and uses `jitter`, `rtt`, and `packet loss` values to perform the calculation. The following table describes how MOS relates to quality:
MOS Range | Perceived Quality |
>= 4.2 | Excellent |
4.1 - 4.2 | Great |
3.7 - 4.0 | Good |
3.1 - 3.6 | Almost unintelligible |
< 3.1 | Degraded/Unacceptable |
5.3.0