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