-
Notifications
You must be signed in to change notification settings - Fork 1
WebsocketEndpoint
Kenan Genjac edited this page Feb 18, 2025
·
1 revision
extends
Endpoint
websocketEndpointConfigId: String
constructor(identifier: string, websocketEndpointConfigId: string)
identifier(): String
displayIdentifier(): String
websocketEndpointConfigId
: string
Readonly property representing the ID of your websocket endpoint configuration.
Creates a new instance of WebsocketEndpoint
.
-
identifier
:string
- Identifier of the participant on this endpoint -
websocketEndpointConfigId
:string
- ID of your websocket endpoint configuration.
let websocketEndpoint = new WebscoketEndpoint("identifier", "websocketEndpoitntConfigId");
console.log(`This endpoints identifier is: ${webrtcEndpoint.identifier} and the display identifier is: ${webrtcEndpoint.displayIdentifier}`);
Returns the value of the identifier on this endpoint represented by the participant's identifier.
none
-
string
- Identifier of the participant on this endpoint
console.log(`Identifier of the participant on this endpoint: ${endpoint.identifier}`);
Returns the value of the display identifier on this endpoint represented by the participant's identifier.
none
-
string
- Display identifier of the participant on this endpoint
console.log(`Display identifier of the participant on this endpoint: ${endpoint.displayIdentifier}`);