Skip to main content

Module limits

Module limits 

Source
Expand description

Hostile-input bounds the player adds on top of the manifest reader’s.

The document and element bounds are the manifest reader’s (broadcast_dash::limits::Limits); this module owns the ones that limit segment addressing and the BaseURL alternates a plan combines.

Structs§

Limits
The manifest reader’s hostile-input bounds, re-exported so a player’s configuration names one type. The bounds applied by crate::Mpd::parse_with; Default is the MAX_* constants above.

Constants§

MAX_BASE_CANDIDATES
Most candidate base locations kept when BaseURL alternates are combined across levels.
MAX_TIMELINE_SEGMENTS
Most Media Segments one SegmentTimeline may describe once @r is expanded. The expansion is lazy (run table, never one entry per segment), so this bounds the arithmetic, not the memory.