No description
Find a file
Claude cc57356a53
Fix ICE failures by replacing mDNS .local addresses with real peer IPs
Modern browsers obfuscate local IP addresses with mDNS hostnames
(e.g. abcdef12-3456.local) for privacy. When mDNS resolution is
unavailable on the LAN, WebRTC ICE candidates cannot be resolved
and the peer connection fails.

This fix makes the signaling server extract each client's real IP
from the TCP connection and share it via Welcome/PeerJoined messages.
The client then replaces any .local mDNS addresses in SDP offers,
answers, and trickle ICE candidates with the peer's actual IP address,
enabling direct IP connectivity without relying on mDNS.

https://claude.ai/code/session_01EZrFdyAR35RLwRdHUA9zPJ
2026-02-09 07:38:49 +00:00
lanshare Fix ICE failures by replacing mDNS .local addresses with real peer IPs 2026-02-09 07:38:49 +00:00
.gitignore Add first script 2026-01-02 21:31:47 +01:00
flake.lock Add first script 2026-01-02 21:31:47 +01:00
flake.nix Add migrate-workspace-deps script 2026-01-10 11:32:05 +01:00
gitlab-job-status Add migrate-workspace-deps script 2026-01-10 11:32:05 +01:00
migrate-workspace-deps Add migrate-workspace-deps script 2026-01-10 11:32:05 +01:00