supervision-js
    Preparing search index...

    Interface ChunkedDetectionFrameSourceOptions

    interface ChunkedDetectionFrameSourceOptions {
        manifest: DetectionFrameChunkManifest;
        baseUrl?: string;
        fetchChunk?: DetectionFrameChunkFetch;
        maxCachedChunks?: number;
        maxConcurrentChunkFetches?: number;
    }
    Index
    baseUrl?: string

    Base href used by platform adapters to resolve relative chunk src values.

    Custom chunk loader supplied by a platform adapter or host application.

    maxCachedChunks?: number

    Maximum number of decoded chunks cached in memory.

    Left unset, the cache grows to twice the widest buffer window it has been asked to serve, so the ground a backwards scrub lands on is still resident. A fixed value caps the cache at that size even when the window is wider, which costs a refetch on every load that spans more chunks than the cap.

    maxConcurrentChunkFetches?: number

    Maximum number of chunk requests in flight at once.

    One buffer window can span dozens of chunk files, and they queue behind the same connection the media's own reads use. Raise it on a transport that is not competing with a media fetch.