Skip to content

bug(YouTube - Spoof video streams): Spoofing client "iOS" doesn't work #3994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
kitadai31 opened this issue Nov 26, 2024 · 2 comments · Fixed by #4000
Closed
3 tasks done

bug(YouTube - Spoof video streams): Spoofing client "iOS" doesn't work #3994

kitadai31 opened this issue Nov 26, 2024 · 2 comments · Fixed by #4000
Labels
Bug report Something isn't working

Comments

@kitadai31
Copy link
Contributor

kitadai31 commented Nov 26, 2024

Bug description

Step 1. Go to Settings > ReVanced > Miscellaneous > Spoof video streams
Step 2. Change default client to "iOS"

It will always be Android VR.

As a result, I cannot change audio tracks.

(Environments: YouTube v19.45.38, Patches v5.1.0)

Error logs

D/revanced: StreamingDataRequest: Fetching video streams for: Xj0Jtjg3lHQ using client: IOS
I/revanced: StreamingDataRequest: IOS not available with response code: 400 message: Bad Request
D/revanced: StreamingDataRequest: video: Xj0Jtjg3lHQ took: 72ms
D/revanced: StreamingDataRequest: Fetching video streams for: Xj0Jtjg3lHQ using client: ANDROID_VR
D/revanced: StreamingDataRequest: video: Xj0Jtjg3lHQ took: 186ms
D/revanced: SpoofVideoStreamsPatch: Overriding video stream: Xj0Jtjg3lHQ

Solution

No response

Additional context

This issue may only be affecting users who are already experiencing a 400 error when spoofing to iOS with the old "Spoof client" patch.

I have two phones, one gives a 400 error with the old "Spoof client" patch (set to iOS), but the other does not.
The former phone has this issue ("Spoof video streams" patch cannot use iOS client), but the latter phone doesn't have this issue.

The commonality between "Spoof client" and "Spoof stream data" is that both cause 400 errors with iOS client and not with Android VR client.

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@kitadai31 kitadai31 added the Bug report Something isn't working label Nov 26, 2024
@oSumAtrIX
Copy link
Member

Related: yt-dlp/yt-dlp#11640

@LisoUseInAIKyrios
Copy link
Contributor

Resolved in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
3 participants