mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
7941703c5a
If an HLS stream has no provided codec information in its manifest, we previously defaulted to providing a best-guess video and audio codec. This, however, caused problems for video-only and audio-only streams; Chrome does not like it if an audio codec is provided for a stream with no audio at all, for example, and fails to append the chunks. This modifies the HLS parser to not provide a default video codec if the 'disableVideo' config is set, and similarly to not provide a default audio codec if 'disableAudio' is set. Issue #2868 Change-Id: I7826fdb69f2e5290914ed2c0d1e109f9db94f80d