Canvas (Web API)
An output that renders mixed video to the canvas and plays audio using browser API.
RegisterCanvasOutput
Type definitions
Properties
video
Parameters of an output video.
- Type:
CanvasOutputVideo
audio
If true
MediaStream
track returned from a register will include audio track.
- Type: boolean
CanvasOutputVideo
Type definitions
Properties
canvas
Canvas element that video should be rendered on.
- Type:
HTMLCanvasElement
resolution
Resolution of an output video
- Type:
{ resolution: { width: number; height: number }}