How to Enable WebRTC in Firefox
In this article
Yes, WebRTC is enabled by default in Firefox, so no action is usually needed. However, if you're troubleshooting connection issues with video calls, screen sharing, or P2P features on sites like Zoom, Google Meet, or Discord, you may need to verify or adjust WebRTC settings manually. This guide shows you how to confirm WebRTC is active, tweak related privacy settings, and resolve common blockers. You'll need access to Firefox on desktop (Windows, macOS, or Linux), as mobile versions have limited configuration options. Labels in menus may vary slightly by version and operating system, but the core settings remain consistent.
What You'll Need
- A computer running Firefox (desktop version recommended)
- Internet connection
- Administrative access (if adjusting advanced settings or installing extensions)
- Optional: a WebRTC test site like https://test.webrtc.org to verify functionality
Step-by-Step
- Open Firefox and click the menu button (three horizontal lines in the top-right corner).
- Select Settings from the dropdown menu.
- In the left sidebar, click Privacy & Security.
- Scroll down to the Permissions section and ensure that Camera and Microphone are not blocked. If they are, click Settings next to each and allow access for the sites you're using.
- Still in Privacy & Security, scroll to the Enhanced Tracking Protection section. If set to Strict, consider switching to Standard, as aggressive tracking protection can interfere with WebRTC signaling.
- To access advanced WebRTC settings, type
about:configin the address bar and press Enter. - Click Accept the Risk and Continue if prompted.
- In the search bar at the top of the
about:configpage, typemedia.peerconnection.enabled. - Double-click the preference to ensure its value is
true. If it'sfalse, WebRTC is disabled and must be toggled on. - Optionally, search for
media.getusermedia.screensharing.enabledand confirm it is also set totrueif you need screen sharing. - Restart Firefox to apply changes.
- Visit a WebRTC test page (e.g., https://test.webrtc.org) to confirm that camera, microphone, and connection checks pass.
Common Mistakes
Users often assume WebRTC is disabled when the real issue lies elsewhere. A frequent error is blocking camera or microphone access at the operating system or browser level. Another is leaving media.peerconnection.enabled set to false in about:config, which completely disables peer-to-peer connections. Some mistakenly believe that disabling WebRTC improves privacy, but this breaks expected functionality on modern web apps. Others use privacy extensions that block WebRTC without realizing it, such as certain anti-fingerprinting tools. Finally, typing incorrect preference names in about:config leads to confusion—always double-check spelling.
Tips
Use about:config with caution—it’s powerful but can destabilize the browser if misused. Before changing any setting, note the original value. For better privacy without breaking WebRTC, consider using Firefox’s Temporary Containers extension or adjusting Enhanced Tracking Protection per site. If you’re on a restricted network (school, workplace), WebRTC may be blocked at the firewall level—this cannot be fixed in Firefox. Always keep Firefox updated, as newer versions improve WebRTC stability and security. For developers, use about:webrtc during active calls to monitor connection details, ICE candidates, and stream health.
Troubleshooting
If WebRTC still doesn’t work after enabling it, start by restarting Firefox and your router. Then, check that your camera and microphone function in other apps. Visit about:preferences#privacy and verify no site-specific permissions are blocking media access. If you're using a VPN or proxy, disable it temporarily—some services interfere with WebRTC’s ability to detect your real IP. Clear site data for the service you're using (Settings > Privacy & Security > Cookies and Site Data > Manage Data). If the issue persists, reset Firefox via Help > Troubleshoot Mode to rule out extension conflicts. Note: resetting removes extensions and custom settings but keeps bookmarks and passwords. If you're on a managed network, contact your administrator—firewall rules may block UDP traffic essential for WebRTC.
Frequently Asked Questions
Is WebRTC enabled by default in Firefox?
Yes, WebRTC is enabled by default in all standard Firefox installations.
Can I disable WebRTC in Firefox?
Yes, go to about:config and set media.peerconnection.enabled to false.
Why is my camera not working in Firefox even with WebRTC enabled?
Check site permissions, operating system access controls, and ensure no other app is using the camera.
Does WebRTC work on Firefox for Android?
Yes, but advanced configuration via about:config is limited or unsupported on mobile.
Can WebRTC leak my real IP if I use a VPN?
Yes, WebRTC can bypass some VPNs; use browser extensions or disable WebRTC if this is a concern.
What websites rely on WebRTC?
Google Meet, Zoom (web), Discord (voice), Jitsi, and many VoIP and live-streaming platforms use WebRTC.