From 47c4aca9373f0c68498a730734b675cd3c480ab6 Mon Sep 17 00:00:00 2001
From: inotia00 <108592928+inotia00@users.noreply.github.com>
Date: Fri, 8 Nov 2024 19:27:17 +0900
Subject: [PATCH] feat(YouTube/Spoof streaming data): add `iOS Compatibility
mode` setting
---
src/main/resources/youtube/settings/host/values/strings.xml | 5 +++++
src/main/resources/youtube/settings/xml/revanced_prefs.xml | 1 +
2 files changed, 6 insertions(+)
diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml
index 3a7c75ac5c..409b17e620 100644
--- a/src/main/resources/youtube/settings/host/values/strings.xml
+++ b/src/main/resources/youtube/settings/host/values/strings.xml
@@ -1831,12 +1831,17 @@ Tap on the continue button and disable battery optimizations."
"• Movies or paid videos may not play.
• Livestreams start from the beginning.
• Videos may end 1 second early.
+• Opus audio codec may not be supported."
+ "• Videos may end 1 second early.
• Opus audio codec may not be supported."
"• Audio track menu is missing.
• Stable volume is not available."
"• Audio track menu is missing.
• Stable volume is not available."
• Video may not play.
+ iOS Compatibility mode
+ Only spoofed as iOS client if it is not a movie, paid video or livestream.
+ Always spoofed as iOS client.
Force iOS AVC (H.264)
iOS video codec is AVC (H.264).
iOS video codec is AVC (H.264), VP9, or AV1.
diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
index afed1f3d67..c5e4ac9648 100644
--- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml
+++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
@@ -735,6 +735,7 @@
+
SETTINGS: SPOOF_STREAMING_DATA -->