Extends the basic URI type with properties specific to DASH streaming, offering enhanced control over the availability and access of content.

According to ISO_IEC 23009-1_2022 - 5.6.5 Alternative base URLs If alternative base URLs are provided through the BaseURL element at any level, identical Segments shall be accessible at multiple locations. In the absence of other criteria, the DASH Client may use the first BaseURL element as "base URI". The DASH Client may use base URLs provided in the BaseURL element as "base URI" and may implement any suitable algorithm to determine which URLs it uses for requests. If a BaseURL element containing an absolute URL is present on any level, it overwrites any BaseURL information present on a higher level.

interface BaseURLType {
    _content: string;
    availabilityTimeComplete?: boolean;
    availabilityTimeOffset?: number;
    byteRange?: string;
    serviceLocation?: string;
}

Hierarchy (view full)

Properties

_content: string
availabilityTimeComplete?: boolean

Indicates whether the content pointed to by this BaseURL is completely available at the time of the request.

availabilityTimeOffset?: number

Specifies a time offset, in seconds, that should be considered for the content's availability start time.

If the value is present in SegmentBase then this attribute is additive to the one in SegmentBase.

byteRange?: string

If present, specifies HTTP partial GET requests may alternatively be issued by adding the byte range into a regular HTTP-URL based on the value of this attribute and the construction rules in E.2. If not present, HTTP partial GET requests may not be converted into regular GET requests.

Substitution tokens: $$ - escape sequence for $ $base$ - The identifier shall be substituted by the scheme of the original URL. $query$ - The identifier shall be substituted by the query part of the original URL. $first$ - The identifier shall be substituted by the byte offset of the first byte in a range. $last$ The identifier is substituted by the byte offset of the last byte in the range.

Not supported - No clients are currently supported that do not support range requests.

serviceLocation?: string

This attribute specifies a relationship between Base URLs such that BaseURL elements with the same serviceLocation value are likely to have their URLs resolve to services at a common network location, for example a common Content Delivery Network. If not present, no relationship to any other Base URL is known.