streივam სinfo emostly లాdone

This commit is contained in:
Reid 2025-04-22 23:40:21 -07:00
parent 237ec061d2
commit 4954f84a48
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
5 changed files with 193 additions and 139 deletions

View file

@ -24,8 +24,8 @@ export async function getWidevineDecryptionKey(psshDataUri: string, trackId: str
keyIds: [Buffer.from(dataUriToBuffer(psshDataUri).buffer).toString("hex")]
});
log.warn("pssh was invalid, treating it as raw data");
log.warn("this should not throw an error, unless the pssh data is invalid, too");
log.warn("pssh was invalid, treating it as raw data (this is expected in the webplayback manifest)");
log.warn("this should not throw an error, unless the pssh data is actually invalid");
pssh = Buffer.from(rebuiltPssh, "base64");
session = new Session({ privateKey, identifierBlob }, pssh);