Skip to content

Commit 0af156f

Browse files
authored
fix(YouTube - Spoof video streams): Enable opus codec by updating iOS client version (#4063)
1 parent fe4d855 commit 0af156f

File tree

2 files changed

+5
-5
lines changed
  • extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/spoof
  • patches/src/main/resources/addresources/values

2 files changed

+5
-5
lines changed

extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/spoof/ClientType.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
public enum ClientType {
1111
// Specific purpose for age restricted, or private videos, because the iOS client is not logged in.
12+
// https://dumps.tadiphone.dev/dumps/oculus/eureka
1213
ANDROID_VR(28,
1314
"Quest 3",
1415
"12",
@@ -19,7 +20,6 @@ public enum ClientType {
1920
true
2021
),
2122
// Specific for kids videos.
22-
// https://dumps.tadiphone.dev/dumps/oculus/eureka
2323
IOS(5,
2424
// iPhone 15 supports AV1 hardware decoding.
2525
// Only use if this Android device also has hardware decoding.
@@ -31,12 +31,12 @@ public enum ClientType {
3131
? "17.5.1.21F90"
3232
: "13.7.17H35",
3333
allowVP9()
34-
? "com.google.ios.youtube/19.10.7 (iPhone; U; CPU iOS 17_5_1 like Mac OS X)"
35-
: "com.google.ios.youtube/19.10.7 (iPhone; U; CPU iOS 13_7 like Mac OS X)",
34+
? "com.google.ios.youtube/19.47.7 (iPhone; U; CPU iOS 17_5_1 like Mac OS X)"
35+
: "com.google.ios.youtube/19.47.7 (iPhone; U; CPU iOS 13_7 like Mac OS X)",
3636
null,
3737
// Version number should be a valid iOS release.
3838
// https://www.ipa4fun.com/history/185230
39-
"19.10.7",
39+
"19.47.7",
4040
"IOS",
4141
false
4242
);

patches/src/main/resources/addresources/values/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ This is because Crowdin requires temporarily flattening this file and removing t
12251225
<string name="revanced_spoof_video_streams_ios_force_avc_no_hardware_vp9_summary_on">Your device does not have VP9 hardware decoding, and this setting is always on when Client spoofing is enabled</string>
12261226
<string name="revanced_spoof_video_streams_ios_force_avc_user_dialog_message">Enabling this might improve battery life and fix playback stuttering.\n\nAVC has a maximum resolution of 1080p, and video playback will use more internet data than VP9 or AV1.</string>
12271227
<string name="revanced_spoof_video_streams_about_ios_title">iOS spoofing side effects</string>
1228-
<string name="revanced_spoof_video_streams_about_ios_summary">• Private kids videos may not play\n• Livestreams start from the beginning\n• Videos may end 1 second early\n• No opus audio codec</string>
1228+
<string name="revanced_spoof_video_streams_about_ios_summary">• Private kids videos may not play\n• Livestreams start from the beginning\n• Videos may end 1 second early</string>
12291229
<string name="revanced_spoof_video_streams_about_android_vr_title">Android VR spoofing side effects</string>
12301230
<string name="revanced_spoof_video_streams_about_android_vr_summary">• Kids videos may not play\n• Audio track menu is missing\n• Stable volume is not available</string>
12311231
</patch>

0 commit comments

Comments
 (0)