The CanvasCaptureMediaStreamTrack interface represents the video
contained in a web.streams.MediaStream
being generated from
<canvas>
following a call to HTMLCanvasElement.captureStream()
.
The CanvasCaptureMediaStreamTrack interface represents the video contained in a `web.streams.MediaStream` being generated from `<canvas>` following a call to `HTMLCanvasElement.captureStream()`.
(canvas this)
Property.
The web.media.CanvasCaptureMediaStreamTrack
canvas read-only
returns the web.canvas.HTMLCanvasElement
from which frames
being captured.
var elt = stream.canvas;
See also: https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/canvas
Property. The `web.media.CanvasCaptureMediaStreamTrack` canvas read-only returns the `web.canvas.HTMLCanvasElement` from which frames being captured. `var elt = stream.canvas;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/canvas`
(request-frame this)
Method.
The web.media.CanvasCaptureMediaStreamTrack
method requestFrame()
that a frame be captured from the canvas and sent to the stream.
stream.requestFrame();
See also: https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/requestFrame
Method. The `web.media.CanvasCaptureMediaStreamTrack` method requestFrame() that a frame be captured from the canvas and sent to the stream. `stream.requestFrame();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/requestFrame`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close