Call Quality

Manage call quality#

Users can receive notifications about the changes in call quality so that they can check their network connection to avoid any interruption during an active call.

Call Connection Quality Listener#

To detect changes in call quality, you need to set callConnectionQualityListener() listener method. Based on the call quality, this listener method will be called.

function callConnectionQualityListener(response) {}

Sample Call Connection Quality Response:#

// Response Structure
{
quality: 'GOOD'
}

Response Property Details:#

PropertyDescription
qualityQuality of the ongoing call (GOOD/AVERAGE/POOR)

Get Call Connection Quality#

To get the ongoing call quality, use getCallConnectionQuality() method. The response will be the 'GOOD/AVERAGE/POOR' based on current quality of the call.

SDK.getCallConnectionQuality();

Sample Response:#

// Response Structure
STRING
// Example
"GOOD" or "AVERAGE" or "POOR"