Class TimestampAdjusterProvider
- java.lang.Object
-
- com.google.android.exoplayer2.source.hls.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.ProvidesTimestampAdjuster
instances for use during HLS playbacks.
-
-
Constructor Summary
Constructors Constructor Description TimestampAdjusterProvider()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TimestampAdjuster
getAdjuster(int discontinuitySequence)
Deprecated.Returns aTimestampAdjuster
suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.void
reset()
Deprecated.Resets the provider.
-
-
-
Method Detail
-
getAdjuster
public TimestampAdjuster getAdjuster(int discontinuitySequence)
Deprecated.Returns aTimestampAdjuster
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.
-
-