Endpoint
Interface that represents any remote media unit in a call. Current endpoints can be retrieved via the Call.getEndpoints method. Endpoint can be:
Methods
disableAll
disableAll(): void
Disables all the endpoint’s media renderers
Returns
type:
void
enableAll
enableAll(): void
Enables all the endpoint’s media renderers
Returns
type:
void
off
off(event: , handler: Function
): void
Parameters
event:
handler:
Function
Optional
Returns
type:
void
on
on(event: , handler: Function
, options: EventListenerOption
): void
Parameters
event:
handler:
Function
options:
EventListenerOption
Optional
Returns
type:
void
useAudioOutput
useAudioOutput(id: string
): void
Set audio output device for current Endpoint. Now supported by Google Chrome only
Parameters
id:
string
Returns
type:
void
Props
displayName
displayName: string
Get user display name of the endpoint.
id
id: string
Unique ID of current Endpoint
isDefault
isDefault: boolean
userName
userName: string
Get user name of the endpoint.