Multi-audio support
This release includes the support for multi-audio VOD and bugfixes related to high availability setups with Redis as a shared session store.
Enabling Multi Audio support
LIMITATIONS: At the moment, only supported for assets with matching audio track GROUP-IDs. Assets with different GROUP-IDs on their tracks will not be loaded correctly when transitioning between them, resulting in buffer errors. (This will be fixed).
To support playing assets with multiple audio tracks, a list of supported languages needs to be pre-defined. Assign to the audioTracks property, in the return object for the channel manager class's getChannels() function, a list of objects in the following format
{
language: { type: string } ,
name: { type: string },
default: { type: bool } // optional
}
Example value for audioTracks:
audioTracks = [ { language: "en", name: "English", default: true }, { language: "es", name: "Español" } ];
NOTE: In the case where an asset does not have a track in a language found in the pre-defined list, then the asset's default track will be played in its place.
Find a simplistic reference implementation for guidance about using demuxed VODs in ./server-demux.js.