-
Notifications
You must be signed in to change notification settings - Fork 15
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
captureStream on OffscreenCanvas #65
Comments
This issue had an associated resolution in WebRTC February 2024 meeting – 20 February 2024 (captureStream on OffscreenCanvas on):
|
…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
It seems that creating a VideoTrackGenerator from an OffscreenCanvas and using it as a MediaStreamTrack might replace the need for the captureStream() method for OffscreenCanvas, doesn't it? |
…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
The reverse is also holds: captureStream() from an OffscreenCanvas might replace the need for VideoTrackGenerator. |
Bringing this up as the spec touches on bindings with canvas.
Now that there is [1] offscreen canvas, it would be worth looking into how this spec integrates with that.
[1] https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface
The text was updated successfully, but these errors were encountered: