Hi, I have one webcam and I can view it's video using two URLs:
- Inside my local network http://[ip]:8080/video
- Outside my local network(via Tor) http://[hash].onion:8080/video (octoprint also running via Tor)
Both streams are visible from octoprint when I enter one into Stream URL.
I want to enter this two URLs to OctoPrint and when first URL is not reachable use the second one.
I want something like:
1.
- I in my home, connecting via IP to OctoPrint
- Testing URL 1, OK
- Display stream from URL 1
- outside my home, connecting via Tor to OctoPrint
- Testing URL 1, ERROR
- Testing URL 2, OK
- Display stream from URL 2
Camera model = IP webcam app running on android phone + forwaded by PC running OctoPrint to Tor network
What did you already try to solve it? = Nothing. I can't find anything online.
Additional information about your setup = OctoPrint: 1.5.3 Python 3.8.5