Skip to main content

VideoProcessor

Properties

PropertyTypeDescription
destroy() => Promise<void>Destroy the segmentation wasm instance
process(source) => Promise<MediaStream>Process the video and return a MediaStream

Methods

close()

close(): void;

Stop the process of video segmentation

Returns

void


open()

open(options?): Promise<void>;

Parameters

ParameterType
options?ProcessorOptions

Returns

Promise<void>