Contact emails
mca...@chromium.org, nik...@chromium.org
Spec
Media Capture from DOM Elements: HTML Media Element Media Capture Extensions
Summary
“Media Capture from DOM Elements” document by W3C defines captureStream() method that allows the capture of a <video> and/or <audio> elements in the form of a MediaStream. We want to implement the necessary Blink and Chromium sections that would create this stream by accessing the canvas output according to the given frame rate constraints.
The implementation is rather straightforward once the security constraints are cleared, so not much need for a DD per se. It adds a captureStream() and a captureStreamUntilEnded() static methods. EME-labeled content cannot be captureStream()ed, obviously.
Motivation
This feature lets users stream <video> contents through RTC easily. Also, it already has an implementation by Mozilla Firefox.
Compatibility Risk
This feature is well defined by the W3C spec and already supported by Mozilla Firefox.
Ongoing technical constraints
Currently, there is no transparency support in MediaStream as well as encoders, which would mean that alpha channel output would be lost.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
OWP launch tracking bug
Link to entry on the feature dashboard
https://www.chromestatus.com/features/5522768674160640
Requesting approval to ship?
No. We are planning to implement it behind a runtime flag.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.