Read the statement by Michael Teeuw here.
can't 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 forlocalhost
and127.*.*.*
. Is theaddress
in your config stilllocalhost
? -
@ninjabreadman That’s the address in my config:
var config =
{
address: “0.0.0.0”,
electronOptions: {}, ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.44.1/24" ],
-
@xela You’ll want the
address
to belocalhost
or127.0.0.1
.I don’t know exactly how it’s working with
0.0.0.0
and reaching the loopback to display the server, but Chromium (and thereforeelectron
) will only allow the camera overhttp
for those addresses. -
It works! thank you very much!
but now I can’t connect via remote control… -
@xela That’s a whitelist issue; the
ipWhiteList
controls which computers can connect to the MM server.address
controls what theelectron
instance connects to.Have a look here for @mochman’s
ipWhiteList
config walkthrough. If you’re on an IPv6 network, it’s not altogether intuitive for those of us who grew accustomed to IPv4.