Skip to content

SipEndpoint

Kenan Genjac edited this page Feb 18, 2025 · 3 revisions

extends Endpoint



constructor(username)

Description

Creates a new instance of SipEndpoint.

Arguments

  • username: string - Username of the participant on this endpoint

Example

let sipEndpoint = new SipEndpoint("username");
console.log(`This endpoints identifier is: ${sipEndpoint.identifier} and the display identifier is: ${sipEndpoint.displayIdentifier}`);



identifier()

Description

Returns the value of the identifier on this endpoint represented by the participant's username.

Arguments

  • none

Returns

  • string - Identifier of the participant on this endpoint

Example

console.log(`Identifier of the participant on this endpoint: ${endpoint.identifier}`);



displayIdentifier()

Description

Returns the value of the display identifier on this endpoint represented by the participant's username.

Arguments

  • none

Returns

  • string - Display identifier of the participant on this endpoint

Example

console.log(`Display identifier of the participant on this endpoint: ${endpoint.displayIdentifier}`);

Tutorials

Migration guides

Reference documentation

Clone this wiki locally