Skip to main content

Module timing

Module timing 

Source
Expand description

Pure time arithmetic: UTC clock, xs:dateTime, UTCTiming, availability, live edge and PeriodStart. Nothing in this module reads a clock; every function takes the instants it needs as arguments.

Modules§

availability
Segment availability arithmetic for dynamic MPDs (ISO/IEC 23009-1 5.3.9.5.3; DASH-IF IOP v4.3 4.3.3.2). Integer microseconds in i128, so no input can wrap.
clock
The UTC clock: an anchor pair mapping the caller’s monotonic microseconds to UTC, with a trust-ordered replacement rule.
datetime
xs:dateTime (accepted subset), HTTP Date and NTP timestamp readers.
live_edge
Live edge, presentation delay and join (ISO/IEC 23009-1 5.3.9.5.3, A.2 step 4; DASH-IF IOP v4.3 4.3.3.2.2 and 4.3.4).
period
PeriodStart derivation and Period kinds (ISO/IEC 23009-1 5.3.2.1).
utc_timing
UTCTiming schemes and the client-measured clock sample.

Enums§

TimingError
Why a clock sample could not be built.