webcamjs
webcamjs copied to clipboard
WebCam js not starting using electron-build on windows.
I've developed a simple app using WebCamjs, and using command electron to start the app works well. But when I build the dist version using electron-build the Camera does not start and not displaying error.
Can you provide a test case for us to run?
Also, I should point out that since you are using Electron, you have Chromium built right into your app, so you don't really need WebcamJS. You could just use the HTML5 getUserMedia API directly, and you can be assured it will be available on all platforms, thanks to Chromium/Electron.
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
Simple example here:
https://simpl.info/getusermedia/
Good luck!
After I call the attach function the message "The camera has been started" is displayed. Then when I call the snap function, show that error. "Webcam is not loaded yet"
do you find a solution for it?
@elissonlima - any solution found?