Parse online manifest to offline manifest
Methods
-
browsePeriods(currentMPD, representation)
-
Browse periods
Parameters:
Name Type Description currentMPDXML representationObject -
editBaseURLAttribute(currentMPD)
-
Update baseURL to point to local stored data P
Parameters:
Name Type Description currentMPDXML -
encodeManifest(DOM)
-
URL encode parsed manifest
Parameters:
Name Type Description DOMstring Returns:
Url encoded XML
- Type
- string
-
parse(XMLDoc, representation)
-
Parse XML manifest
Parameters:
Name Type Description XMLDocstring xml manifest
representationobject Returns:
a promise that will be resolved or rejected at the end of encoding process
- Type
- Promise