mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-25 17:45:03 +03:00
3c0e9323dc
Speed up execution of `shaka.Player.probeSupport()` which tends to be super slow on Windows with HW DRM. Changes include several tweaks in DRM probing: - test only using `navigator.requestMediaKeySystemAccess()`, using MediaCapabilities as well was redundant - test HDCP only once - drop HDCP tests once we know some version is unsupported On Windows it speeds up execution from 20s to 0.7-1s.