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

interface SidxBoxV0 {
    earliestPresentationTime: number;
    firstOffset: number;
    referenceId: number;
    references: readonly SidxSegmentReference[];
    timescale: number;
    version: 0;
}

Hierarchy (view full)

Properties

earliestPresentationTime: number

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

firstOffset: number

The byte offset from the end of this 'sidx' box to the first media segment in this 'sidx'. For version 0, this is a 32-bit unsigned integer.

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: 0

The version, 0 and 1 supported.