Endpoint
Class that represents any remote media unit in a call. Current endpoints can be retrieved via the Call.getEndpoints method.
Methods
off
off(event: EndpointEvents, handler: function): void
Remove a handler for the specified endpoint event.
Parameters
event:
EndpointEventshandler:
functionHandler function. If not specified, all handlers for the event will be removed.
on
on(event: EndpointEvents, handler: function): void
Register a handler for the specified endpoint event. One event can have more than one handler. Use the Endpoint.off method to delete a handler.
Parameters
event:
EndpointEventshandler:
function
Properties
displayName
User display name of the endpoint.
id
The endpoint id
sipUri
SIP URI of the endpoint
userName
User name of the endpoint.