Setting the Default Audio Track
Was this article helpful?
How the Ooyala Player Selects Default Audio Track
The Ooyala Player (for both Web and SDKs) selects the audio track based on a variety of settings, in a specific priority order. Since the default track can be set in a variety of ways, the order of priority must also be understood.
Ooyala Web PlayerDefault Audio Selection
In the order of highest priority to lowest priority:
- Page level / app level param. This is a deliberate setting from the customer to lock the default setting.
- Skin.json setting. Same as above. Note: #1 and #2 should have the following values:
- none. This is the default setting. This means that there is no manual setting from the page/app level. Audio selection should be decided by the priorities below.
- specified language or trackID.
- browser or OS or platform setting. Detect the language setting from
the parent of the container.
- If the selection does not exist on the manifest, the selection should be decided by the priorities below.
- If the selection contains multiple of the same kind (i.e. multiple of same languageCode), choose the first available.
- Back-end API: ContentTree, i.e: custom metadata key value pair from backlot that decides the default audio
- In-Manifest default setting. This may apply only to HLS version 4 that has the
“default” attribute on audio track. Dash may not have this setting. This
requires Bitmovin, AVPlayer and Exoplayer to report and/or to default to that
attribute.Note: The Ooyala Web Player does not currently support setting the default language in the HLS manifest.
- The first audio in the track list. Choose the audio listed first.
Same as web.Android SDK
Same as web.Amazon Fire TV
Not supported in initial release.TVoS
Not supported in initial release.