webrtc
webrtc copied to clipboard
[QUESTION] What's the equivalent method of javascript 'MediaStreamTrack.enabled = false'
First, thank you all for your great work!
In some scenarios, we may want to suspend the video/audio stream temporarily and resume it later on, in order to reduce network traffic, it's better to do it on the sender side.
We can use MediaStreamTrack.enabled = false to suspend video/audio stream in the browser, what's the equivalent method in pion webrtc?