Back to Exoplayer

TimestampAdjusterProvider (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/hls/TimestampAdjusterProvider.html

latest2.8 KB
Original Source

Package com.google.android.exoplayer2.source.hls

Class TimestampAdjusterProvider

  • java.lang.Object

    • com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider

[@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.

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 a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence. | | void | reset() | Deprecated.

Resets the provider. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

- 

TimestampAdjusterProvider

public TimestampAdjusterProvider()

Deprecated.

Method Detail

- 

getAdjuster

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.

- 

reset

public void reset()

Deprecated.

Resets the provider.