Re: [webrtc-pc] mDNS ICE trips Local Network permission prompt on macOS (#3109)

Note that there is a difference in behavior for how mdns candidates are generated. On
https://webrtc.github.io/samples/src/content/datachannel/basic/
libWebRTC will generate the same mdns hostnames for pc1 and pc2:
```
pc1 ICE candidate: candidate:4157685602 1 udp 2113937151 7390b108-0a53-4ed2-a4e3-72492b2d7b6c.local 59837 typ host generation 0 ufrag kXMu network-cost 999
pc2 ICE candidate: candidate:1609047229 1 udp 2113937151 7390b108-0a53-4ed2-a4e3-72492b2d7b6c.local 59839 typ host generation 0 ufrag cLGe network-cost 999
```
Firefox will generate different mdns hostnames for pc1 and pc2, e.g.
```
pc1 ICE candidate: candidate:0 1 UDP 2122252543 dc3c6960-ac65-4908-9307-d9921efbf20e.local 49210 typ host
pc2 ICE candidate: candidate:0 1 UDP 2122252543 9eb32662-63e6-4bb5-8fe5-5f11ef0e7c81.local 49213 typ host
```

Browsers could avoid mdns lookups for candidates they gather. Avoids this for fiddles at least.

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3109#issuecomment-4527636415 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 24 May 2026 06:46:18 UTC