From e47e912a03ba201f28de6cd74f6e22707eddcd4c Mon Sep 17 00:00:00 2001 From: Ingan121 Date: Wed, 22 Oct 2025 15:14:51 +0900 Subject: [PATCH] Disable flawed pssh verification to for compatibility with more services --- src/lib/widevine/license.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/widevine/license.js b/src/lib/widevine/license.js index 7de3ae6..1030761 100644 --- a/src/lib/widevine/license.js +++ b/src/lib/widevine/license.js @@ -124,11 +124,6 @@ export class Session { throw new Error(`Invalid System ID in PSSH Box: ${uint8ArrayToHex(this._pssh.subarray(12, 28))}`) } } - - const pssh = this._parseWidevinePsshData(this._pssh) - if (!pssh) { - throw new Error("Invalid WidevinePsshData found") - } } const request_id = android ? this._generateAndroidIdentifier() : this._generateGenericIdentifier(); @@ -367,7 +362,8 @@ export class Session { _parseWidevinePsshData(pssh) { try { return WidevinePsshData.decode(pssh) - } catch { + } catch (e) { + console.warn("[Vineless]", "Failed to parse WidevinePsshData:", e); return null } }