Fix high resolution streams - #5
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
youtubekit-server | 624b6ac | Jun 12 2026, 08:11 AM |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR pins the ChangesStream deduplication feature
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Updates the server to use the YouTube.js fork commit that pins Android VR to the older client version which still returns playable direct high-resolution stream URLs.
Also deduplicates returned streams by itag so querying fallback clients does not surface duplicate stream entries. The end goal is for YouTubeKit clients to receive working 720p and 1080p video streams for videos such as Z5uv7_ysu9M.
Note
Medium Risk
Stream resolution depends on a specific git fork commit of youtubei.js, and deduplication keeps the first stream per itag when multiple clients disagree.
Overview
Pins
youtubei.jsto fork commit4f74d89a(replacing thefeat/android-sdkless-clientbranch) so Android VR uses the older client behavior that still yields playable direct URLs for 720p/1080p.YouTubeService.getStreamsnow runs returned streams through a newdeduplicateStreamshelper that keeps one entry per itag, including on theWEB_EMBEDDEDfallback path, so multi-client aggregation no longer returns duplicate stream rows.Reviewed by Cursor Bugbot for commit 624b6ac. Bugbot is set up for automated code reviews on this repo. Configure here.