Package com.twilio.voice
Class RemoteAudioTrackStats
- java.lang.Object
-
- com.twilio.voice.BaseTrackStats
-
- com.twilio.voice.RemoteTrackStats
-
- com.twilio.voice.RemoteAudioTrackStats
-
public class RemoteAudioTrackStats extends RemoteTrackStats
-
-
Field Summary
Fields Modifier and Type Field Description int
audioLevel
Audio output levelint
jitter
Packet jitter measured in millisecondsfloat
mos
The Mean Opinion Score (MOS).-
Fields inherited from class com.twilio.voice.RemoteTrackStats
bytesReceived, packetsReceived
-
Fields inherited from class com.twilio.voice.BaseTrackStats
codec, packetsLost, ssrc, timestamp, trackId
-
-
-
-
Field Detail
-
audioLevel
public final int audioLevel
Audio output level
-
jitter
public final int jitter
Packet jitter measured in milliseconds
-
mos
public final float mos
The Mean Opinion Score (MOS). This is a measure of the call audio quality.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 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
-
-