Skip to content

feat: optional STUN/TURN for WebRTC ICE#49

Merged
krwg merged 1 commit into
mainfrom
2.0.0/issue-39-stun-turn
Jul 23, 2026
Merged

feat: optional STUN/TURN for WebRTC ICE#49
krwg merged 1 commit into
mainfrom
2.0.0/issue-39-stun-turn

Conversation

@krwg

@krwg krwg commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • shared/ice-servers.js parses STUN/TURN lines; empty when iceEnabled is false (default)
  • Settings → Network: toggle + textarea; applies to new 1:1, group, and voice-channel RTCPeerConnections
  • Docs/troubleshooting updated

Closes #39

Test plan

  • npm test includes ice-servers cases
  • Default config: iceServers: [] (LAN-only)
  • Enable + stun:… line → new call uses that server
  • i18n EN/RU keys present for ice settings

Made with Cursor

Add shared ICE parser, Settings → Network toggle (off by default), and wire 1:1/group/voice peer connections for VPN topologies (#39).
@krwg krwg added this to the 2.0.0 — Morse milestone Jul 23, 2026

@krwg krwg left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Notes:

  • No bundled public STUN — users supply their own URLs (privacy + LAN-default).
  • ICE list is read at PC create time; restart the call after changing settings.

@krwg
krwg merged commit 3ea38e1 into main Jul 23, 2026
1 check passed
@krwg
krwg deleted the 2.0.0/issue-39-stun-turn branch July 23, 2026 22:34
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.

feat: optional STUN/TURN for VPN / Tailscale WebRTC

1 participant