SIGN UP

Endpoint

Interface that represents any remote media unit in a call. Current endpoints can be retrieved via the Call.getEndpoints method.

Endpoint can be :

  1. ASR
  2. Recorder
  3. Player
  4. or another call (e.g. which is joined to the conference)

Methods

off

off(event: EndpointEvents, handler: Function): void

Alias to standard .removeEventListener method.

Parameters

Returns

  • Return:

    void

on

on(event: EndpointEvents, handler: Function): void

Alias to standard .addEventListener method.

Parameters

Returns

  • Return:

    void

useAudioOutput

useAudioOutput(id: string): void

Set audio output device for current Endpoint. Now supported by Google Chrome only

Parameters

  • id:

    string

Returns

  • Return:

    void

Properties

displayName

displayName: string

Get user display name of the endpoint.

id

id: string

Unique ID of current Endpoint

mediaRenderers

mediaRenderers: MediaRenderer[]

The list of all mediaRenderers.

sipUri

sipUri: string

Get SIP URI of the endpoint

userName

userName: string

Get user name of the endpoint.