Logic Machine Forum
Http camera on https webpage - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Http camera on https webpage (/showthread.php?tid=3383)



Http camera on https webpage - Thomas - 21.05.2021

Hi
I've dozens of obsolete cameras which don't implement https. These cameras offers mjpeg streams.
On the other side I've modern browsers which don't allow http iframe inside of https visu webpage.
Is there any workaround?

http visu is not the option because:
- It can't be used as a web-app in Chrome and Edge
- Password storing is prohibited for http
- I don't want to send user's passwords through plain http.


RE: Http camera on https webpage - Daniel - 21.05.2021

If they support snapshot maybe you could use this
https://forum.logicmachine.net/showthread.php?tid=3263&pid=21072#pid21072


RE: Http camera on https webpage - admin - 21.05.2021

Alternatively you can install a RPi or a similar device to act as a proxy. Proxy server software:
https://github.com/legege/node-mjpeg-proxy
https://github.com/vvidic/mjpeg-proxy

Proxy can handle several clients watching the same stream whereas most cameras cannot serve multiple clients at once properly.


RE: Http camera on https webpage - Thomas - 16.11.2021

OK, a proxy server will be the solution if there's no a direct way through Javascript etc.
Thank you