Use VisionOS stream client - #7
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
youtubekit-server | 95ee041 | Aug 18 2026, 02:21 PM |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe update pins a newer ChangesStream retrieval updates
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The PR updates stream-client selection and fallback handling without any supplied evidence of an actionable merge-blocking risk; it is merge-ready after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant start
participant getStreams
participant fetchEncryptedHostFlags
participant getStreamsForClient
participant InnerTube
start->>getStreams: Pass wsFetch
getStreams->>getStreamsForClient: Try VISIONOS and WEB
getStreams->>fetchEncryptedHostFlags: Fetch embedded-player HTML on fallback
fetchEncryptedHostFlags-->>getStreams: Return encryptedHostFlags
getStreams->>getStreamsForClient: Request WEB_EMBEDDED streams with flags
getStreamsForClient->>InnerTube: Call getInfo
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Note
Overview Updates stream discovery to prefer YouTube’s
VISIONOSclient alongsideWEB, replacing the previous Android VR client and extendingAvailableInnertubeClientwith VisionOS support.Client integration Advances the
youtubei.jsdependency to a revision that supports the new client and embedded-player request data.Embedded fallback Loads the video’s embed page when primary clients return no streams, extracts
encryptedHostFlags, and supplies them asencrypted_host_flagsto theWEB_EMBEDDEDrequest before deduplicating the results.