mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-23 17:27:16 +03:00
820a6a19c9
Microsoft HLS packaging tools generate audio-only variants in an odd way; specifically, the variants have an AUDIO tag despite being audio-only, and thus double-link to the stream. Previously, the way we detected stream type lead to us assigning one version of the audio stream to audio and one to video, thus erroneously making those variants appear to be video+audio variants. This makes it so that, if the AUDIO tag has the same content URI as the base stream, it only uses the version in the AUDIO tag. Change-Id: Ie940970587e95a9020ed67589042008d0568e153