public final class TimestampAdjusterProvider
extends java.lang.Object
TimestampAdjuster
instances for use during HLS playbacks.Constructor and Description |
---|
TimestampAdjusterProvider() |
Modifier and Type | Method and Description |
---|---|
com.google.android.exoplayer2.util.TimestampAdjuster |
getAdjuster(int discontinuitySequence)
Returns a
TimestampAdjuster suitable for adjusting the pts timestamps contained in
a chunk with a given discontinuity sequence. |
void |
reset()
Resets the provider.
|
public com.google.android.exoplayer2.util.TimestampAdjuster getAdjuster(int discontinuitySequence)
TimestampAdjuster
suitable for adjusting the pts timestamps contained in
a chunk with a given discontinuity sequence.discontinuitySequence
- The chunk's discontinuity sequence.TimestampAdjuster
.public void reset()