I have a handful of IP Cameras and struggle when I want to send the feed to more than one thing as the cameras really only support one feed well. I found the library by Live 555 Media to handle this but it was not friendly to use or Dockerize. I wrapped the library with Go and a config language and turned it into an HassIO addon. Figured others might find it useful.
I am fairly sure it maintains an always on stream. For the most part, this is just a convenience wrapper around the Live555 Proxy Server http://www.live555.com/proxyServer/
I created this so you could run it in docker and use a config file which it did not support easily.
Eventually, I would like to modify this such that you can yank frames from it so it will be more friendly with HASS.
You are amazing. I’ve been looking for this 4Ever. One quick question, do you know if camera internal motion detection, and line cross alerts are passed on through the RTSP and therefor to the nvr’s aimed at the proxy?
So, for me it did not work out unfortunately. I tried it a couple of days, but when the connection to the camera is interrupted, the connection was not reestablished automatically. So in the end it worked worse than before.
I have a camera with somewhat flaky connection because it sometimes chooses to use the more distant Wifi AP. In this situation the bandwidth is not sufficient for the video stream until the camera switches to the better AP.
But I recently came across RTSP-Simple-Server and that project has a RTSP proxy feature as well. After a week or so of testing, it seems to do fine in my situation.