Liking cljdoc? Tell your friends :D
ClojureScript only.

web.media.CanvasCaptureMediaStreamTrack

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()`.
raw docstring

canvascljs

(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`
sourceraw docstring

request-framecljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close