I managed to create a video chat in my Cordova app using PhoneRTC. Now, I want to add a button that toggles mute on the local microphone output.
How can I do that?
Use Session.renegotiate.
For example:
session.streams.audio = false; session.renegotiate();