The four major call quality metrics are Latency, Jitter, Packet loss and mos-score.
Latency refers to the time taken to transmit a packet from source to destination. In case the latency is high, users will experience a lag in their audio call. Calls tend to experience significant audio lags when the latency increases beyond 200ms.
Packet loss is caused because of loss in packets due to network congestion. High loss of packets results in robotic or broken audio. Calls tend to experience issues when the packet loss is higher than 2%.
Jitter is caused when the packets arrive out of order. High Jitter can cause muffled audio in case of voice calls. Calls tend to experience issues when the Jitter increases beyond 30ms.
How to enable Mediametrics to access the call quality:
- Use Plivo github page example on how to implement it on your application. If you wanna see media metrics on demo use online link. Use Network link conditioner for MacOs or Clumsy for Windows to stimulate different network conditions.
- When you set enableTracking to true in sdk configuration, then you'll start to get all network and audio related WARNING events under "mediaMetrics" event listener when it occurs.
- Please refer Plivo documentation to check the list of event names and its threshold limit.