How we built it

Media Capture from HTML Media Element (<video>/<audio>)

“Media Capture from DOM Elements” document by W3C defines captureStream() method that allows the capture of a <video>/<audio> element in the form of a MediaStream. We want to implement the necessary Blink and Chromium sections that would create this stream by accessing the <video>/<audio> output according to the given play back constraints.

Comments

Gecko probably landed this as part of https://bugzilla.mozilla.org/show_bug.cgi?id=664918.

Demo

Specification

Editor's draft

Status in Chromium

Behind a flag (launch bug) in:

  • Chrome for desktop release 53
  • Chrome for Android release 53
  • Android WebView release 53

Consensus & Standardization

  • Shipped
  • No public signals
  • No public signals
  • Positive

Owners

Last updated on 2016-06-27