CML
    Preparing search index...

    Type Alias MerkleSegmentState

    Continuity state carried between calls to validateC2paMerkleSegment. Reset (pass undefined) after a seek.

    lastLocations is keyed by ${uniqueId}:${localId}, matching the MerkleMap fields of the track it tracks. The first location seen for a key is always accepted (no prior state to compare against), so a caller that needs strict start-at-zero enforcement must seed this map itself.

    type MerkleSegmentState = {
        lastLocations: ReadonlyMap<string, number>;
    }
    Index

    Properties

    Properties

    lastLocations: ReadonlyMap<string, number>