supervision-js
    Preparing search index...

    Interface MediaSessionDetectionSourceOptions

    interface MediaSessionDetectionSourceOptions {
        id: string;
        frames?: readonly DetectionFrame[];
        source?: DetectionFrameSource;
        appendable?: MediaSessionAppendableDetectionOptions;
        order?: number;
        presentation?: MediaSessionDetectionSourcePresentation;
        sync?: DetectionFrameSelectionOptions;
        requiredForCoverage?: boolean;
    }
    Index
    id: string

    Renderer-neutral source identity copied into composed detections.

    frames?: readonly DetectionFrame[]

    Static detection frames known at session creation time.

    Caller-owned source for loading detection frames by media-time range.

    Session-owned writable source for streaming detections into cold storage.

    order?: number

    Lower order sources are composed first. Later detections render on top.

    Optional geometry presentation overrides for this source.

    undefined falls back to the global presentation. null disables that layer for this source.

    Detection-frame selection options for this source.

    requiredForCoverage?: boolean

    When false, waitForRange on MediaSession.detectionSource resolves without waiting for this source. Defaults to true.