Just wondering if any command line option exists to stop VLC from streaming from the source if no active clients are connected to the server?
For example here is the server setup.
Code: Select all
vlc.exe -I dummy rtsp://[some ip]:554/ :network-caching=10 :sout=#transcode{no-sout-transcode-hurry-up,vcodec=theo,vb=100,scale=1,acodec=none}:http{mux=ogg,dst=:8181/stream} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
We don't want it to stream or just consume very little data if no one is looking at the stream. If VLC can not do this I will probably have to write a script to manage the running instances of the server, killing it when the last user closes their connection.
Thanks