Click or drag to resize
SegmentIndexEntry Fields

The SegmentIndexEntry type exposes the following members.

Fields
  NameDescription
Public fieldReferencedSize

The distance in bytes from the first byte of the referenced box to the first byte of the next referenced box or in the case of the last entry, the first byte not indexed by this Segment Index Box.

Public fieldReferenceType

When set to 0 indicates that the reference is to a movie fragment (‘moof’) box; when set to 1 indicates that the reference is to a segment index (‘sidx’) box.

Public fieldSAPDeltaTime
Indicates TSAP of the first SAP, in decoding order, in the referenced subsegment for the reference stream. If the referenced subsegments do not contain a SAP, SAP_delta_timeis reserved with the value 0; otherwise SAP_delta_timeis the difference between the earliest presentation time of the subsegment, and the TSAP (note that this difference may be zero, in the case that the subsegment starts with a SAP).
Public fieldSAPType
Indicates a SAP type as specified in TS26.247 [49], Annex G.6, or the value 0. Other type values are reserved. For the detailed semantics of this field in combination with other fields, see the table below.
Public fieldStartsWithSAP
Indicates whether the referenced subsegments start with a SAP. For the detailed semantics of this field in combination with other fields, see the table below.
Public fieldSubSegmentDuration
When the reference is to Segment Index Box, this field carries the sum of the subsegment_duration fields in that box; when the reference is to a subsegment, this field carries the difference between the earliest presentation time of any sample of the reference track in the next subsegment (or the first subsegment of the next segment, if this is the last subsegment of the segment or the end composition time of the reference track if this is the last subsegment of the representation) and the earliest presentation time of any sample of the reference track in the referenced subsegment; the duration is expressed in the timescale value in this box.
Top
See Also