Skip to content

Commit

Permalink
feat(YouTube/Spoof streaming data): add iOS Compatibility mode setting
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Nov 8, 2024
1 parent 2864fb1 commit 47c4aca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1831,12 +1831,17 @@ Tap on the continue button and disable battery optimizations."</string>
<string name="revanced_spoof_streaming_data_side_effects_ios">"• 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."</string>
<string name="revanced_spoof_streaming_data_side_effects_ios_compatibility">"• Videos may end 1 second early.
• Opus audio codec may not be supported."</string>
<string name="revanced_spoof_streaming_data_side_effects_android_unplugged">"• Audio track menu is missing.
• Stable volume is not available."</string>
<string name="revanced_spoof_streaming_data_side_effects_android_vr">"• Audio track menu is missing.
• Stable volume is not available."</string>
<string name="revanced_spoof_streaming_data_side_effects_unknown">• Video may not play.</string>
<string name="revanced_spoof_streaming_data_ios_compatibility_title">iOS Compatibility mode</string>
<string name="revanced_spoof_streaming_data_ios_compatibility_summary_on">Only spoofed as iOS client if it is not a movie, paid video or livestream.</string>
<string name="revanced_spoof_streaming_data_ios_compatibility_summary_off">Always spoofed as iOS client.</string>
<string name="revanced_spoof_streaming_data_ios_force_avc_title">Force iOS AVC (H.264)</string>
<string name="revanced_spoof_streaming_data_ios_force_avc_summary_on">iOS video codec is AVC (H.264).</string>
<string name="revanced_spoof_streaming_data_ios_force_avc_summary_off">iOS video codec is AVC (H.264), VP9, or AV1.</string>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,7 @@
<ListPreference android:entries="@array/revanced_spoof_streaming_data_type_entries" android:title="@string/revanced_spoof_streaming_data_type_title" android:key="revanced_spoof_streaming_data_type" android:entryValues="@array/revanced_spoof_streaming_data_type_entry_values" />
<app.revanced.integrations.youtube.settings.preference.SpoofStreamingDataSideEffectsPreference android:title="@string/revanced_spoof_streaming_data_side_effects_title" />
<SwitchPreference android:title="@string/revanced_spoof_streaming_data_ios_force_avc_title" android:key="revanced_spoof_streaming_data_ios_force_avc" android:summaryOn="@string/revanced_spoof_streaming_data_ios_force_avc_summary_on" android:summaryOff="@string/revanced_spoof_streaming_data_ios_force_avc_summary_off" />
<SwitchPreference android:title="@string/revanced_spoof_streaming_data_ios_compatibility_title" android:key="revanced_spoof_streaming_data_ios_compatibility" android:summaryOn="@string/revanced_spoof_streaming_data_ios_compatibility_summary_on" android:summaryOff="@string/revanced_spoof_streaming_data_ios_compatibility_summary_off" />
<SwitchPreference android:title="@string/revanced_spoof_streaming_data_stats_for_nerds_title" android:key="revanced_spoof_streaming_data_stats_for_nerds" android:summaryOn="@string/revanced_spoof_streaming_data_stats_for_nerds_summary_on" android:summaryOff="@string/revanced_spoof_streaming_data_stats_for_nerds_summary_off" />
</PreferenceScreen>SETTINGS: SPOOF_STREAMING_DATA -->

Expand Down

0 comments on commit 47c4aca

Please sign in to comment.