Expand description
PeriodStart derivation and Period kinds (ISO/IEC 23009-1 5.3.2.1).
The five rules are a plain list in the standard, evaluated here per Period in document order:
@startpresent: PeriodStart =@start.@startabsent, previous Period has@duration: previous start plus previous duration.@startabsent, first Period of a static MPD: 0.@startabsent, first Period or previous without@duration, dynamic MPD: Early Available Period (no PeriodStart yet).@durationpresent and (the next Period has@startorMPD@minimumUpdatePeriodexists): Early Terminated Period.
Structs§
- Period
Timing - A Period’s place on the presentation timeline.
Enums§
- Period
Kind - 5.3.2.1 Period kind.
Functions§
- duration_
us - Duration to microseconds.
- period_
timings - Derive the timing of every Period of
mpd, in document order.