-1

I have tried this code

participant.audioEnabled=false

but nothing happens .I want to disable just mic not my speaker any idea ?

1 Answers1

0

audioEnabled properties there.

 participants[name].rtcPeer.audioEnabled = false;

or

participants[name].rtcPeer.peerConnection.getLocalStreams()[0].getAudioTracks()[0].enabled = false;
Jijo Paulose
  • 1,896
  • 18
  • 20