mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
9692dc080d
To support encrypted, multi-period live streams, you must initialize the CDM whenever there is a license server config, without regard for whether or not there is encryption signalled in a manifest. If you join the stream during a clear ad, and there isn't enough rewind allowed to see any encrypted periods at the time you join, the manifest may not indicate encryption. If we start playback without setting up decryption, we would fail later when an encrypted period appeared. This issue affected releases v3.0.0 - v3.0.5. Fixes #2979 Fixes #2645 Change-Id: Ic7ddcf46843178e6a3ce0b1d663da40dc9f4be8f