Skip to content

feat: pre-gather ICE candidates - #223

Draft
sebvanleuven wants to merge 2 commits into
mainfrom
feat/pregather-ice
Draft

feat: pre-gather ICE candidates#223
sebvanleuven wants to merge 2 commits into
mainfrom
feat/pregather-ice

Conversation

@sebvanleuven

@sebvanleuven sebvanleuven commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

We wait to gather ICE candidates until the websocket is established. But for TURN connections, the gathering of ICE candidates is relatively slow. pre-gathering the ICE candidates means we can overlap the wss connection time with the ice gathering and reduce the latency of the slowest path.

The impact for non-TURN connections is negligible.

@sebvanleuven sebvanleuven changed the title featL pre-gather ICE candidates during wss connection setup feat: pre-gather ICE candidates Jul 25, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file

Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.

Fix all with cubic | Re-trigger cubic

Comment thread src/modules/StreamingClient.ts Outdated
@sebvanleuven
sebvanleuven marked this pull request as draft July 25, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant