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 3490 #3506

Merged
merged 4 commits into from
Jan 13, 2021
Merged

Fix 3490 #3506

merged 4 commits into from
Jan 13, 2021

Conversation

dsilhavy
Copy link
Collaborator

This PR aims to fix #3490

  • Move logic for initial key system selection (no keysystem selected yet) and handling of key system selection after MPD updates (keysystem has already been selected) to separate functions: _selectInitialKeySystem and _selectWithExistingKeySystem
  • Reduce mediaInfoArr to the latest mediaInfos for a specific stream id
  • _selectWithExistingKeySystem is only applied when init data has changed to avoid unnecessary calls to requestMediaKeySystemAccess

@dsilhavy dsilhavy added this to the 3.2.1 milestone Jan 11, 2021
@dsilhavy dsilhavy merged commit 072fbb4 into Dash-Industry-Forum:development Jan 13, 2021
@dsilhavy dsilhavy deleted the fix-3490 branch June 26, 2021 07:15
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.

Performance issue with mediaInfoArr arrays
2 participants