Interface VideoFrameProcessor

[[VideoFrameProcessor]] is defined as a unit of video processing. It transforms an array of VideoFrameBuffer and produces an array of VideoFrameBuffer. It can be chained together to be used with VideoFrameProcessorPipeline.

interface VideoFrameProcessor {
    destroy(): Promise<void>;
    process(buffers: VideoFrameBuffer[]): Promise<VideoFrameBuffer[]>;
    setEventController(eventController: EventController): void;
}

Hierarchy (View Summary)

Implemented by

Methods

  • Destroys the processor.

    Returns Promise<void>

  • Set the EventController to the VideoFrameProcessor

    Parameters

    Returns void