supervision-js
    Preparing search index...

    Interface BufferedDetectionTimeline

    Hot detection timeline controller.

    interface BufferedDetectionTimeline {
        destroy(): void;
        getBufferedFrames(): readonly DetectionFrame[];
        getState(): DetectionBufferState;
        prefetch(mediaTime: number): void;
        prepare(
            mediaTime: number,
            options?: DetectionBufferPrepareOptions,
        ): Promise<void>;
        selectFrame(mediaTime: number): DetectionFrame | undefined;
        setTimelineContext?(context: DetectionTimelineContext): void;
    }
    Index
    • Returns void

    • Returns readonly DetectionFrame[]

    • Parameters

      • mediaTime: number

      Returns void

    • Parameters

      • mediaTime: number

      Returns DetectionFrame | undefined