Hi, I've got a LAN with limit bandwidth and many clients wanting to watch a http TS stream from VDR streamdev server outside of the LAN. I need to get VLC running on local server connected to VDR and re-streaming to local clients. I have done this:
vlc --color --intf rc --loop http://address/path.ts --sout-all --sout '#std{access=http,mux=ts,dst=:8001}'
Local clients now can watch the remote stream from the local server but I have 2 problems:
1. The most important thing is that clients watch the stream only at certain times during the day but this VLC server is playing the remore stream 24/7 and consuming the little bandwidth of the LAN even if nobody is watching. Is it possible to make VLC stop playing the remote stream when there are no connections from clients and start to play when first client connects? How?
2. Another thing is that when client connects directly to the VDR he is able to show teletext and EPG. When connected to the local VLC server he can see teletext and EPG streams coming in TS, but they don't work (simply don't show when clicked). So I suppose that re-streaming VLC corrupts them somehow.
The local server is Gentoo with VLC 1.0.5 if it helps.
Thank You for any help on this.