Disable flawed pssh verification to for compatibility with more services

This commit is contained in:
Ingan121
2025-10-22 15:14:51 +09:00
parent 3d18c45c60
commit e47e912a03

View File

@@ -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
}
}