-
Notifications
You must be signed in to change notification settings - Fork 2
Audio
Lejla Solak edited this page May 27, 2024
·
1 revision
Returns the status of the participant being muted.
none
-
Boolean
- Represents if the participant is muted.true
if 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());
}
Returns the status of the participant being deafened.
none
-
Boolean
- Represents if the participant is deafened.true
if 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());
}
Returns the status of the participant talking.
none
-
Boolean
- Represents if the participant is talking.true
if 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());
}