captureStream method

MediaStream captureStream([
  1. num frameRequestRate
])

The captureStream() method of the HTMLCanvasElement interface returns a MediaStream which includes a CanvasCaptureMediaStreamTrack containing a real-time video capture of the canvas's contents.

Implementation

external MediaStream captureStream([num frameRequestRate]);