canvas

open external val canvas: HTMLCanvasElement(source)

The canvas read-only property of the CanvasCaptureMediaStreamTrack interface returns the HTMLCanvasElement from which frames are being captured.

MDN Reference