I have the problem of having to connect multiple clients to RTSP video stream, without overloading the bandwidth of the original streaming camera. Basically I want something the will maintain only one connection to a RTSP streaming camera/server, but allow N clients to maintain n connections to it:
+--->[RTSP client 1]
[input RT(S)P stream]--->[? magic thing ?]---+--->[RTSP client 2]
+--->[...]
+--->[RTSP client N]
What software can do this, and/or what libraries are there that I can use to hack ti together myself?
I've found one (and ONLY one solution) for this, the Proxy Server component from LIVE555, but it has one show-stopping drawback, for me at least: it cannot handle randomly disconnecting and pausing of input stream well at all (and this is a requirement, this needs to work with really crappy cameras, with possibly buggy implementation of RT(S)P, which occasionally reboot, and pretty flaky connectivity - think 3G connection down every 10 - 15 min for maybe 1-2 sec).
I'm wondering that maybe I'm searching for the wrong thing, wrong name for this process, wrong keywords etc. since I've only found one usable software for this, namely LIVE555 Proxy - can someone at least point me in the right direction for finding a solution to this?
(NOTE: I'd prefer a library or something open source because I also have some extra things I'd need to build on top, like maybe temporarily replacing feed with stream of an image placeholder or another "backup" stream when connection drops etc. - but a "just works" appliance is good enough for now, once I solve the proxy-demultiplexing issue the others I can add as separate services.)