Represents the base structure of a Segment Index ('sidx') Box. The 'sidx' box is used in MPEG-4 media files to provide indexing information for efficient data access and retrieval.

interface SidxBoxBase {
    referenceId: number;
    references: readonly SidxSegmentReference[];
    timescale: number;
    version: number;
}

Hierarchy (view full)

Properties

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

The version, 0 and 1 supported.