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§
- Base
Candidate - One way of reaching the content: a chain of
BaseURLtexts, one per level that declared any, outermost first. - UrlQuery
NotUnderstood - The
urn:mpeg:dash:urlparam:2014query 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:prioritydefault.
Functions§
- append_
query - Append
querytourl:?when it has none,&when it has one (Annex I.2.3 step 4). - base_
candidates - The candidate locations for the
levelsof base URLs (MPD, Period, AdaptationSet, Representation; a level withoutBaseURLis skipped), best first. Candidates sharing a@serviceLocationpair up across levels; otherwise a level’s alternates extend the best candidate above. - is_
unsupported_ urlparam - Whether
descriptoris the 2016 urlparam scheme (never understood). - 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&.