Package com.twilio.voice
Class RemoteAudioTrackStats
java.lang.Object
com.twilio.voice.BaseTrackStats
com.twilio.voice.RemoteTrackStats
com.twilio.voice.RemoteAudioTrackStats
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
Audio output levelfinal int
Packet jitter measured in millisecondsfinal float
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
-
Method Summary
-
Field Details
-
audioLevel
public final int audioLevelAudio output level -
jitter
public final int jitterPacket jitter measured in milliseconds -
mos
public final float mosThe 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
-