Rate this page:

IEndpointListener

Interface that may be used to handle remote call party events.

Methods

onEndpointInfoUpdated

Copy URL

void

onEndpointInfoUpdated(

IEndpoint

endpoint
)

Invoked when endpoint information such as display name, user name and sip uri is updated

Parameters

  • endpoint:

    IEndpoint

    Endpoint which information is updated

Returns

  • type:

    void

onEndpointRemoved

Copy URL

void

onEndpointRemoved(

IEndpoint

endpoint
)

Invoked after endpoint is removed from the call. Event is not triggered on call end.

Parameters

Returns

  • type:

    void

onRemoteVideoStreamAdded

Copy URL

void

onRemoteVideoStreamAdded(

IEndpoint

endpoint,

IRemoteVideoStream

videoStream
)

Invoked after endpoint added video stream to the call.

Parameters

Returns

  • type:

    void

onRemoteVideoStreamRemoved

Copy URL

void

onRemoteVideoStreamRemoved(

IEndpoint

endpoint,

IRemoteVideoStream

videoStream
)

Invoked after endpoint removed video stream from the call. Event is not triggered on call end.

Parameters

Returns

  • type:

    void

onStartReceivingVideoStream

Copy URL

void

onStartReceivingVideoStream(

IEndpoint

endpoint,

IRemoteVideoStream

videoStream
)

Invoked when video receive on a remote video stream is started after previously being stopped. Available only for the conference calls.

The event is triggered if:

  1. IRemoteVideoStream.startReceiving() was called and the request has been processed successfully.
  2. A network issue that caused the Voximplant Cloud to stop video receive of the remote video stream is gone.

The event is not triggered if the endpoint client has started sending video using ICall.sendVideo(boolean, ICallCompletionHandler) API.

Parameters

  • endpoint:

    IEndpoint

    The endpoint that triggered this event.

  • videoStream:

    IRemoteVideoStream

    The remote video stream where video receive is started

Returns

  • type:

    void

onStopReceivingVideoStream

Copy URL

void

onStopReceivingVideoStream(

IEndpoint

endpoint,

IRemoteVideoStream

videoStream,

VideoStreamReceiveStopReason

reason
)

Invoked when video receive on a remote video stream is stopped. Available only for the conference calls.

Video receive on a remote video stream can be stopped due to:

  1. IRemoteVideoStream.stopReceiving() was called and the request has been processed successfully. In this case the value of the "reason" parameter is VideoStreamReceiveStopReason.MANUAL.
  2. 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 receive 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 will be invoked.

The event is not triggered if the endpoint client has stopped sending video using ICall.sendVideo(boolean, ICallCompletionHandler) API.

Parameters

Returns

  • type:

    void

onVoiceActivityStarted

Copy URL

void

onVoiceActivityStarted(

IEndpoint

endpoint
)

Invoked when a voice activity of the endpoint is detected in a conference call.

Parameters

  • endpoint:

    IEndpoint

    Endpoint that invoked the event

Returns

  • type:

    void

onVoiceActivityStopped

Copy URL

void

onVoiceActivityStopped(

IEndpoint

endpoint
)

Invoked when a voice activity of the endpoint is stopped in a conference call.

Parameters

  • endpoint:

    IEndpoint

    Endpoint that invoked the event

Returns

  • type:

    void