Shaka Player either hangs or crashes at the point where our ClearKey stream switches

:backhand_index_pointing_right: Bug Description


1. Summary

Playback suddenly stack and app crush using MPEG-DASH dynamic ClearKey stream.
It only reproduce by Vega with ShakaPlayer, not browser.

App Name:
App Link on Amazon Appstore ABEMA - App on Amazon Appstore

Bug Severity
Select one that applies

  • Impacts operation of app

  • Blocks current development

  • Improvement suggestion

  • Issue with documentation (If selected, please share the doc link and describe the issue)

  • Other

2. Steps to Reproduce

  1. Create app by Play adaptive content (HLS/DASH) with Shaka Player | Design and Develop Vega Apps

  2. Use our stream.

3. Observed Behavior

Crashes or hangs occur at the point where the stream switches, accompanied by a specific log message. Although the log suggests a codec-related issue, there is too little information available, making it difficult to debug.

4. Expected Behavior

Playback normally.

4.a Possible Root Cause & Temporary Workaround

N/A

5. Logs or crash report

Either  mp4a  is not a supported audio codec or its a video codec. Returning false

6. Environment

  • SDK Version: 0.22.5600

  • App State: [Foreground]

  • OS Information

    NAME="OS"
    OE_VERSION="4.0.0"
    OS_MAJOR_VERSION="1"
    OS_MINOR_VERSION="1"
    RELEASE_ID="14"
    OS_VERSION="1.1"
    BRANCH_CODE="TV Ship day60"
    BUILD_DESC="OS 1.1 (TV Ship day60/90)"
    BUILD_FINGERPRINT="4.0.211542.0(3072cab629675a74)/90N:user-external/release-keys"
    BUILD_VARIANT="user-external"
    BUILD_TAGS="release-keys"
    BUILD_DATE="Mon Jan 19 21:04:32 UTC 2026"
    BUILD_TIMESTAMP="1768856672"
    VERSION_NUMBER="1401010009050"
    
    

7. Example Code Snippet / Screenshots / Screengrabs

https://developer.amazon.com/docs/kepler-tv/media-player-shaka-player.html


:backhand_index_pointing_right: Playback Issues



pre-conditions: Stream access have a geo restriction. Only Japan.


Please share the following details in addition:_

  • Player SDK: [Shaka]

  • Player SDK Version: [4.8.5-r1.5]

    • Audio Codecs: [MPEG-4 AC-LC]

    • Video Codecs: [AVC]

    • Manifest Types: [dash]

Q: If applicable, please provide your media/content url
If this is created dynamically, tokenized, etc please provide a way for us to access it

I have already sent playback url to amazon staff.

Q: Are there any special headers required to reproduce the issue you are facing?

N/A

Hi @nagai_kazuki,

Thank you for the detailed bug report on the Shaka Player crash/hang issue with your MPEG-DASH dynamic ClearKey stream.

Our team is investigating the problem where playback crashes or hangs at stream switch points, particularly the codec-related error you’ve identified: “Either mp4a is not a supported audio codec or its a video codec.”

This level of detail is extremely helpful for our investigation. We’ll provide an update as soon as we have more information about the root cause and potential resolution.

Thanks for helping us improve the Vega platform.

Warm regards,
Aishwarya