fix(YouTube - Spoof streaming data): Skip response encryption in OnesiePlayerRequest https://github.com/ReVanced/revanced-patches/pull/4521

This commit is contained in:
inotia00
2025-03-06 12:02:58 +09:00
parent 1cfe69ab47
commit 00ff1b5ec5
3 changed files with 37 additions and 1 deletions

View File

@ -106,4 +106,18 @@ public class BlockRequestPatch {
return initPlaybackRequestUri;
}
/**
* Injection point.
* Skip response encryption in OnesiePlayerRequest.
*/
public static boolean skipResponseEncryption(boolean original) {
Logger.printDebug(() -> "response Encryption: " + original);
if (BLOCK_REQUEST) {
return false;
}
return original;
}
}