You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to use the MediaStreamTrack.enabled feature for a project of mine.
There were 2 issues related to this feature in the past (#718, #264) but both of them are now stale and closed without any updates.
Are there any plans to implement this in the near future? If not then i can try implementing this and creating a PR if someone points me in the right direction on where to start and tests to include (if any).
I also have some doubts about how this option will work. When enabled is set to False, will the track still be consumed but only black/silenced frames are sent or will the track be somehow "paused" till enabled is set to True again.
I really don't know how this would work, mostly because I don't have a good insight into how other media pipelines are implemented. Feel free to do some research on the topic and post your findings.
Also could you please elaborate on your usecase? What kind of track are you trying to "disable"?
My usecase is just pausing/resuming a media track that i send to mediasoup. To be more precise, I'm making a live music streaming bot for another project of mine and i was looking into how to implement the pause/resume functionality.
I'm looking to use the MediaStreamTrack.enabled feature for a project of mine.
There were 2 issues related to this feature in the past (#718, #264) but both of them are now stale and closed without any updates.
Are there any plans to implement this in the near future? If not then i can try implementing this and creating a PR if someone points me in the right direction on where to start and tests to include (if any).
I also have some doubts about how this option will work. When enabled is set to False, will the track still be consumed but only black/silenced frames are sent or will the track be somehow "paused" till enabled is set to True again.
Refs: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/enabled
Thanks for your hard work!
The text was updated successfully, but these errors were encountered: