Properties specific to version 1 of a Segment Index ('sidx') Box.

interface SidxBoxV1 {
    earliestPresentationTime: bigint;
    firstOffset: bigint;
    referenceId: number;
    references: readonly SidxSegmentReference[];
    timescale: number;
    version: 1;
}

Hierarchy (view full)

Properties

earliestPresentationTime: bigint

The earliest presentation time of any access unit in the media segments that are referenced by this 'sidx' box.

firstOffset: bigint

The byte offset from the end of this 'sidx' box to the first media segment in this 'sidx'.

referenceId: number

The ID of the track.

references: readonly SidxSegmentReference[]

An array of segment references. Each segment reference provides information about individual media segments.

timescale: number

The timescale for the media in this 'sidx' box. It is a 32-bit unsigned integer. This value represents the number of time units that pass in one second.

version: 1

The version, 0 and 1 supported.