toPlayready
fun toPlayready(laUrl: String? = null, luiUrl: String? = null, dsId: ByteArray? = null, decryptorSetup: String? = null, customData: String? = null)
Convert a Widevine PSSH to a PlayReady v4.3.0.0 PSSH. Optional LA_URL/LUI_URL/DS_ID/DECRYPTORSETUP/CUSTOMDATA fields can be provided.
laUrl, luiUrl and decryptorSetup are XML-escaped. customData is not — the spec has the content author supply raw XML there, so it must already be valid.
Throws
if the resulting header exceeds the 65535-byte record limit