Playing back immersive audio
Finally, let's play immersive audio, but only when we know that the system is fully equipped for spatial audio.
We already know how to use dash.js to drop those AdaptationSets that cannot be decoded. We also learned how to figure out whether the system can render immersive audio; so we now need to put this together such that dash.js also drops immersive-audio AdaptationSets when they can't be decoded and rendered into an immersive experience. [1]
[1] We are leaving out some detail here. If dropping an
AdaptationSet leaves no audio to play, then it should not be dropped. dash.js is however not currently set up to prevent dropping the
last remaining AdaptationSet.