TimestampAdjusterProvider


@UnstableApi
public final class TimestampAdjusterProvider


Provides TimestampAdjuster instances for use during HLS playbacks.

Summary

Public constructors

Public methods

TimestampAdjuster
getAdjuster(int discontinuitySequence)

Returns a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.

void

Resets the provider.

Public constructors

TimestampAdjusterProvider

public TimestampAdjusterProvider()

Public methods

getAdjuster

public TimestampAdjuster getAdjuster(int discontinuitySequence)

Returns a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.

Parameters
int discontinuitySequence

The chunk's discontinuity sequence.

reset

public void reset()

Resets the provider.