Class TimestampAdjusterProvider


  • public final class TimestampAdjusterProvider
    extends Object
    Provides TimestampAdjuster instances for use during HLS playbacks.
    • Constructor Detail

      • TimestampAdjusterProvider

        public TimestampAdjusterProvider()
    • Method Detail

      • getAdjuster

        public TimestampAdjuster getAdjuster​(int discontinuitySequence)
        Returns a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.
        Parameters:
        discontinuitySequence - The chunk's discontinuity sequence.
        Returns:
        A TimestampAdjuster.
      • reset

        public void reset()
        Resets the provider.