@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface CaptureOptions

    Options of MediaCapture.capture. Conditional on player.state like other controls.

    1.0.0

    interface CaptureOptions {
        ifCurrent?: PlayerState;
        at?: number;
        processed?: boolean;
        subtitles?: boolean;
        audio?: number | "none" | "selected";
    }

    Hierarchy (View Summary)

    Index
    ifCurrent?: PlayerState

    The state the call is conditional on; default: the current state (read first when no stream keeps player.state current).

    at?: number

    Source time; defaults to the current position at the moment of capture.

    processed?: boolean

    Include this plugin set's effects (and subtitles unless subtitles: false).

    subtitles?: boolean

    With processed, include the primary subtitle (default true).

    audio?: number | "none" | "selected"

    Audio to freeze with the snapshot: the selected track, none, or a track id.