Search code examples
webrtceasyrtc

EasyRTC - How to allow automatically user media permission


When easyrtc connect in browser appear permission to active webcam and microphone, my question is how to set allow automatically user media permission every single browser ?

enter image description here


Solution

  • In Firefox you can select Always in the popup.

    In Chrome, you can start it with --use-fake-ui-for-media-stream. There are some policies too: VideoCaptureAllowed and VideoCaptureAllowedUrls.