Before you continue
(Please review the troubleshooting documentation as instructed)
Bug Description
1. Summary
Request to upgrade Shaka Player for Vega due to Content Steering failure in v4.8.5-r1.2
The current Shaka Player version provided for Vega (v4.8.5-r1.2) fails to perform Content Steering failover when the primary CDN encounters a server error (500). We have verified that this issue is resolved in Shaka Player v4.16.12 (upstream web version). We request an updated package based on v4.16.12 or later to resolve this issue.
Bug Severity
Impacts operation of app
2. Steps to Reproduce
- Launch the Vega app integrated with Shaka Player v4.8.5-r1.2.
- Start playback of a stream that utilizes Content Steering (with Primary and Backup pathways defined).
- Use Charles Proxy to intercept network traffic.
- Confirm the player is requesting segments from the Primary CDN.
- Enable the “Rewrite” (or Map Remote) tool in Charles to force a 500 Internal Server Error response for requests to the Primary CDN.
- Observe the player’s behavior.
3. Observed Behavior
The player does not switch to the Backup CDN defined in the Content Steering manifest. Instead, playback stalls or throws a fatal error after retrying the failed Primary CDN.
4. Expected Behavior
Upon receiving 500 errors from the Primary CDN, the player’s Content Steering logic should trigger a failover and automatically switch requests to the Backup CDN (Pathway) to continue playback seamlessly.
4.a Possible Root Cause & Temporary Workaround
- Root Cause: This appears to be a bug in the older Shaka Player v4.8 core logic.
- Verification: We tested the exact same stream and conditions using Shaka Player v4.16.12 on a standard web browser. In v4.16.12, the failover to the Backup CDN works correctly immediately after the 500 error simulation.
- Workaround: None available in the current Vega package (v4.8.5-r1.2).
5. Logs or crash report
N/A
6. Environment
SDK Version: N/A
App State: Foreground
OS Information: N/A
7. Example Code Snippet / Screenshots / Screengrabs
N/A (Issue is internal to the Shaka Player package provided by Vega)
Playback Issues
Player SDK: Shaka Player (Vega package)
Player SDK Version: 4.8.5-r1.2
Audio Codecs: N/A
Video Codecs: N/A
Manifest Types: HLS/DASH with Content Steering
Q: If applicable, please provide your media/content url
N/A
Q: Are there any special headers required to reproduce the issue you are facing?
N/A
Additionally please provide the following if possible
See “Steps to Reproduce” for Charles Proxy setup details.
Additional Context
Comparison Test Results:
- Shaka Player v4.8.5 (Vega Package): FAIL (Content Steering failover does not work).
- Shaka Player v4.16.12 (Web Upstream): PASS (Content Steering failover works correctly).
We strongly request Amazon to release a newer version of the Shaka Player package (v4.16+) for Vega to support stable Content Steering functionality.