TimestampAdjusterProvider


@UnstableApi
class TimestampAdjusterProvider


Provides TimestampAdjuster instances for use during HLS playbacks.

Summary

Public constructors

Public functions

TimestampAdjuster!
getAdjuster(discontinuitySequence: Int)

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

Unit

Resets the provider.

Public constructors

TimestampAdjusterProvider

TimestampAdjusterProvider()

Public functions

getAdjuster

fun getAdjuster(discontinuitySequence: Int): TimestampAdjuster!

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

Parameters
discontinuitySequence: Int

The chunk's discontinuity sequence.

reset

fun reset(): Unit

Resets the provider.