Skip to content

Fix MediaKeys cleanup on player destroy and reuse (setMediaKeys(null)… #7287

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

robwalch
Copy link
Collaborator

This PR will...

  • Fix MediaKeys cleanup on player destroy and reuse
  • Address Uint8Array type parameter issues

Why is this Pull Request needed?

Ensures that setMediaKeys(null) is called on destroy before detaching.

Are there any points in the code the reviewer needs to double check?

Skipping setMediaKeys(null) may have regressed with #6966
cc @JackPu

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

… never called after #6966)

Address Uint8Array type parameter issues
@robwalch robwalch added this to the 1.6.3 milestone May 29, 2025
@robwalch robwalch merged commit f3884fa into master May 29, 2025
24 of 27 checks passed
@robwalch robwalch deleted the bugfix/eme-cdm-cleanup branch May 29, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant