问题
I am working on the Kurento and I am using many-to-many tutorial(group call) Now i want to mute(disable) only the video of the participants(not my own) in the room but their audio should remain enabled.Also I should be able to enable/disable the video as many time as i want.?
Kindly help.I am new in webrtc.
回答1:
You can do this from javascript by using
participants[name].rtcPeer.videoEnabled = false;
You can do this by using following java code
user1OutgoingMedia.disconnect(user2IncomingMedia, MediaType.VIDEO);
回答2:
localMS.audioTracks.get(i).setEnabled(false);
Here localMs
is Local MediaStream
来源:https://stackoverflow.com/questions/39529270/how-to-enable-disable-the-video-of-participantsnot-our-own-in-kurento-many-to