There are many security risks to using your camera with the Tor browser on websites. I'm pretty sure your location would be leaked in most cases. That said, let's move on.
With normal browsers (e.g. Google Chrome, Safari, Microsoft Edge, etc.), websites would use your camera and microphone through an API known as WebRTC. But, the Tor browser disables as it can leak your IP address and location.
We also disable the WebRTC API as mentioned previously, since even if it were usable over Tor, it still currently provides the local IP address and associated network information to websites.
To prevent proxy bypass by WebRTC calls, we disable WebRTC at compile time with the --disable-webrtc configure switch, as well as set the pref media.peerconnection.enabled to false.
So if you set
media.peerconnection.enabled to true and disabled the
--disable-webrtc flag, you could enable webRTC. You would also have to make sure you aren't automatically blocking websites from asking permission (Go to
There is another way, but it's no safer:
You can install the Brave Browser which has a Private Window with Tor. Brave doesn't disable WebRTC unless you modify your settings. This Private Window with Tor let's you use the Tor network right in the Brave Browser. This let's you visit websites with the Tor network and use your camera/microphone.
But why do you want to use your camera and microphone in the Tor browser anyway? It would deanonymize you and could potentially endanger you.