I'm trying to get a still photo from a web cam each time the session loads. Running into some issues with Chrome and Edge. Firefox and Safari seem to work OK with http URL.
I can get it working in Chrome using https, but at the camera does not have any certificates so I need to open the picture in another tab and accept the possible danger. I can then load the image.
Using http in Chrome. I can't see the picture in the Perspective session, but I can right click and select open in a new tab and see the photo.
Buying a SSL certificate is not an option. Any suggestions? Also tried iFrame with no luck.
the fileupload component should ba able to use the camera, any other way is meh.
Also Im not pressing those links, but i already see a mayor issue with them. user & password should never be inside the link!
The file upload, as in the drag and drop component? Its not the phone camera, but a designated camera.
The URL is pointing nowhere, so it will not work. I will - if possible make user and password parameters outside the url when an if there is a solution of the security issue.
If its a designated camera, i suppose it connected to the gateway network? you could try to control it from the gateway then instead of the client.
Let the client send a message to the gateway to take a pic and there execute some local (bash) script that remotely controls the camera. system.util.execute - Ignition User Manual 8.1 - Ignition Documentation
You could set up a reverse-proxy to route incoming requests to the camera, transparently. You could even have it issue the request parameters, so that external users don't see the request. You could then add a self-signed cert to the reverse proxy, or set up Let's Encrypt (free, if you own a domain name).
You could also probably do that with Ignition using Webdev, but something like nginx or Traefik could do it a bit easier and without buying an additional module.