Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CanvasVideoFrameBuffer

CanvasVideoFrameBuffer implements VideoFrameBuffer. It internally holds an HTMLCanvasElement.

Hierarchy

  • CanvasVideoFrameBuffer

Implements

Index

Constructors

constructor

Properties

framerate

framerate: number

The frame rate of the source in the VideoFrameBuffer.

height

height: number

The height in pixels of the source in the VideoFrameBuffer.

width

width: number

The width in pixels of the source in the VideoFrameBuffer.

Methods

asCanvasElement

  • asCanvasElement(): HTMLCanvasElement

asCanvasImageSource

  • asCanvasImageSource(): Promise<CanvasImageSource>

destroy

  • destroy(): void

Generated using TypeDoc