mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-08 10:34:33 +02:00
feat(Spoof streaming data): Update the hardcoded iOS client version
This commit is contained in:
parent
61182fe52d
commit
698e5f2021
@ -17,22 +17,18 @@ public class AppClient {
|
|||||||
* Store page of the YouTube app</a>, in the {@code What’s New} section.
|
* Store page of the YouTube app</a>, in the {@code What’s New} section.
|
||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
private static final String CLIENT_VERSION_IOS = "19.49.5";
|
private static final String CLIENT_VERSION_IOS = "19.29.1";
|
||||||
/**
|
/**
|
||||||
* The device machine id for the iPhone 16 Pro Max (iPhone17,2), used to get HDR with AV1 hardware decoding.
|
* The device machine id for the iPhone 15 Pro Max (iPhone16,2), used to get HDR with AV1 hardware decoding.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* See <a href="https://gist.github.com/adamawolf/3048717">this GitHub Gist</a> for more
|
* See <a href="https://gist.github.com/adamawolf/3048717">this GitHub Gist</a> for more
|
||||||
* information.
|
* information.
|
||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
private static final String DEVICE_MODEL_IOS = "iPhone17,2";
|
private static final String DEVICE_MODEL_IOS = "iPhone16,2";
|
||||||
/**
|
private static final String OS_VERSION_IOS = "17.7.2.21H221";
|
||||||
* The minimum supported OS version for the iOS YouTube client is iOS 14.0.
|
private static final String USER_AGENT_VERSION_IOS = "17_7_2";
|
||||||
* Using an invalid OS version will use the AVC codec.
|
|
||||||
*/
|
|
||||||
private static final String OS_VERSION_IOS = "18.1.1.22B91";
|
|
||||||
private static final String USER_AGENT_VERSION_IOS = "18_1_1";
|
|
||||||
private static final String USER_AGENT_IOS = "com.google.ios.youtube/" +
|
private static final String USER_AGENT_IOS = "com.google.ios.youtube/" +
|
||||||
CLIENT_VERSION_IOS +
|
CLIENT_VERSION_IOS +
|
||||||
"(" +
|
"(" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user