Page 1 of 1

reconnecting to streaming servers

Posted: 07 Aug 2005 14:35
by Guest
Hi

I have a couple of servers, streaming video in http/asf.

I have installed a frontend server with VLM acting as a relay for these streams.

The problem is whenever a backend server goes down, the media is stopped. Eg

new channel1 broadcast enabled
setup channel1 input http://192.168.1.66:9888
setup channel1 output #standard{access=http,mux=asf,url=192.168.1.62:9888/server1/cam1}
control channel1 play

When 192.168.1.66 goes down, I have to issue another "control channel1 play" to reconnect. What I have found is by using the loop option:

setup channel1 loop

The VLM attempts to reconnect to the backend. This is perfect, and works very well. All except that there's no delay between retries. It tries to reconnect every 100msec.

I will be modifying the code to add an input param for loop delay. This will allow reconnects to backend servers with reasonable delays.

Keith

Posted: 07 Aug 2005 22:22
by The DJ
This would be very welcome. Patches can be mailed to vlc-devel@videolan.org

Re: reconnecting to streaming servers

Posted: 21 Aug 2011 11:29
by Cwelle
Did you add it?

Re: reconnecting to streaming servers

Posted: 10 Nov 2011 18:59
by burek
I've encountered this same problem and haven't found a solution for it :(
Maybe it would be possible using a pseudo playlist item like vlc://delay=1000 or something..
If I find a solution, I'll post it here.

Re: reconnecting to streaming servers

Posted: 07 Apr 2012 03:23
by str3tmonk
For some reason, the "loop" parameter didn't help in my case. The streaming server wouldn't go down but the stream would stop on VLM and no reconnect attempts were showing on the logs. I tried it with 1.x version, haven't tried with 2.x.