Rate this page:

QualityIssueListener

This API is in beta and subject to change.

Interface to monitor issues that affect call quality during a call. Use the Call.setQualityIssueListener API to subscribe to the following events.

Methods

onNoAudioReceive

Copy URL
fun onNoAudioReceive(id: 

String

,
level:

QualityIssueLevel

,
audioStream:

RemoteAudioStream

):

Unit

This API is in beta and subject to change.

Triggered if no audio is received on the remote audio stream.

Issue level can be only QualityIssueLevel.Critical if the issue is detected or QualityIssueLevel.None if the issue is not detected or resolved.

If no audio receive is detected on several remote audio streams, the event is invoked for each of the remote audio streams with the issue.

If the issue level is QualityIssueLevel.Critical, the event is not invoked with the level QualityIssueLevel.None in cases:

  1. The (conference) call ended
  2. The endpoint left the conference call.

The issue is not detected for the following cases:

  1. The endpoint put the call on hold via Call.hold
  2. The endpoint stopped sending audio during a call via Call.muteAudio

Possible reasons:

  1. Poor internet connection on the client or the endpoint
  2. Connection lost on the endpoint - ConferenceListener.onEndpointRemoved is invoked

Parameters

Returns

  • type:

    Unit

onNoVideoReceive

Copy URL
fun onNoVideoReceive(id: 

String

,
level:

QualityIssueLevel

,
videoStream:

RemoteVideoStream

):

Unit

This API is in beta and subject to change.

Triggered if no video is received on the remote video stream.

Issue level can be only QualityIssueLevel.Critical if the issue is detected or QualityIssueLevel.None if the issue is not detected or resolved.

If no video receive is detected on several remote video streams, the event is invoked for each of the remote video streams with the issue.

If the issue level is QualityIssueLevel.Critical, the event is not invoked with the level QualityIssueLevel.None in cases:

  1. The (conference) call ended
  2. The remote video stream is removed - EndpointListener.onRemoteVideoStreamRemoved is invoked.
  3. The endpoint left the conference call - ConferenceListener.onEndpointRemoved is invoked

The issue is not detected for the following cases:

  1. The endpoint put the call on hold via Call.hold
  2. The endpoint stopped sending video during the call via Call.stopSendingVideo
  3. Video receiving has been stopped on the remote video stream via Endpoint.stopReceiveVideo.

Possible reasons:

  1. Poor internet connection on the client or the endpoint
  2. Connection lost on the endpoint
  3. The endpoint's application has been moved to the background state on an iOS device

Parameters

Returns

  • type:

    Unit