can't get the webcam to work
I’ve tried 3 different webcams, played with resolutions and doesn’t matter what I do, I always get the following message:
Webcam.js Error: Could not access webcam:
NotSupportedError: Only secure origins are allowed
(see: https://goo.gl/Y0ZkNV). NotSupportedError: Only
secure origins are allowed (see: https://goo.gl/Y0ZkNV).
anyone knows by any chance what it means and how to get the webcam to work?
@xela Apparently this was happening when trying to request an image larger than 720px from
webcamjs. See the notes here for Chrome and requiring SSL, and exceptions for
127.*.*.*. Is the
addressin your config still
@ninjabreadman That’s the address in my config:
var config =
}, ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.44.1/24" ],
@xela You’ll want the
I don’t know exactly how it’s working with
0.0.0.0and reaching the loopback to display the server, but Chromium (and therefore
electron) will only allow the camera over
httpfor those addresses.
It works! thank you very much!
but now I can’t connect via remote control…
@xela That’s a whitelist issue; the
ipWhiteListcontrols which computers can connect to the MM server.
addresscontrols what the
electroninstance connects to.