Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

CanvasCaptureMediaStream

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

The CanvasCaptureMediaStream interface represents a MediaStream capturing in real-time the surface of an HTMLCanvasElement.

Properties

This interface inherits the properties of its parents, MediaStream and EventTarget.

CanvasCaptureMediaStream.canvas Read only
Returns the HTMLCanvasElement object whose surface is captured in real-time.

Methods

This interface inherits the methods of its parent, MediaStream and EventTarget.

CanvasCaptureMediaStream.requestFrame()
Manually forces a frame to be captured and sent to the stream. This allows to capture partially rendered frames.

Specifications

Specification Status Comment
Media Capture from DOM Elements
The definition of 'CanvasCaptureMediaStream' in that specification.
Editor's Draft Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support Not supported 41 (41)[1] Not supported Not supported Not supported
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support Not supported 41.0 (41)[1] Not supported Not supported Not supported

[1] Disabled by default; set the preference canvas.capturestream.enabled to true to activate.

See also

ドキュメントのタグと貢献者

 このページの貢献者: Sebastianz, teoli
 最終更新者: Sebastianz,