Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ClearKey] DASH playback supports CBCS? #2061

Open
isaacchiang-kkstream opened this issue Jan 21, 2025 · 1 comment
Open

[ClearKey] DASH playback supports CBCS? #2061

isaacchiang-kkstream opened this issue Jan 21, 2025 · 1 comment
Assignees
Labels

Comments

@isaacchiang-kkstream
Copy link

Hi,

We are using media3 (1.4.1) to play ClearKey’s CMAF videos. Since we want to be compatible with iOS AVPlayer (ClearKey + cbcs supported only), the CMAF test videos all use ClearKey + cbcs, but on media3 we find that an error occurs

Failed on decrypt, error description:Status(-8, EX_SERVICE_SPECIFIC): '4: {"cdmError":4,"errorMessage":"selected encryption mode is not supported by the ClearKey DRM Plugin"}

, and cannot be played normally. The official description only supports ClearKey + cenc.

I would like to ask if media3 will support CBCS in the future?

Test steps:

  1. Use the "demo" project of media3 version 1.4.1
  2. Add below two test contents in json file
     {
        "name": "video-dev CBCS",
        "uri": "https://refapp.hbbtv.org/videos/00_llama_h264_v9/cbcs/manifest_ckcenc_1080p.mpd",
        "drm_scheme": "clearkey",
        "drm_license_uri": "https://refapp.hbbtv.org/videos/laurl_ck.php?kid=1236"
      },
      {
        "name": "video-dev CENC",
        "uri": "https://refapp.hbbtv.org/videos/00_llama_h264_v9/cenc/manifest_ckcenc_1080p.mpd",
        "drm_scheme": "clearkey",
        "drm_license_uri": "https://refapp.hbbtv.org/videos/laurl_ck.php?kid=1236"
      }
  1. Run the demo app and check the playback. CENC worked, but CBCS failed.

Test device

Pixel 9 Pro, Android OS 15

@tonihei
Copy link
Collaborator

tonihei commented Jan 24, 2025

This is a limitation of the underlying DRM system in the Android platform. Please see the discussion here: google/ExoPlayer#7945. ExoPlayer can't add support as long as the platform doesn't support it.

@tonihei tonihei self-assigned this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants