Unable to play DRM content on ShakaPlayer


:backhand_index_pointing_right: Bug Description


1. Summary

Playback does’nt start correctly DRM media with L1 video and L3 audio after updated Kepler OS.
Performing a seek operation may cause the video to start playing, but audio is keep muted or sometimes sounds single noises.

App Name:
App Link on Amazon Appstore (found through Developer Console → Actions column in App List → View on Amazon.com):

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. Play any drm media.

3. Observed Behavior

  • Video decoding seems to be fine but playback doesn’t started
  • Audio decoding seems to failed; device log shows me decrypt error [ERROR:cdm/src/cdm.cpp(1323):decrypt] Decrypt error: 178

4. Expected Behavior

Start playback correctly

4.a Possible Root Cause & Temporary Workaround

Use Widevine L3 source instead L1 media.

5. Logs or crash report

Already provided via Amazon Contact.

6. Environment

Please fill out the fields related to your bug below:

  • SDK Version: 0.20.3207
  • App State: Foreground
  • OS Information
    NAME="OS"
    OE_VERSION="4.0.0"
    OS_MAJOR_VERSION="1"
    OS_MINOR_VERSION="1"
    RELEASE_ID="2"
    OS_VERSION="1.1"
    BRANCH_CODE="VegaMainlineTvIntegration"
    BUILD_DESC="OS 1.1 (VegaMainlineTvIntegration/4410)"
    BUILD_FINGERPRINT="4.0.146129.0(3072cab629675a74)/4410N:user-external/release-keys"
    BUILD_VARIANT="user-external"
    BUILD_TAGS="release-keys"
    BUILD_DATE="Mon Aug 11 19:35:31 UTC 2025"
    BUILD_TIMESTAMP="1754940931"
    VERSION_NUMBER="201010441050"
    

7. Example Code Snippet / Screenshots / Screengrabs

We are using these ShakaPlayer Config:

"drm": {
  "retryParameters": {
    "maxAttempts": 2,
    "baseDelay": 1000,
    "backoffFactor": 2,
    "fuzzFactor": 0.5,
    "timeout": 30000,
    "stallTimeout": 5000,
    "connectionTimeout": 10000
  },
  "servers": {
    "com.widevine.alpha": "https://bees.streaks.jp/spod-stg/a82f6bc6740b467bb256452378ee1e20/cenc/?specConform=true&token=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiJmYjA4ZDUwNWY3OWY0ZWYxYTFlMmI0ZTlmZWYyN2IyMSIsIm0iOiJzcG9kLXN0ZyIsInRzIjoxNzU1MDUyNTY1LCJrIjoiNmQ1ZTBjNWEzZjkxNDE3NWFiMDI3MjRhNWIwZWJlYTkiLCJhaWQiOiJjb250ZW50X2lkIiwicHAiOiI5Mjc4YmFmOWEyN2Q0OWM1OTFjOGU1YjAzNmJiZDJlOSJ9.evEN9RCS5xKRGUpd1sv9Jd7fnzV0M4jzBGH076ZU3tciE6x4WUMLWCmy9c8Pc1tsp0CSJJNrbdRD96onfN-9MA"
  },
  "clearKeys": {},
  "advanced": {
    "com.widevine.alpha": {
      "distinctiveIdentifierRequired": false,
      "persistentStateRequired": false,
      "videoRobustness": "HW_SECURE_ALL",
      "audioRobustness": "SW_SECURE_DECODE",
      "sessionType": "",
      "serverCertificate": {},
      "serverCertificateUri": "https://bees.streaks.jp/spod-stg/widevine/cert/6d5e0c5a3f914175ab02724a5b0ebea9",
      "individualizationServer": ""
    }
  },
  "delayLicenseRequestUntilPlayed": false,
  "persistentSessionOnlinePlayback": false,
  "persistentSessionsMetadata": [],
  "logLicenseExchange": false,
  "updateExpirationTime": 1,
  "preferredKeySystems": [
    "com.widevine.alpha"
  ],
  "keySystemsMapping": {},
  "parseInbandPsshEnabled": false,
  "minHdcpVersion": "",
  "ignoreDuplicateInitData": true
},

:backhand_index_pointing_right: Playback Issues


  • Player SDK: Shaka
  • Player SDK Version: v4.6.18-26-g27b767c4c
    • Audio Codecs: mp4 (aac)
    • Video Codecs: mp4 (H.264)
    • Manifest Types: mpd

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

N

Additionally please provide the following if possible
Provide Screenshots / Screengrabs / Logs. Please include as much information as you can that will help debug.


:backhand_index_pointing_right: Additional Context


Any Additional Context you would like to provide?

We could not reproduce this issue on Kepler Sample App. This happen only our apps, so we also thinking about some drm config is wrong.

This issue did not occur in previous versions of Kepler OS. The issue does not occur when running the problematic VPKG on devices that have not been updated.

Hi @dai.matsumoto ,

Thank you for reporting the issue.
This has been reported to our internal team.

Thanks,
Rohit

Amazon contacts mentioned me individually that possibly server config is wrong.

This fixed after check server configuration and modify.
Seems to server was sending L1-audio.

Thank you for investigating the logs.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.