Audio 我试图在kurento多对多教程中禁用我自己的麦克风,但到目前为止没有成功

Audio 我试图在kurento多对多教程中禁用我自己的麦克风,但到目前为止没有成功,audio,webrtc,kurento,Audio,Webrtc,Kurento,我试过这个密码 participant.audioEnabled=false 但是什么也没发生。我只想禁用麦克风,不想禁用我的扬声器。有什么想法吗?audioEnabled属性 participants[name].rtcPeer.audioEnabled = false; 或 participants[name].rtcPeer.peerConnection.getLocalStreams()[0].getAudioTracks()[0].enabled = false;

我试过这个密码

participant.audioEnabled=false


但是什么也没发生。我只想禁用麦克风,不想禁用我的扬声器。有什么想法吗?

audioEnabled
属性

 participants[name].rtcPeer.audioEnabled = false;

participants[name].rtcPeer.peerConnection.getLocalStreams()[0].getAudioTracks()[0].enabled = false;