fixed wrong pssh using on hidive playready decryption

This commit is contained in:
stratumadev 2025-01-04 22:00:18 +01:00
parent ef06b5885f
commit b293e2ab95

View file

@ -771,7 +771,7 @@ export default class Hidive implements ServiceClass {
}
if (chosenAudios[0].pssh_prd && cdm === 'playready' || chosenVideoSegments.pssh_prd && cdm === 'playready') {
encryptionKeys = await getKeysPRD(chosenVideoSegments.pssh_wvd, 'https://shield-drm.imggaming.com/api/v2/license', {
encryptionKeys = await getKeysPRD(chosenVideoSegments.pssh_prd, 'https://shield-drm.imggaming.com/api/v2/license', {
'Authorization': `Bearer ${selectedEpisode.jwtToken}`,
'X-Drm-Info': 'eyJzeXN0ZW0iOiJjb20ubWljcm9zb2Z0LnBsYXlyZWFkeSJ9',
});