From 9adbc66197e8342d3321dc77d151c648be65595b Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:03:34 +0300 Subject: [PATCH] fix(YouTube - Spoof client): Correctly play as background audio only with Android VR --- .../youtube/patches/spoof/SpoofClientPatch.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java index e6c1c1f8..2f62c45b 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java @@ -128,8 +128,14 @@ public class SpoofClientPatch { } private enum ClientType { + // Quest 1 + // https://dumps.tadiphone.dev/dumps/oculus/monterey + // Quest 3 // https://dumps.tadiphone.dev/dumps/oculus/eureka - ANDROID_VR(28, "Quest 3", "1.56.21"), + // + // Using 'Quest 3' client name breaks background audio only playback. + // But 'Quest' works without trouble. + ANDROID_VR(28, "Quest", "1.56.21"), // 11,4 = iPhone XS Max. // 16,2 = iPhone 15 Pro Max. // Since the 15 supports AV1 hardware decoding, only spoof that device if this