Endpoint
Represents any remote media unit in a session. Endpoint can be ASR, Recorder, Player or another Call (e.g., which is joined to the conference). Add the following line to your scenario code to use the class:
require(Modules.Conference);
Methods
getDirection
getDirection(): SEND
| RECEIVE
| BOTH
Returns direction value.
Returns
type:
SEND
type:
RECEIVE
type:
BOTH
getMode
getMode(): MIX
| FORWARD
Returns mode value.
Returns
type:
MIX
type:
FORWARD
id
id(): string
Returns endpoint id.
Returns
type:
string
manageEndpoint
manageEndpoint(params: ): Promise<void>
Specifies other endpoints' streams (audio and/or video) to receive.
Parameters
params:
Returns
type:
Promise<void>
setDisplayName
setDisplayName(displayName: string
): void
Set display name for specified endpoint. When display name is set, all SDKs clients will receive EndpointEvents.InfoUpdated event.
Parameters
displayName:
string
Returns
type:
void
setMaxBitrate
setMaxBitrate(bitrate: number
): void
Parameters
bitrate:
number
Returns
type:
void