Skip to content

fix(webrtc): stop restricting ICE candidate gathering to mDNS net types#1307

Merged
adamshiervani merged 1 commit intodevfrom
fix/webrtc-ice-network-types
Mar 17, 2026
Merged

fix(webrtc): stop restricting ICE candidate gathering to mDNS net types#1307
adamshiervani merged 1 commit intodevfrom
fix/webrtc-ice-network-types

Conversation

@adamshiervani
Copy link
Contributor

Summary

SetNetworkTypes() controls which network types the ICE agent uses for ALL candidate gathering, not just mDNS. When mdns_mode was ipv6_only" only UDP6 candidates were gathered - if IPv6 wasn't working, no candidates were gathered at all, making WebRTC connections impossible.

Decouple mDNS mode from ICE network types so candidates are gathered on all available networks regardless of the mDNS configuration.

Checklist

  • Ran make test_e2e locally and passed
  • Linked to issue(s) above by issue number (e.g. Closes #<issue-number>)
  • One problem per PR (no unrelated changes)
  • Lints pass; CI green

… types

SetNetworkTypes() controls which network types the ICE agent uses for
ALL candidate gathering, not just mDNS. When mdns_mode was "ipv6_only",
only UDP6 candidates were gathered — if IPv6 wasn't working, no
candidates were gathered at all, making WebRTC connections impossible.

Decouple mDNS mode from ICE network types so candidates are gathered on
all available networks regardless of the mDNS configuration.

Made-with: Cursor
@adamshiervani adamshiervani merged commit 4c7f796 into dev Mar 17, 2026
3 checks passed
@adamshiervani adamshiervani deleted the fix/webrtc-ice-network-types branch March 17, 2026 08:42
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