Class: shaka.offline.StoredContentUtils

Constructor

new StoredContentUtils()

Source:

Methods

fromManifest(originalUri, manifest, size, metadatanon-null) → {shaka.extern.StoredContent}

Parameters:
Name Type Description
originalUri string
manifest shaka.extern.Manifest
size number
metadata Object
Source:
Returns:
Type
shaka.extern.StoredContent

fromManifestDB(offlineUrinon-null, manifestDB) → {shaka.extern.StoredContent}

Parameters:
Name Type Description
offlineUri shaka.offline.OfflineUri
manifestDB shaka.extern.ManifestDB
Source:
Returns:
Type
shaka.extern.StoredContent

getTracks_(manifest) → {Array.<shaka.extern.Track>}

Gets track representations of all playable variants and all text streams.
Parameters:
Name Type Description
manifest shaka.extern.Manifest
Source:
Returns:
Type
Array.<shaka.extern.Track>