Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix SEGMENT HEAD requests, compatibility with Cast SDK (#7851)
The Cast SDK currently assumes that SEGMENT response objects always have data, however this stopped being true for HEAD requests in v4.3.6. This PR fixes the behavior of the Fetch plugin so that HEAD requests will at least have an empty ArrayBuffer for data, as they did in v4.3.5 and earlier. The Cast SDK will also receive a fix to stop assuming this, fixing compatibility with v4.3.6+ - v4.12.6. This incompatibility between the current Cast SDK and these versions of Shaka Player is only triggered by HLS content whose segment URLs have no recognizable extension. Affected Shaka Player versions: - v4.3.6 - v4.3.16 - v4.4.x - v4.8.x - v4.9.0 - v4.9.34 - v4.9.2-caf - v4.9.2-caf4 - v4.10.x - v4.11.0 - v4.11.18 - v4.12.0 - v4.12.6 Affected Cast Web Receiver SDK versions: - <= 3.0.0137 Fixes will be in: - v4.9.35+ - v4.9.2-caf5+ - v4.11.19+ - v4.12.7+ - v4.13.0+ Closes #7600
- Loading branch information