Class: shaka.util.PlayerConfiguration

Constructor

new PlayerConfiguration()

Source:

Methods

defaultManifestPreprocessor(elementnon-null) → {Element}

Parameters:
Name Type Description
element Element
Source:
Returns:
Type
Element

defaultManifestPreprocessorTXml(elementnon-null) → {shaka.extern.xml.Node}

Parameters:
Name Type Description
element shaka.extern.xml.Node
Source:
Returns:
Type
shaka.extern.xml.Node

defaultTrackSelect(tracksnon-null, preferredAudioLanguage, preferredVideoHdrLevel) → {Array.<shaka.extern.Track>}

Parameters:
Name Type Description
tracks Array.<shaka.extern.Track>
preferredAudioLanguage string
preferredVideoHdrLevel string
Source:
Returns:
Type
Array.<shaka.extern.Track>

mergeConfigObjects(destination, updatesnon-null, templateopt) → {boolean}

Merges the given configuration changes into the given destination. This uses the default Player configurations as the template.
Parameters:
Name Type Attributes Description
destination shaka.extern.PlayerConfiguration
updates Object
template shaka.extern.PlayerConfiguration <optional>
Source:
Returns:
Type
boolean