-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
bug(YouTube - Spoof video streams): Age restricted videos fail to play #4089
Comments
It appears to be all age restricted videos. Searching for "1981 Belgium grand prix" gives age restricted videos that also fail. |
I am not able to reproduce. Logs would be needed. Enable Misc > First toggle and capture logs using logcat: |
I can reproduce using video https://youtube.com/watch?v=wHDh_ruJ8Ug But the logs don't show why it failed (maybe a zero length response?):
|
For age restricted videos, only VR can be used. And VR is authorized as the logged in user. This should not fail and it doesn't in my case. |
I'm seeing both clients fail. Android VR fails, and when it retries with iOS it also fails:
|
Is the VR request authorized? |
Auth seems to be set:
|
Does it occur on other accounts? Maybe A/B? |
Tried with a different account and still occurs. |
All the other expected headers are present:
|
The issue is the language code for Android VR. Not including the |
That is quite odd. For unspooled requests I don't think hl is removed. |
A short term fix is to add a duplicate Android VR client type where the language code is not set. Then for age restricted it'll try:
age restricted videos will have no audio track flyout and no stable volume, but it'll work again. But maybe the Android VR request is missing other fields that should be there. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Setting a language code has also fixed a lack of AV1 on Android VR. AV1 is now used for some videos. |
Bug description
https://github.com/user-attachments/assets/2496cf8f-3dc8-4eb3-8a80-07fc7c66dba0
All videos are properly playing but sensitive content not playing
Error logs
Solution
No response
Additional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: