offsetToAvailabilityStartTime

Offset in seconds between the MPD's availabilityStartTime and the producer reference wall-clock time at the start of the MPD presentation timeline.

Depending on the ProducerReferenceTime@type, offsetToAvailabilityStartTime can be used to calculate either End-to-End Latency (EEL) or the Encoding+Distribution Latency (EDL).

Usage

val prftOffset = player.lowLatency.producerReferenceTimeInfo?.offsetToAvailabilityStartTime ?: 0.0
val endToEndLatency = player.lowLatency.latency + prftOffset