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 = new MediaStream()

Accessors

framerate

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

processors

Methods

addObserver

destroy

  • destroy(): void

getActiveOutputMediaStream

  • getActiveOutputMediaStream(): MediaStream

getInputMediaStream

  • getInputMediaStream(): Promise<MediaStream | null>

process

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

removeObserver

setInputMediaStream

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

stop

  • stop(): void

Generated using TypeDoc