Open Bug 1900626 Opened 1 year ago Updated 3 days ago

Firefox does not support ClearKey cdm on Android

Categories

(Core :: Audio/Video: Playback, defect, P3)

All
Android
defect

Tracking

()

People

(Reporter: craftspider23, Unassigned)

References

(Depends on 1 open bug, Blocks 5 open bugs)

Details

(Keywords: webcompat:platform-bug)

User Story

platform-scheduled:2025-07-01

Steps to reproduce:

go on this site:
https://www.gumlet.com/tools/browser-capabilities-checker

go to the "Encrypted Media Extensions support" category and search for "ClearKey".
In the "SUPPORTED" category it will be marked as "no".

This is a defect as it is supported on the windows version and the ios version.

Actual results:

Marked as no ( not supported )

Expected results:

Marked as yes ( be supported )

The severity field is not set for this bug.
:tthibaud, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tthibaud)

Alastor, do we have any plans for this?

Status: UNCONFIRMED → NEW
Component: Media → Audio/Video: Playback
Ever confirmed: true
Flags: needinfo?(tthibaud) → needinfo?(alwu)
Product: Fenix → Core
Version: Firefox 126 → Trunk

On Android we use MediaDRM, and it seems clearkey is supported. I will let John answer this question.

Flags: needinfo?(alwu) → needinfo?(jolin)
Summary: Firefox does not support ClearKey cdm → Firefox does not support ClearKey cdm on Android

In current implementation, only Widevine is supported. Kilik listed some reasons why clearkey wasn't supported using MediaDrm, but I think are mostly invalid now, except for

  1. InitDataType "keyids" is not supported by AOSP libdrmclearkeyplugin.so.

which needs further investigation.

Flags: needinfo?(jolin)
Severity: -- → S3
Duplicate of this bug: 1839189
Blocks: 1921715

As clearkey is listed as a mandatory key system in the spec, we should probably fix this either H2 this year, or H1 next year, change its priority.

Priority: -- → P2

This should not be prioritized as part of webcompat. ClearKey is largely used for testing purposes, it isn't leveraged by streaming web sites.

Flags: needinfo?(odvarko)
Flags: needinfo?(mreavy)

This appears to be a real issue and is blocking site report (bug 1921715, where the diagnosis indicates that it is using ClearKey)
If this is not the case, we should deprioritize the issue.

Dennis, could you please provide more details? Thank you!

Flags: needinfo?(odvarko)
Flags: needinfo?(mreavy)
Flags: needinfo?(dschubert)

Hey John, can we support this on Android?

Flags: needinfo?(jolin)

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #8)

Dennis, could you please provide more details? Thank you!

Yeah, it looks like eurosport.de uses this, according to that bug. I can't actually verify this - if Eurosport is using ClearKey and video playback is broken because of us not supporting it, then this is a valid WebCompat platform bug. If Eurosport is broken because of something else, we can remove the tracking here.

Flags: needinfo?(dschubert)
Blocks: clearkey
Priority: P2 → P3
User Story: (updated)
User Story: (updated)
User Story: (updated)
Depends on: 1970152

There are two ways to support ClearKey on Android:

  1. use Android system ClearKey plugin like what we did for Widevine L3 support.
  2. enable Gecko ClearKey CDM like desktop platforms do.

Bug 1267141 comment 13 pointed out some cons of 1. and I think some are already out of date now. However, the latest Android ClearKey plugin still support only cenc scheme but not cbcs, so it still doesn't work as well as Gecko ClearKey CDM. Chrome doesn't use Android implementation either.

Flags: needinfo?(jolin)

Per offline discussion, bug 1970152 will enable Android system ClearKey plugin and we'll check if there is any compatibility issues.

You need to log in before you can comment on or make changes to this bug.