Class TimestampAdjusterProvider


  • @Deprecated
    public final class TimestampAdjusterProvider
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Provides TimestampAdjuster instances for use during HLS playbacks.
    • Constructor Detail

      • TimestampAdjusterProvider

        public TimestampAdjusterProvider()
        Deprecated.
    • Method Detail

      • getAdjuster

        public TimestampAdjuster getAdjuster​(int discontinuitySequence)
        Deprecated.
        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()
        Deprecated.
        Resets the provider.