To disable WebRTC, most guides point you at a flag, a settings toggle or an extension. We ran four of these methods on the same Chromium build, three rounds each, counting every candidate a page could gather. The feature flag did nothing; deleting the API stopped everything.
This page reports each lever's observed behavior against the same single-STUN gather harness, including a control switch that proves the test honors command-line changes. A companion tool, the WebRTC leak test, shows what still escapes on your own setup, and the four sections below separate the levers by what they cost you: one breaks calls, one breaks nothing because it does nothing, and the middle two are restrictions that stop short of disabling.
On Chromium 158 the only tested lever that fully disabled WebRTC was removing the API itself; the flag named for it was inert.
measured
WebRTC is not one switch; it is an API surface plus a media stack. When people say they want to disable it, they usually mean one of three things: stop pages from learning local addresses, stop the public address from appearing in relay-free candidates, or make the API disappear so nothing can start a connection at all. Each goal is reached by a different lever, and the levers are not interchangeable.
The measurement here covers the Chromium family, where the flag route gets the most advice. Firefox has a different, documented route: setting media.peerconnection.enabled to false in the configuration editor removes the API from the page, which is the same effect our constructor-deletion test produced on Chromium. The sections below keep the two families separate, because copying advice across browsers is how inert toggles get recommended.
There is also a distinction the flag advice usually blurs: a browser feature flag and an enterprise policy are different channels. Policies can force candidate restrictions in ways a command-line approximation cannot, and the runs on this page test the flag channel only. Where a setting is documented but not measured here, the text says so explicitly rather than quoting it as a result.
| Method | Result (3 rounds) | Reading |
|---|---|---|
| Untouched baseline | 2 candidates, gathering complete | one mdns host candidate, one srflx naming the public address |
| --disable-features=WebRTC | 2 candidates, byte-identical set | the flag changed nothing; the feature name is not a kill switch |
| Constructor deleted by script | 0 candidates, 3 / 3 throws | RTCPeerConnection is not a constructor; no gather can start |
| Control: mdns hiding off | .local replaced by 192.168.1.147 | same harness honors flags, so the null result above is real |
The reference row is the baseline: two candidates, the shape every leak test reports. The finding is the second row, because the advice to run Chromium with --disable-features=WebRTC circulates widely and does nothing observable here. The fourth row exists to make that claim safe to trust: with a flag that is known to matter, the same harness produced a visibly different candidate set in every round.
One reading rule for the table: the counts are per page load, and the set shape matters more than the number. The baseline and the flag row both end with gathering complete and a public srflx candidate, which is the exact condition a leak checker reports as a fail. The zero in the third row is a different condition entirely: no gather started, so nothing could be reported either way.
Deleting the constructor is the only full stop, and it is what a hard-disable extension does in the page world: our earlier extension runs showed a MAIN-world script that runs before page code can remove the API for the top frame, and with all_frames coverage, for iframes too. The cost is absolute. On the test build the failure was immediate and total, which is what video-call sites and fingerprinting probes both see.
The softer route is WebRTC IP handling policy. In runs logged on the leak-prevention page, an empty ice server list removed every srflx candidate across rounds, and relay-only mode with no reachable TURN server left zero candidates at all, as the TURN test on this series recorded. Those settings do not disable WebRTC; they remove the relay-free paths that carry your addresses. Two limits belong next to any recommendation of them: the policy switches we forced on the command line were inert on this build, and a policy configured through a real enterprise channel behaves differently from a flag approximation.
The mdns obfuscation deserves its own warning, because it is often sold as a disable. It is neither a disable nor a fix: the local candidate still carries the host port, the public srflx candidate still names your address, and the runs on the IP-address page in this series show checkers resolving mdns names with no extra effort. Obfuscation changes what a casual read shows, not what a determined probe learns.
If you browse and download through a SOCKS5 proxy and never call, the full stop is reasonable. A proxy does not carry WebRTC media by default, so a relay-free candidate would sit next to your exit address in any probe, and removing the API eliminates that pairing risk. Keep the cost in view: any site that runs a WebRTC fingerprint probe will register the absence.
If you need calls, disable nothing; restrict instead. Force proxy-only media handling and accept the delay tax, because a relay-only connection with an unreachable TURN server means no connection at all. The acceptance test either way takes a minute: open the WebRTC leak test and read the candidate table. Zero rows, or rows naming only the proxy exit, is a pass. A row naming your home address on a proxied browser is the failure this page exists to prevent.
For multi-account work the decision multiplies per profile rather than per browser, which is where the trade-off actually lands: an account that never calls can run with the API deleted, while an account that verifies by phone call cannot. Treating the switch as a per-profile property, not a browser property, is what keeps one account's leak from becoming the whole farm's signature.
A killed API kills it everywhere: RoxyBrowser keeps per-profile control, so you disable WebRTC where the account needs silence and leave it on where it needs to ring.
Download RoxyBrowserRoxyBrowser runs anti-detect profiles with per-profile environment control; official site roxybrowser.com, Windows and macOS.
Yes, anything that depends on it. On our test build, deleting the RTCPeerConnection constructor made every gather attempt fail with RTCPeerConnection is not a constructor, so video calls, screen sharing and any site that probes WebRTC for fingerprinting will notice. Browsing, streaming and downloads are unaffected, because ordinary HTTP traffic never touches WebRTC.
Not one that works. Running Chromium 158 with --disable-features=WebRTC produced a candidate set byte-identical to the untouched baseline in all three rounds: the constructor still existed and gathering still completed. Our control flag did take effect in the same harness, so the harness honors switches and the WebRTC feature name simply is not a kill switch.
Removing the API from the page. In our run, a script that set RTCPeerConnection to undefined before any page code ran stopped every gather attempt in all three rounds, because the page could no longer construct a connection at all. This is what a hard-disable extension does. Site settings that restrict ICE candidates only reduce exposure; the relay-free srflx path is what reveals your public address, and emptying the ice server list removes it.
A SOCKS5 proxy does not carry WebRTC media by default, so a relay-free candidate would announce your real address next to the proxy exit. If you only browse, disabling WebRTC is a reasonable belt-and-braces measure. If you need calls, do not disable it; instead force proxy-only media handling, which our earlier runs show leaves zero relay-free candidates when no reachable TURN server exists.