-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
With an MPD that contains an audio adaptation set where there are two representations, each with a different codec, the player can play each of the representations by itself, but cannot switch from one to the other. I suspect that it doesn't reset the audio decoder, so feeding one elementary stream into a session setup with a different codec is likely to cause trouble.
The DASH spec doesn't prohibit mixing codecs in the same adaptation set, and it would seem like the right thing to do if you want to offer a stream with a choice of AAC or EAC-3 (better than having two adaptation sets, one for each codec).
Here's an example:
http://www.bok.net/tmp/dash/dual_codec/stream_aac.mpd
the same data with just the AAC codec:
http://www.bok.net/tmp/dash/dual_codec/stream.mpd
and with just the EAC-3 codec (plays fine on Safari on El Capitan)
http://www.bok.net/tmp/dash/dual_codec/stream_ec3.mpd