We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a581a commit 7afeaebCopy full SHA for 7afeaeb
extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/spoof/SpoofVideoStreamsPatch.java
@@ -29,7 +29,11 @@ public boolean isAvailable() {
29
public static void setClientOrderToUse() {
30
ClientType client = Settings.SPOOF_VIDEO_STREAMS_CLIENT_TYPE.get();
31
32
- if (client == ANDROID_VR_1_43_32 && Settings.SPOOF_VIDEO_STREAMS_AV1.get()) {
+ // Use VR 1.61 client that has AV1 if user settings allow it.
33
+ // AVC cannot be forced with VR 1.61 because it uses VP9 and AV1.
34
+ // If both settings are on, then force AVC takes priority and VR 1.43 is used.
35
+ if (client == ANDROID_VR_1_43_32 && Settings.SPOOF_VIDEO_STREAMS_AV1.get()
36
+ && !Settings.FORCE_AVC_CODEC.get()) {
37
client = ANDROID_VR_1_61_48;
38
}
39
0 commit comments