supervision-js
    Preparing search index...

    Interface MediaConditionFacts

    Everything the conditions are read from. Held as data so the reasoning is pure: the probe measures a source once and passes the facts in.

    interface MediaConditionFacts {
        container: MediaContainerFacts | null;
        trackCount: number;
        videoTrackCount: number;
        codec: string | null;
        canDecode: boolean | null;
        timing: MediaTimingFacts | null;
        remote: boolean;
    }
    Index
    container: MediaContainerFacts | null

    Null when the container never opened.

    trackCount: number
    videoTrackCount: number
    codec: string | null

    Null on a video track the demuxer cannot name a codec for.

    canDecode: boolean | null

    Null where no decoder could be asked, which is every realm without WebCodecs. Absent support is false, not null.

    timing: MediaTimingFacts | null

    Null when no video track was reached.

    remote: boolean

    Whether the bytes come over a link, which is what makes a trailing index cost anything.