-
Notifications
You must be signed in to change notification settings - Fork 46
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
New dedicated video proxy servers #45
Comments
NGINX config for tcp pass-through with TLS decryption and encryption:
Test on oracle cloud ARM first. |
rr3---sn-5hne6n6e.c.eu1.example.com -> rr2---sn-a0jpm-a0md.c.eu1.example.com works for sub sub domains |
Have a central backend for redirection to other servers and handling rate limits. This backend would be on fly.io with anycast and proxy the requests directly to the specified servers so that less request need to be done. The backend could also be the one doing the requests to YouTube servers, reducing the load to the proxy server. Need to investigate how to do the requests: through SSH proxy? Or maybe just a proxy handled in nginx to innertube api The cache would be kept in redis of fly.io: https://fly.io/docs/reference/redis/#create-and-manage-an-upstash-redis-database. proxy in youtube library: LuanRT/\YouTube.js/pull/62 and proxy server: https://github.com/3proxy/3proxy |
Have proxy servers on stardust scaleway servers: https://www.scaleway.com/fr/stardust-instances/ or cheap VPS with unlimited BW (or +80TB of allowance). Some servers will be in IPv6 only.
These servers will have http3-ytproxy as a direct entrypoint with certmagic for the TLS certificate generation and they will redirect the requests for the latest_version and dash manifest paths to:
The http3-ytproxy program will limit the flow per connection using one of these methods:
Each server will be rotated using a redirect in NGINX.
Need to investigate too the ability the swap googlevideo.com to
c.docs.google.com
orc.drive.google.com
or any other domain likec.example.com
.Interesting links:
Replicate the requests done by Invidious for latest_version and dash manifest:
https://github.com/LuanRT/YouTube.js#streaming
The text was updated successfully, but these errors were encountered: