Main Menu

Webcam node

Started by Kylix, September 12, 2018, 10:08:30 AM

Kylix

Hi Felix!

I'd like to create a "Webcam" type node in the gateway, which would only display the streaming from a Raspberry Pi camera.
Any hint on how to proceed changing the index.html file?

Felix

Haven't done anything like that. I only made snapshot events which take a snapshot from an IP camera.
You will have a LOT more to do that just a HTML change to allow streaming from a *secured* camera in your LAN. Probably will involve proxying it through NGINX.
If this is a webcam attached to the Pi running the PiGateway software then you might want to start searching how to stream that through NXINX/nodeJS.

Kylix

The camera is connected to an RPi Zero but it is accessible from outside of the LAN, through the DDNS service.
I'd just like to test by adding the webcam node type and inside that webpage, just to display a div with the video stream.
I just don't know how to create in JQuery this new webpage :D

Felix

Maybe I can add this as a request but you'd have to share the link to the webcam (at least with me) so I can test with it,
It might be a low priority item though  ::)