Module: OfflineIndexDBManifestParser

Parse online manifest to offline manifest

Source:

Methods


browsePeriods(currentMPD, representation)

Browse periods

Parameters:
Name Type Description
currentMPD XML
representation Object
Source:

editBaseURLAttribute(currentMPD)

Update baseURL to point to local stored data P

Parameters:
Name Type Description
currentMPD XML
Source:

encodeManifest(DOM)

URL encode parsed manifest

Parameters:
Name Type Description
DOM string
Source:
Returns:

Url encoded XML

Type
string

parse(XMLDoc, representation)

Parse XML manifest

Parameters:
Name Type Description
XMLDoc string

xml manifest

representation object
Source:
Returns:

a promise that will be resolved or rejected at the end of encoding process

Type
Promise