Rate this page:

EndpointEvent

Constants

RemoteMediaAdded

Copy URL

Triggered after an endpoint has added an audio or video stream.

Listener is called with EndpointRemoteMediaAdded and payload:

Parameters

  • endpointId:

    string

    Endpoint id.

  • Remote audio or video stream.

  • Remote stream type.

RemoteMediaRemoved

Copy URL

Triggered after an endpoint has removed an audio or video stream.

Listener is called with EndpointRemoteMediaRemoved and payload:

Parameters

  • endpointId:

    string

    Endpoint id.

  • Remote audio or video stream.

  • Remote stream type.

StartReceivingAudioStream

Copy URL

Triggered when receiving video on a remote video stream is started after previously being stopped.

Listener is called with EndpointStartReceivingAudioStream and payload:

Parameters

  • endpointId:

    string

    Endpoint id.

  • streamId:

    string

    Remote audio stream id.

StartReceivingVideoStream

Copy URL

Triggered when receiving video on a remote video stream is started after previously being stopped.

The event is triggered if:

  • Endpoint.startReceivingVideo has been called and the request has been processed successfully.
  • A network issue that caused the Voximplant Cloud to stop receiving video of the remote video stream is gone.

The event is not triggered if the endpoint client has started sending video via the Conference.addStream API.

Listener is called with EndpointStartReceivingVideoStream and payload:

Parameters

  • endpointId:

    string

    Endpoint id.

  • streamId:

    string

    Remote video stream id.

StopReceivingAudioStream

Copy URL

Triggered when receiving audio on a remote audio stream is stopped.

Listener is called with EndpointStopReceivingAudioStream and payload:

Parameters

  • endpointId:

    string

    Endpoint id.

  • Reason for the event, such as receiving audio, is disabled by the client or automatically.

  • streamId:

    string

    Remote audio stream id.

StopReceivingVideoStream

Copy URL

Triggered when receiving video on a remote video stream is stopped.

Receiving video on a remote video stream can be stopped due to:

If the receiving video 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 EndpointEvent.StartReceivingVideoStream event is triggered.

The event is not triggered if the endpoint client has stopped sending video via the Conference.removeStream API.

Listener is called with EndpointStopReceivingVideoStream and payload:

Parameters

  • endpointId:

    string

    Endpoint id.

  • Reason for the event, such as receiving video, is disabled by the client or automatically.

  • streamId:

    string

    Remote video stream id.