Rate this page:

EndpointEvents

Events that are triggered when Endpoint is updated/edited, removed or started/stopped to receive stream from another Endpoint.

Constants

InfoUpdated

Copy URL

Event is triggered when an Endpoint is updated/edited. E.g. when a display name is changed via the setDisplayName method. Voxengine example:

require(Modules.Conference);
// ...
endpoint.setDisplayName("Chuck Spadina");

Web SDK example:

Endpoint.on(Voximplant.EndpointEvents.InfoUpdated, (e)=>{
  console.logger(e.endpoint.displayName);
  // > Chuck Spadina
});

Handler function receives the EventHandlers.EndpointHandlerobject as an argument.

RemoteMediaAdded

Copy URL

Event is triggered when an Endpoint started to receive an audio / video / screensharing stream from another Endpoint. IMPORTANT: if you subscribe to the event, Web SDK will no longer render remote audio/video stream automatically; you have to render remote streams manually via the MediaRenderer.rendermethod. Handler function receives the EventHandlers.EndpointMediaHandlerobject as an argument.

RemoteMediaRemoved

Copy URL

Event is triggered when an Endpoint stopped to receive an audio / video / screensharing stream from another Endpoint. Handler function receives the EventHandlers.EndpointMediaHandlerobject as an argument.

Removed

Copy URL

Event is triggered when an Endpoint is removed. E.g. when a participant left the conference or player was removed. Handler function receives the EventHandlers.EndpointHandlerobject as an argument.