Liking cljdoc? Tell your friends :D
ClojureScript only.

web.CanvasCaptureMediaStreamTrack

The CanvasCaptureMediaStreamTrack interface represents the video contained in a media.MediaStream being generated from a web.<canvas> a call to html.HTMLCanvasElement.captureStream().

The CanvasCaptureMediaStreamTrack interface represents the video
contained in a `media.MediaStream` being generated from a `web.<canvas>`
a call to `html.HTMLCanvasElement.captureStream()`.
raw docstring

canvascljs

(canvas this)

Property.

The web.CanvasCaptureMediaStreamTrack canvas read-only property the html.HTMLCanvasElement from which frames are being captured.

var elt = stream.canvas;

See also: https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/canvas

Property.

The `web.CanvasCaptureMediaStreamTrack` canvas read-only property
the `html.HTMLCanvasElement` from which frames are 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.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.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