serverless-webrtc
serverless-webrtc copied to clipboard
Chromium Works But Doesn't
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?
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.