mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-24 17:35:10 +03:00
15c60221fe
Refactors PlayReady license URL extraction to operate directly on PRO bytes instead of performing a base64/XML roundtrip. Previously, getLicenseUrlFromPssh converted PRO bytes to base64, wrapped them in a synthetic XML node, parsed them, and then decoded them back to bytes before processing. This change removes the redundant conversions and makes the flow bytes-first. Both getLicenseUrl() and getLicenseUrlFromPssh() now delegate to a shared internal method that extracts the WRMHEADER directly from PRO bytes.