serverless-webrtc icon indicating copy to clipboard operation
serverless-webrtc copied to clipboard

Chromium Works But Doesn't

Open bitnom opened this issue 9 years ago • 1 comments
trafficstars

If I open up the hosted demo it works just fine in Chromium. If I clone the git repo and open it locally, it doesn't work in Chromium but does work in Chrome. What's going on? I want to use this script in Electron.js. Why would it work locally in Chrome but not Chromium? I haven't tried it in Electron yet but I'm hoping it will work. I don't want to run a python script.

Is there some difference between the hosted demo and what's in the git repo?

bitnom avatar Aug 27 '16 22:08 bitnom

It's a policy setting inside Chrome that blocks network connections from file:/// URLs. The Python script runs a local webserver so that you aren't using file:///.

Firefox (and apparently Chromium!) don't have this restriction.

cjb avatar Aug 28 '16 01:08 cjb