Skip to content

WebrtcEndpoint

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

extends Endpoint



identifier()

Description

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

Arguments

  • none

Returns

  • String - Identifier of the participant on this endpoint.

Example

@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
    Participant participant = participantJoinedEvent.getParticipant();
    Endpoint endpoint = participant.getEndpoint();
    Log.d("WebRTC", "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 display name.

Arguments

  • none

Returns

  • String - Display identifier of the participant on this endpoint.

Example

@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
    Participant participant = participantJoinedEvent.getParticipant();
    Endpoint endpoint = participant.getEndpoint();
    Log.d("WebRTC", "Display identifier of the participant on this endpoint: " + endpoint.displayIdentifier());
}

Tutorials

Migration guides

Reference documentation

Clone this wiki locally