Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultVideoFrameProcessorPipeline

DefaultVideoFrameProcessorPipeline implements VideoFrameProcessorPipeline. It constructs a buffer CanvasVideoFrameBuffer as source by default and invokes processor based on framerate. The default output type is MediaStream.

Hierarchy

  • DefaultVideoFrameProcessorPipeline

Implements

Index

Constructors

constructor

Properties

outputMediaStream

outputMediaStream: MediaStream = ...

The output MediaStream as a result of processor executions. It is possible, but unlikely, that this accessor will throw.

Accessors

framerate

  • get framerate(): number
  • set framerate(value: number): void

processors

Methods

addObserver

destroy

  • destroy(): void

getActiveOutputMediaStream

  • getActiveOutputMediaStream(): MediaStream

getInputMediaStream

  • getInputMediaStream(): Promise<MediaStream>

process

  • process(_event: Event): Promise<void>

removeObserver

setInputMediaStream

  • setInputMediaStream(inputMediaStream: MediaStream): Promise<void>

stop

  • stop(): void

Generated using TypeDoc