Skip to main content

Module config

Module config 

Source
Expand description

DashConfig: the DASH-specific knobs of a client session.

docs/dash-runtime/DESIGN.md 6.4 (fields and defaults), 3.2-3.4 (clock ladder), 5.2 (refresh floor), 5.4 (early-request cadence), D9 (LL-DASH) and 10.2 R3 (cross-origin restriction). Pure data: nothing here reads a clock. Every duration is in microseconds. A value of u64::MAX is accepted wherever zero is not: consumers combine these with saturating arithmetic, so MAX reads as “never” or “unbounded” rather than overflowing.

Structs§

DashConfig
DASH-specific configuration. The knobs shared with every segment-pull source (redirects, headers, cookies, backoff, in-flight window, body caps, playout, timeline-jump detection) stay on the session’s own config.
DashConfigError
A DashConfig field no client can run with.
PullLimits
The knobs every segment-pull source shares (DESIGN 6.4, “shared with HLS”): the session owns them in its own config and passes them in; they are deliberately not part of DashConfig.
PullLimitsError
A rejected PullLimits.

Enums§

DashClockPolicy
Which clock source the ladder tries first for a dynamic MPD.

Constants§

DEFAULT_AVAILABILITY_MARGIN_US
Default margin added to a segment’s availability start before requesting it.
DEFAULT_EARLY_GRACE_US
Default window after a segment’s availability start in which a 404, 410 or 425 still means “too early” rather than “missing”.
DEFAULT_EARLY_RETRY_US
Default first retry delay for a segment requested before it exists.
DEFAULT_HOST_CLOCK_UNCERTAINTY_US
Default error bar reported for a host-supplied clock.
DEFAULT_MAX_INFLIGHT_SEGMENTS
Default number of segment requests kept outstanding at once.
DEFAULT_MAX_INIT_FAILURES
Default consecutive failures of one init or index resource before the presentation is given up on.
DEFAULT_MAX_SEGMENT_BYTES
Default bound on one fetched resource body (init, index or segment).
DEFAULT_MAX_SEGMENT_FAILURES
Default consecutive failures of one segment before it is given up on.
DEFAULT_MIN_MPD_REFRESH_US
Default floor under the MPD refresh interval.
DEFAULT_UTC_MAX_RTT_US
Default longest round trip a UTCTiming sample may have and still be used.
DEFAULT_UTC_RESYNC_US
Default age after which a same-source clock anchor is replaced.
DEFAULT_UTC_TIMEOUT_US
Default time one UTCTiming request may take.
DEFAULT_UTC_WAIT_US
Default total wait for a UTCTiming sample before the clock ladder falls through to the next source.