The CanvasCaptureMediaStream.requestFrame() method forces a frame to be captured and sent to the stream. This allows to capture partially rendered frames.
The CanvasCaptureMediaStream.canvas read-only property returns the HTMLCanvasElement associated with the stream.