-
Notifications
You must be signed in to change notification settings - Fork 2
ParticipantMedia
Ajša Terko edited this page Aug 7, 2025
·
4 revisions
Getter for the audio field.
none
-
Audio- The value of theaudiofield, which represents the participant's audio information.
@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());
}Getter for the video field.
none
-
Video- The value of thevideofield, which represents the participant's video information.
@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
Participant participant = participantJoinedEvent.getParticipant();
ParticipantMedia participantMedia = participant.getParticipantMedia();
Log.d("WebRTC", "Participant blinded: " + participantMedia.getVideo().getBlind());
}