Class SegmentBase.SingleSegmentBase

    • Constructor Detail

      • SingleSegmentBase

        public SingleSegmentBase​(@Nullable
                                 RangedUri initialization,
                                 long timescale,
                                 long presentationTimeOffset,
                                 long indexStart,
                                 long indexLength)
        Parameters:
        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.
      • SingleSegmentBase

        public SingleSegmentBase()
    • Method Detail

      • getIndex

        @Nullable
        public RangedUri getIndex()