-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose MediaStream in workers #26
Conversation
@youennf Why? (I'm not opposed, just would like to know where this came up). Naively, I'd expect streams to be useful only to access older (main-thread only) APIs? |
If we want to expose WebAudio or RTCPeerConnection APIs to workers, it is convenient to have MediaStream available there. |
At the moment, the only purpose would be to reuse libraries of JS code that already use MediaStreams. |
w3c/mediacapture-fromelement#65 would be a reason to merge this. |
This issue had an associated resolution in WebRTC February 2024 meeting – 20 February 2024 (Expose MediaStream in Workers):
|
…orker. r=gfx-reviewers,lsalzman This behaviour has yet to be defined by the spec and/or WPT, see: w3c/mediacapture-fromelement#65 w3c/mediacapture-extensions#26 web-platform-tests/wpt#21102 Differential Revision: https://phabricator.services.mozilla.com/D207582
…orker. r=gfx-reviewers,lsalzman This behaviour has yet to be defined by the spec and/or WPT, see: w3c/mediacapture-fromelement#65 w3c/mediacapture-extensions#26 web-platform-tests/wpt#21102 Differential Revision: https://phabricator.services.mozilla.com/D207582
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is needed to unblock the OffscreenCanvas generating a stream in a worker, I'm fine with merging it now.
…orker. This behaviour has yet to be defined by the spec and/or WPT, see: w3c/mediacapture-fromelement#65 w3c/mediacapture-extensions#26 web-platform-tests/wpt#21102 Differential Revision: https://phabricator.services.mozilla.com/D207582
Preview | Diff