added hidive annotations because of missing playready support

This commit is contained in:
stratumadev 2024-12-07 03:48:17 +01:00
parent 5823df181d
commit 50188c6d1f

View file

@ -764,6 +764,7 @@ export default class Hidive implements ServiceClass {
console.info(`Selected (Available) Audio Languages: ${chosenAudios.map(a => a.language.name).join(', ')}`);
console.info('Stream URL:', chosenVideoSegments.segments[0].map.uri.split('/init.mp4')[0]);
// Only Widevine supported and tested, Hidive Playready support needs to be checked first
if (chosenAudios[0].pssh_wvd || chosenVideoSegments.pssh_wvd) {
encryptionKeys = await getKeysWVD(chosenVideoSegments.pssh_wvd, 'https://shield-drm.imggaming.com/api/v2/license', {
'Authorization': `Bearer ${selectedEpisode.jwtToken}`,