For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Platform docsVideosCommunitySign up
CapabilitiesGetting startedVoice AI OrchestrationVoxEngine PlatformAPI ReferenceFAQ
CapabilitiesGetting startedVoice AI OrchestrationVoxEngine PlatformAPI ReferenceFAQ
      • Overview
        • Call
        • Endpoint
        • Conference
        • ConferenceDirection
        • ConferenceEvents
        • ConferenceMode
        • ConferenceRecorder
        • DTMFType
  • Management API
    • Reference
    • Authorization
    • Errors
  • Web SDK
    • Overview
  • Android SDK
    • Overview
  • Android SDK v3
    • Overview
  • iOS SDK
    • Overview
  • React Native SDK
    • Overview
  • Flutter SDK
    • Overview
LogoLogo
Platform docsVideosCommunitySign up
On this page
  • Methods
  • getCall
  • getDirection
  • getMode
  • id
  • manageEndpoint
  • setDisplayName
VoxEngineCalls and telephony

Endpoint

Represents any remote media unit in a session.
||View as Markdown|
Was this page helpful?
Edit this page
Previous

Call

Next

Conference

Built with

Represents any remote media unit in a session. An endpoint can be represented as ASR, Recorder, Player or another Call. Add the following line to your scenario code to use the class:

require(Modules.Conference);

Methods

getCall

Returns the endpoint’s Call instance if the endpoint is not a player or recorder instance.

1getCall(): Call

getDirection

Returns the endpoint’s direction. SEND provides only outgoing stream from endpoint to conference, RECEIVE provides only incoming stream from conference to endpoint, BOTH allows both incoming and outgoing streams.

1getDirection(): 'SEND' | 'RECEIVE' | 'BOTH'

getMode

Returns the endpoint’s mode. MIX mode combines all streams in one, FORWARD mode sends only one stream.

1getMode(): 'MIX' | 'FORWARD'

id

Returns the endpoint’s id.

1id(): string

manageEndpoint

Enables/disables receiving media streams from other conference participants.

1manageEndpoint(parameters: ReceiveParameters): Promise<void>

Parameters

parameters
ReceiveParametersRequired

setDisplayName

Sets the display name for the specified endpoint. When the display name is set, all SDK clients receive ‘EndpointEvents.InfoUpdated’ event.

1setDisplayName(displayName: string): void

Parameters

displayName
stringRequired