SIGN UP

EndpointEvents

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

Enum constants

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

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

Web SDK example:
Endpoint.on(Voximplant.EndpointEvents.InfoUpdated, (e)=>{
console.log(e.endpoint.displayName);
// > Chuck Spadina
});


Handler function receives EventHandlers.EndpointHandler object as an argument.

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.render method.

Handler function receives EventHandlers.EndpointMediaHandler object as an argument.

Event is triggered when an Endpoint stopped to receive an audio / video / screensharing stream from another Endpoint.

Handler function receives EventHandlers.EndpointMediaHandler object as an argument.

Event is triggered when an Endpoint is removed. E.g. when a participant left the conference or player was removed.

Handler function receives EventHandlers.EndpointHandler object as an argument.