Disable security to use getUserMedia()


#1

Hi,

I’m using a BrowserWindow and I want to use getUserMedia() in a non secure domain like http or local but most recents versions of chrome don’t allow that. There is a way to diable web security or just allow access to that media?

regards


#2

One year after I stiil need the response :slight_smile:


#3

Hello @nicolasandrieux, the new version of electron fully exposes the getusermedia API without any security restrictions. I’m currently working with it and have never had any issue with it. Try updating your dependencies.