Open kawaczek opened 4 years ago
Currently the best (only?) way to do this with the plugin is if you use a reverse proxy (such as haproxy) to make OctoPrint and both the cameras available through the same http port. This is how OctoPi comes configured by default (though only for a single webcam).
A future version of the plugin will let you register additional tunnels (up to a total of 4 with a free ngrok account). including tunnels to your additional camera(s) and possibly additional OctoPrint instances if you have multiple.
@fieldOfView this looks like the current webcam issue thread, I just noticed with the NGROK tunnel the default steam isn't loading. I'm using an OctoPi image with default haproxy config and when accessing the site via the NGROK tunnel, the URL /webcam/?action=stream
is not seen. I get the webcam stream not loaded error and clicking the link in that message it appears to be going to the correct address with a 404 not found. Any suggestions?
@jneilliii, this thread is more about hosting multiple tunnels. I'll deal with your issue here: #18 (now that I understand what is going wrong).
I have two cameras in ocroprint. How to set them to be displayed in the tunnel?