-
Notifications
You must be signed in to change notification settings - Fork 2
ParticipantMedia
Ajša Terko edited this page Apr 26, 2023
·
2 revisions
Returns the value of the participant's audio information as an Audio
object.
none
-
Audio
- Represents audio information about the participant.
@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
Participant participant = participantJoinedEvent.getParticipant();
ParticipantMedia participantMedia = participant.getParticipantMedia();
Log.d("WebRTC", "Participant muted: " + participantMedia.getAudio().getMuted());
Log.d("WebRTC", "Participant deafened: " + participantMedia.getAudio().getDeaf());
Log.d("WebRTC", "Participant talking: " + participantMedia.getAudio().getTalking());
}