WebCanvasVideoRenderer

constructor(canvas: JsAny, painter: WebFramePainter, keepDisplayAwake: Boolean = true)

Parameters

keepDisplayAwake

whether the page's screen stays awake while pictures are drawn, and for two seconds after the last one (#238), through WebDisplayAwake. In a worker it does nothing, because a worker has no screen; the page's KitePlayerWorker holds it there.


constructor(canvas: JsAny, painter: WebFramePainter)

Keeps the original painter constructor, including trailing-lambda calls.