IEndpointListener
Interface that provides API to handle remote call party events.
Methods
onEndpointInfoUpdated
void
onEndpointInfoUpdated( endpoint)
Triggered if an endpoint's information such as display name, user name and sip uri is updated.
Parameters
endpoint:
Endpoint which information is updated
Returns
type:
void
onEndpointRemoved
void
onEndpointRemoved( endpoint)
Triggered if an endpoint is removed from a call. Event is not triggered on the call end.
Parameters
endpoint:
Removed endpoint
Returns
type:
void
onRemoteVideoStreamAdded
void
onRemoteVideoStreamAdded( endpoint, videoStream)
Triggered if an endpoint has added a video stream to a call.
Parameters
endpoint:
Endpoint that triggered the event
videoStream:
Remote video stream
Returns
type:
void
onRemoteVideoStreamRemoved
void
onRemoteVideoStreamRemoved( endpoint, videoStream)
Triggered if an endpoint has removed a video stream from a call. Event is not triggered on the call end.
Parameters
endpoint:
Endpoint that triggered the event
videoStream:
Remote video stream
Returns
type:
void
onStartReceivingVideoStream
void
onStartReceivingVideoStream( endpoint, videoStream)
Triggered if video receiving on a remote video stream is started after previously being stopped. Available only for conference calls.
The event is triggered if:
- IRemoteVideoStream.startReceiving() has been called and the request has been processed successfully.
- A network issue that caused the Voximplant Cloud to stop video receiving of the remote video stream is gone.
The event is not triggered if the endpoint client has started sending video via ICall.sendVideo(boolean, ICallCompletionHandler) API.
Parameters
endpoint:
The endpoint that triggered this event.
videoStream:
The remote video stream where video receiving is started
Returns
type:
void
onStopReceivingVideoStream
void
onStopReceivingVideoStream( endpoint, videoStream, reason)
Triggered if video receiving on a remote video stream is stopped. Available only for conference calls.
Video receiving on a remote video stream can be stopped due to:
- IRemoteVideoStream.stopReceiving() has been called and the request has been processed successfully. In this case the value of the "reason" parameter is VideoStreamReceiveStopReason.MANUAL.
- The Voximplant cloud has detected a network issue on the client and automatically stopped the video. In this case the value of the "reason" parameter is VideoStreamReceiveStopReason.AUTOMATIC.
If the video receiving is disabled automatically, it may be automatically enabled as soon as the network condition on the device is good and there is enough bandwidth to receive the video on this remote video stream. In this case event is triggered.
The event is not triggered if the endpoint client has stopped sending video via ICall.sendVideo(boolean, ICallCompletionHandler) API.
Parameters
endpoint:
The endpoint that triggered this event.
videoStream:
The remote video stream where video receiving is stopped
reason:
The reason for the event, such as video receiving is disabled by client or automatically
Returns
type:
void
onVoiceActivityStarted
void
onVoiceActivityStarted( endpoint)
Triggered if an endpoint voice activity is detected in a conference call.
Parameters
endpoint:
Endpoint that triggered the event
Returns
type:
void