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 conform to ConnectionQualityDelegate delegate and import its method. Based on the changes in call quality, the following delegate method will be triggered by the SDK.

func didQualityUpdated(quality : ConnectionQuality)

ConnectionQuality enum#

ConnectionQuality is of the type enum, and it defines the quality of the call in three cases.

CaseDescription
goodMaximum available quality
averageAverage quality
poorMinimum available quality

Get Call Connection Quality#

To get an ongoing call quality, use getCallConnectionQuality() method.

let quality : ConnectionQuality = CallManager.getCallConnectionQuality()