requestFrame

external fun requestFrame()(source)

The requestFrame() method of the CanvasCaptureMediaStreamTrack interface requests that a frame be captured from the canvas and sent to the stream.

MDN Reference