always accept webRTC webcam request

broen picture broen · Aug 28, 2012 · Viewed 24.1k times · Source

I'm building a web application that uses the computer's webcam via webRTC. The site is only running on one specific machine which will shut down and reboot once a day.

My problem is: how do I get the machine to automatically confirm the webcam dialogue once the site has loaded?

The system is OSX Leopard with the latest Chrome. Thanks already, I'm open for anything.

Answer

l2aelba picture l2aelba · Aug 14, 2013

Firefox : (You have to tell users like..)

  • Go in url about:config

  • Search media.navigator.permission.disabled

  • dbClick or set value to true

Tested version : 23.0 + (and 43.0.4 still working)


Chrome : https://stackoverflow.com/a/16929608/622813 or use HTTPS