supervision-js
    Preparing search index...

    Interface RenderPreparationOptions

    Render-preparation configuration.

    Most applications can use the session defaults. Tune this when dense masks, long videos, worker policy, or playback gating need explicit behavior.

    Index

    Budgets and timing for depth clips.

    onDiagnostics?: (diagnostics: RenderPreparationDiagnostics) => void

    Hold playback until prepared artifacts cover the frame about to be presented.

    Both kinds of source are held at every frame: one between its decoded sample and the draw, the other by stopping the producer that owns the playhead and starting it again. maxWaitSeconds is what makes stopping a running producer safe, and playbackGateReach on the renderer's state reports the furthest any of its gates reaches.

    A renderer created directly leaves this off. createMediaSession() turns it on for playback; the initial opening frame does not wait for future annotations. Pass playbackGate: false to the session to opt out. See RenderPreparationPlaybackGateOptions.