Skip to content

Clean URIQueryAndFragmentModel

Created by: Gontran-Molotov

This PR provides a clean version of URIQueryAndFragmentModel.

Currently, URIQueryAndFragmentModel parses the URI of the attach manifest to detect if HTTPS is used, and extract data from the query string and the fragment part. However, only the fragment part is really used by dash.js.

This clean version removes the code parsing unused data. Only supported keys are extracted from the fragment part of the URI (t, xywh, track, id, s, r).

EDIT: by the way, I renamed this class to URIFragmentModel to better express its main purpose.

Merge request reports