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

fix: Reject Opus encrypted on Firefox Android #6115

Merged
merged 2 commits into from Jan 18, 2024

Conversation

avelad
Copy link
Collaborator

@avelad avelad commented Jan 17, 2024

Fixes #6111

@avelad avelad added type: bug Something isn't working correctly browser: Firefox Issues affecting Firefox or Gecko derivatives platform: Android Issues affecting Android priority: P1 Big impact or workaround impractical; resolve before feature release labels Jan 17, 2024
@avelad avelad added this to the v5.0 milestone Jan 17, 2024
@@ -426,6 +429,13 @@ shaka.util.StreamUtils = class {

const audio = variant.audio;

if (isFirefoxAndroid && audio && audio.encrypted &&
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a comment explaining why we are filtering this. Maybe referencing #6111?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@avelad avelad merged commit e692d68 into shaka-project:main Jan 18, 2024
11 of 15 checks passed
@avelad avelad deleted the firefox-android-opus branch January 18, 2024 07:11
avelad added a commit that referenced this pull request Jan 18, 2024
avelad added a commit that referenced this pull request Jan 18, 2024
joeyparrish pushed a commit that referenced this pull request 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 this pull request may close these issues.

DRM videos fail to play on Firefox for Android
4 participants