Skip to main content

Module timing

Module timing 

Source
Expand description

Pure time arithmetic: UTC clock, HTTP Date, availability, live edge and PeriodStart. Nothing in this module reads a clock; every function takes the instants it needs as arguments. The xs:dateTime, NTP and UTCTiming readers live in broadcast_dash::xs_datetime and broadcast_dash::utc_timing and are re-exported here.

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) and NTP timestamp readers.
http_date
HTTP Date and Retry-After date readers (RFC 9110 §5.6.7).
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
The client-measured clock sample and the UTCTiming readers over it.

Enums§

TimingError
Why a clock sample could not be built.