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

DRM videos fail to play on Firefox for Android #6111

Closed
wjywbs opened this issue Jan 16, 2024 · 6 comments · Fixed by #6115
Closed

DRM videos fail to play on Firefox for Android #6111

wjywbs opened this issue Jan 16, 2024 · 6 comments · Fixed by #6115
Labels
browser: Firefox Issues affecting Firefox or Gecko derivatives platform: Android Issues affecting Android priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@wjywbs
Copy link
Contributor

wjywbs commented Jan 16, 2024

Have you read the FAQ and checked for duplicate open issues?
Yes

If the problem is related to FairPlay, have you read the tutorial?
N/A

What version of Shaka Player are you using?
4.7.4

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
Not Tested

Are you using the demo app or your own custom app?
Demo

If custom app, can you reproduce the issue using our demo app?
N/A

What browser and OS are you using?
Firefox 121.1.0
Android 11
Pixel 2

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A

What are the manifest and license server URIs?
Sintel on https://shaka-player-demo.appspot.com/

What configuration are you using? What is the output of player.getConfiguration()?

What did you do?
Open https://shaka-player-demo.appspot.com/ on Firefox for Android, and play Sintel on the home page.

What did you expect to happen?
The video plays.

What actually happened?
The video fails to play.

MediaCapabilities: Native mediaCapabilities support found. [log.js:142:50](https://shaka-player-demo.appspot.com/lib/debug/log.js)
EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. [index.js:52:13](https://shaka-player-demo.appspot.com/node_modules/eme-encryption-scheme-polyfill/index.js)
McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. [index.js:255:13](https://shaka-player-demo.appspot.com/node_modules/eme-encryption-scheme-polyfill/index.js)
EmeEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support. [index.js:96:13](https://shaka-player-demo.appspot.com/node_modules/eme-encryption-scheme-polyfill/index.js)

Object { severity: 2, category: 7, code: 7003, handled: false, message: "Shaka Error PLAYER.OBJECT_DESTROYED ()"

Note that video.js can play this video.

@wjywbs wjywbs added the type: bug Something isn't working correctly label Jan 16, 2024
@avelad avelad added browser: Firefox Issues affecting Firefox or Gecko derivatives platform: Android Issues affecting Android labels Jan 16, 2024
@avelad avelad added this to the v5.0 milestone Jan 16, 2024
@avelad avelad added the priority: P1 Big impact or workaround impractical; resolve before feature release label Jan 16, 2024
@avelad
Copy link
Collaborator

avelad commented Jan 16, 2024

@wjywbs are you interested on send a PR to fix it?

@avelad
Copy link
Collaborator

avelad commented Jan 16, 2024

I can reproduce the error

@avelad
Copy link
Collaborator

avelad commented Jan 16, 2024

@wjywbs Can you try to disable streaming.allowMediaSourceRecoveries? Could you tell me the new result after that change.

@wjywbs
Copy link
Contributor Author

wjywbs commented Jan 16, 2024

The new error is Object { severity: 2, category: 3, code: 3016, message: "Shaka Error MEDIA.VIDEO_ERROR (3,,NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error creating decoder for audio/opus)".

video.js plays h264 and aac.

@avelad
Copy link
Collaborator

avelad commented Jan 16, 2024

Sintel works in the unencrypted version. So it seems that Firefox Android does not support Opus+Widevine correctly.

@wjywbs
Copy link
Contributor Author

wjywbs commented Jan 16, 2024

I found that when DRM config exists, such as player.configure({ drm: { servers: { 'com.widevine.alpha': 'anything' } } }), Non DRM videos such as https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8 can not play on Firefox Android either.

joeyparrish pushed a commit that referenced this issue Feb 17, 2024
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Mar 18, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
browser: Firefox Issues affecting Firefox or Gecko derivatives platform: Android Issues affecting Android priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants