hello dear friends
im working on one to many connection in webrtc and now i want disable my audio and video for one of peers not all
how is it possible? if i disable my audioTrack it will mute me for all peers but i want to disable my voice for some of peers not all
if i send to peers to disable me they can hack and reject my request so i should do it in my side not other peers sides
is there any way without disconnecting like pause peerconnection or ..?
thank you so much
resolved with this:
peerConnection.getReceivers().get(i).track().setEnabled(enable/disable);
peerConnection.getSenders().get(i).track().setEnabled(enable/disable);
hello dear friends im working on one to many connection in webrtc and now i want disable my audio and video for one of peers not all how is it possible? if i disable my audioTrack it will mute me for all peers but i want to disable my voice for some of peers not all if i send to peers to disable me they can hack and reject my request so i should do it in my side not other peers sides is there any way without disconnecting like pause peerconnection or ..? thank you so much