Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. CanvasCaptureMediaStreamTrack

CanvasCaptureMediaStreamTrack

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

TheCanvasCaptureMediaStreamTrack interface of theMedia Capture and Streams API represents the video track contained in aMediaStream being generated from a<canvas> following a call toHTMLCanvasElement.captureStream().

EventTarget MediaStreamTrack CanvasCaptureMediaStreamTrack

Instance properties

This interface inherits the properties of its parent,MediaStreamTrack.

CanvasCaptureMediaStreamTrack.canvasRead only

Returns theHTMLCanvasElement object whose surface is captured in real-time.

Instance methods

This interface inherits the methods of its parent,MediaStreamTrack.

CanvasCaptureMediaStreamTrack.requestFrame()

Manually forces a frame to be captured and sent to the stream. This lets applications that wish to specify the frame capture times directly do so, if they specified aframeRate of 0 when callingcaptureStream().

Specifications

Specification
Media Capture from DOM Elements
# the-canvascapturemediastreamtrack

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp