I am developing a video-conferencing application in flutter using mediasoup WebRTC. I can implement producer and consumer mute and unmute audio/video by themself. I would like to implement mute all participants through a host. So Please provide an answer if you have one.
Asked
Active
Viewed 410 times
1 Answers
0
Yes you can mute all using below properties
mediaStream.getVideoTracks()[0].enabled = !(mediaStream.getVideoTracks()[0].enabled);

Ashok Songara
- 162
- 1
- 10
-
Please upvote the answer if its useful for you then – Ashok Songara Jun 22 '22 at 15:39
-
I have added this line in the project, but It is not working. – Dipak Pakhale Jun 27 '22 at 04:49