reconnecting to streaming servers

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Guest

reconnecting to streaming servers

Postby Guest » 07 Aug 2005 14:35

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

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 07 Aug 2005 22:22

This would be very welcome. Patches can be mailed to vlc-devel@videolan.org
Don't use PMs for support questions.

Cwelle
Blank Cone
Blank Cone
Posts: 25
Joined: 26 Feb 2010 07:59

Re: reconnecting to streaming servers

Postby Cwelle » 21 Aug 2011 11:29

Did you add it?

burek
Blank Cone
Blank Cone
Posts: 40
Joined: 10 May 2008 21:52

Re: reconnecting to streaming servers

Postby burek » 10 Nov 2011 18:59

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.
Last edited by burek on 13 Nov 2011 14:49, edited 1 time in total.
Image
          • www.gusari.org

str3tmonk
Blank Cone
Blank Cone
Posts: 40
Joined: 21 Jun 2009 04:43

Re: reconnecting to streaming servers

Postby str3tmonk » 07 Apr 2012 03:23

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.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 5 guests