Skip to content

Fix 3490

Created by: dsilhavy

This PR aims to fix #3490 (closed)

  • 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

Merge request reports