mirror of
https://github.com/Ingan121/Vineless.git
synced 2026-04-02 02:29:45 +00:00
Disable flawed pssh verification to for compatibility with more services
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user