Class: shaka.offline.StoredContentUtils

Constructor

new StoredContentUtils()

Source:

Methods

(static) 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

(static) 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

(private, static) getTracks_(period) → (non-null) {Array.<shaka.extern.Track>}

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