Skip to main content

VideoProcessor

Properties​

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

Methods​

open()​

open(options?): Promise<void>;

Parameters​

ParameterType
options?ProcessorOptions

Returns​

Promise<void>


close()​

close(): void;

Stop the process of video segmentation

Returns​

void