Chrome:WebRTC
lastmod 2024-11-06created 2021-01-057 edits
A summary of issues with WebRTC integration in Chrome.
Flags
- Temporarily unexpire M85 flags.
- Temporarily unexpire flags that expired as of M85. These flags will be removed soon. – Mac, Windows, Linux, Chrome OS, Android
-
#temporary-unexpire-flags-m85
- Anonymize local IPs exposed by WebRTC.
- Conceal local IP addresses with mDNS hostnames. – Mac, Windows, Linux, Chrome OS
-
#enable-webrtc-hide-local-ips-with-mdns
localhost ICE
- [Recommended] Anonymize local IPs exposed by WebRTC - Chrome 86
You need to turn off the option that hides local IP addresses behind mDNS hostnames, so that local IPs are exposed in WebRTC ICE candidates.
If your Chrome version is recent (probably m85 or later?), set the chrome://flags/#temporary-unexpire-flags-m85 flag to Enable, then Relaunch.
Then set the chrome://flags/#enable-webrtc-hide-local-ips-with-mdns flag to Disable.
See Session Traversal Utilities for NAT#stun:localhost is not connect.
See also
Favorite site
- Some clients cannot get their IP after updating Chrome
- how to disable
enable-webrtc-hide-local-ips-with-mdnsflag - Workarounds for slow video loading on Chrome
- Disable MDNS in Chrome via Chrome policies on the commandline
- Stackoverflow - Want to test turn server - With puppeteer and [https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/)