Class SegmentBase

    • Constructor Detail

      • SegmentBase

        public SegmentBase​(@Nullable
                           RangedUri initialization,
                           long timescale,
                           long presentationTimeOffset)
        Deprecated.
        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.
    • Method Detail

      • getInitialization

        @Nullable
        public RangedUri getInitialization​(Representation representation)
        Deprecated.
        Returns the RangedUri defining the location of initialization data for a given representation, or null if no initialization data exists.
        Parameters:
        representation - The Representation for which initialization data is required.
        Returns:
        A RangedUri defining the location of the initialization data, or null.
      • getPresentationTimeOffsetUs

        public long getPresentationTimeOffsetUs()
        Deprecated.
        Returns the presentation time offset, in microseconds.