Open bobprohaska opened 2 years ago
It should still work to connect a webcam. The "enable flash" message is an alternative, and probably few browsers still support it. (As you say, Flash has mostly been removed.)
When you gave permissions for webcam use, did the camera not work?
Are you running the server on the same Pi as the browser? Some browsers don't consider "http://localhsot" to be a secure context, in which case they won't allow webcam access even with user permission. https://jeffpiazza.org/derbynet/builds/docs/Webcams%20and%20Secure%20Contexts.pdf
The camera did not work when I gave it permission.
I'm running the server on the same Pi as the browser. This must have been a recent change to Chromium on the Pi since it used to work.
I'm not sure if this is what you're experiencing, but there does seem to be a time limit within which the user has to grant permission to use the camera. Taking too long to grant access appears to result in the "Webcam disabled" message. I count that a bug.
Reloading the page gives you another chance to approve camera access.
636fce8f0e1c71eb7d6f622fc39ff62c5a5e94f4 removes the time limit for granting camera access.
The photo capture code needs a rewrite (Flash is thankfully dead), but this issue still needs some investigation, I think.
Hi, I was able to connect a webcam last November inside of DerbyNet. I just tried and now it's saying that I have to "Enable flash or give permission to my webcam". I gave permission to my webcam but I can't find anything about enabling Flash (hasn't Flash been removed from Chrome?). I'm running Derbynet 7.0 on a Raspberry Pi with Chrome. Can we no longer connect a webcam inside of the software?