Skip to main content

Module urls

Module urls 

Source
Expand description

BaseURL alternates and URL resolution (ISO/IEC 23009-1 5.6).

Resolution is RFC 3986 5.2 through transmux::resolve_base_url_chain (which also rejects control characters), never string concatenation (5.6.4 informative note). Alternates (5.6.5) are ordered by DVB @priority (ETSI TS 103 285 10.8.2.1, default 1) then document order; @weight is parsed but not used, because weighted random choice needs a random source and this core is deterministic.

Structs§

BaseCandidate
One way of reaching the content: a chain of BaseURL texts, one per level that declared any, outermost first.
UrlQueryNotUnderstood
The urn:mpeg:dash:urlparam:2014 query of a Representation was written in a form this core does not interpret.

Constants§

DEFAULT_BASE_PRIORITY
ETSI TS 103 285 10.8.2.1: the @dvb:priority default.

Functions§

append_query
Append query to url: ? when it has none, & when it has one (Annex I.2.3 step 4).
base_candidates
The candidate locations for the levels of base URLs (MPD, Period, AdaptationSet, Representation; a level without BaseURL is skipped), best first. Candidates sharing a @serviceLocation pair up across levels; otherwise a level’s alternates extend the best candidate above.
representation_candidates
The candidates for one Representation.
segment_url_query
The query to append to every Media Segment URL of rep (Annex I.2.3): Representation level, then AdaptationSet, Period, MPD, joined with &.