Skip to content
Lejla Solak edited this page May 27, 2024 · 1 revision



getMuted()

Description

Returns the status of the participant being muted.

Arguments

  • none

Returns

  • Boolean - Represents if the participant is muted. true if participant is muted, otherwise false.

Example

@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
    Participant participant = participantJoinedEvent.getParticipant();
    ParticipantMedia participantMedia = participant.getParticipantMedia();
    Log.d("WebRTC", "Participant muted: " + participantMedia.getAudio().getMuted());
}



getDeaf()

Description

Returns the status of the participant being deafened.

Arguments

  • none

Returns

  • Boolean - Represents if the participant is deafened. true if participant is deafened, otherwise false.

Example

@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
    Participant participant = participantJoinedEvent.getParticipant();
    ParticipantMedia participantMedia = participant.getParticipantMedia();
    Log.d("WebRTC", "Participant deafened: " + participantMedia.getAudio().getDeaf());
}



getTalking()

Description

Returns the status of the participant talking.

Arguments

  • none

Returns

  • Boolean - Represents if the participant is talking. true if participant is talking, otherwise false.

Example

@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
    Participant participant = participantJoinedEvent.getParticipant();
    ParticipantMedia participantMedia = participant.getParticipantMedia();
    Log.d("WebRTC", "Participant talking: " + participantMedia.getAudio().getTalking());
}

Tutorials

Migration guides

Reference documentation

Clone this wiki locally