Skip to content

chore(webrtc): lower client ICE gathering timeout from 2s to 1s#512

Merged
srperens merged 1 commit intomainfrom
chore/ice-gathering-timeout-1s
Apr 17, 2026
Merged

chore(webrtc): lower client ICE gathering timeout from 2s to 1s#512
srperens merged 1 commit intomainfrom
chore/ice-gathering-timeout-1s

Conversation

@srperens
Copy link
Copy Markdown
Collaborator

Summary

  • Lower the client-side ICE gathering timeout from 2000 ms to 1000 ms in whep.js and whip.js.
  • Affects the WHIP ingest page, the WHEP player page, and the vision mixer control UI (which reuses whep.js for its multiview connection).
  • Soft timeout: when it fires, the SDP offer is still sent with whatever candidates have been gathered so far — now just 1 s sooner.

Test plan

  • Open the WHIP ingest page and confirm the "ICE gathering" log line reports 1 s timeout and the ingest connects.
  • Open a WHEP player page and confirm playback starts.
  • Open the vision mixer control UI and confirm the multiview preview comes up.

🤖 Generated with Claude Code

Applies to the WHIP ingest page, the WHEP player page, and the
vision mixer control UI (which reuses whep.js for the multiview
connection).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@srperens srperens merged commit c75fc96 into main Apr 17, 2026
3 checks passed
@srperens srperens deleted the chore/ice-gathering-timeout-1s branch April 17, 2026 14:26
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