-
Notifications
You must be signed in to change notification settings - Fork 2
Audio
Lejla Solak edited this page Feb 10, 2025
·
2 revisions
Getter for the muted field.
none
-
Boolean- The value of themutedfield, which represents whether the participant is muted. The value istrueif the participant is muted, otherwisefalse.
@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
Participant participant = participantJoinedEvent.getParticipant();
ParticipantMedia participantMedia = participant.getParticipantMedia();
Log.d("WebRTC", "Participant muted: " + participantMedia.getAudio().getMuted());
}Getter for the deaf field.
none
-
Boolean- The value of thedeaffield, which represents whether the participant is deafened. The value istrueif the participant is deafened, otherwisefalse.
@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
Participant participant = participantJoinedEvent.getParticipant();
ParticipantMedia participantMedia = participant.getParticipantMedia();
Log.d("WebRTC", "Participant deafened: " + participantMedia.getAudio().getDeaf());
}Getter for the talking field.
none
-
Boolean- The value of thetalkingfield, which represents whether the participant is talking. The value istrueif the participant is talking, otherwisefalse.
@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
Participant participant = participantJoinedEvent.getParticipant();
ParticipantMedia participantMedia = participant.getParticipantMedia();
Log.d("WebRTC", "Participant talking: " + participantMedia.getAudio().getTalking());
}