Files
shaka-player/lib/drm
Álvaro Velad Galván 15c60221fe perf: Remove redundant base64/xml conversions in PlayReady (#9778)
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.
2026-03-03 07:45:11 +01:00
..