webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

[QUESTION] What's the equivalent method of javascript 'MediaStreamTrack.enabled = false'

Open tubzby opened this issue 3 years ago • 1 comments

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?

tubzby avatar Jun 01 '22 03:06 tubzby