docs/doc/reference/com/google/android/exoplayer2/source/hls/TimestampAdjusterProvider.html
Package com.google.android.exoplayer2.source.hls
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classTimestampAdjusterProviderextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
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.
Constructors | Constructor | Description |
| --- | --- |
| TimestampAdjusterProvider() |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| TimestampAdjuster | getAdjuster(int discontinuitySequence) |
Deprecated.
Returns a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.
|
| void | reset() |
Deprecated.
Resets the provider. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public TimestampAdjusterProvider()
Deprecated.
-
public[TimestampAdjuster](../../util/TimestampAdjuster.html "class in com.google.android.exoplayer2.util")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.
-
public void reset()
Deprecated.
Resets the provider.