public static class SegmentBase.SingleSegmentBase extends SegmentBase
SegmentBase that defines a single segment.SegmentBase.MultiSegmentBase, SegmentBase.SegmentList, SegmentBase.SegmentTemplate, SegmentBase.SegmentTimelineElement, SegmentBase.SingleSegmentBase| Constructor and Description |
|---|
SingleSegmentBase() |
SingleSegmentBase(RangedUri initialization,
long timescale,
long presentationTimeOffset,
long indexStart,
long indexLength) |
| Modifier and Type | Method and Description |
|---|---|
RangedUri |
getIndex() |
getInitialization, getPresentationTimeOffsetUspublic SingleSegmentBase(RangedUri initialization, long timescale, long presentationTimeOffset, long indexStart, long indexLength)
initialization - A RangedUri corresponding to initialization data, if such data
exists.timescale - The timescale in units per second.presentationTimeOffset - The presentation time offset. The value in seconds is the
division of this value and timescale.indexStart - The byte offset of the index data in the segment.indexLength - The length of the index data in bytes.public SingleSegmentBase()
public RangedUri getIndex()