Skip to content
Lejla Solak edited this page Feb 10, 2025 · 2 revisions



getMuted()

Description

Getter for the muted field.

Arguments

  • none

Returns

  • Boolean - The value of the muted field, which represents whether the participant is muted. The value is true if the 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

Getter for the deaf field.

Arguments

  • none

Returns

  • Boolean - The value of the deaf field, which represents whether the participant is deafened. The value is true if the 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

Getter for the talking field.

Arguments

  • none

Returns

  • Boolean - The value of the talking field, which represents whether the participant is talking. The value is true if the 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