HTTP Reconnect Not Working

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
argb444
Blank Cone
Blank Cone
Posts: 51
Joined: 27 Nov 2007 14:47

HTTP Reconnect Not Working

Postby argb444 » 08 Oct 2008 19:28

Hi,

I am testing http audio streaming from server to multiple clients. I start the stream on the server using a .m3u playlist as input (command string below) and then connect to the stream from each of the clients. On the server I run this commend string: VLC N:\Audio\Playlists\someplaylist.m3u :sout=#standard{access=http,mux=asf,dst=:8085}. i am using 086i on server and 086i and 094 on clients.

The problem I am experiencing is that the clients will drop the connection to the stream when vlc on the server transitions from the first song (or any song) in the playlist to the next song.

I have tried the parms --http-reconnect and --http-continuous on the clients and they do not have any effect.

What I am trying to attain is to have vlc just sit (in the tray) on the client and listen for an active http stream on a specified port, and then when a stream is detected, launch and play the stream, then when the stream ends, return to the tray and listen.

Possible?

Regards,
-argb

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: HTTP Reconnect Not Working

Postby VLC_help » 09 Oct 2008 21:04

--sout-keep

argb444
Blank Cone
Blank Cone
Posts: 51
Joined: 27 Nov 2007 14:47

Re: HTTP Reconnect Not Working

Postby argb444 » 10 Oct 2008 21:10

Yes yes thanks! I found that three things are needed to make this work: #gather and --sout-keep on server, and --http-reconnect on clients.

I use on server :sout=#gather:standard{access=http...................} --sout-keep
And on client I add --http-reconnect

Result is server maintains stream when transitioning from one playlist item to another, and client maintains connection to server stream.

This problem is solved for me. Thanks :)

-argb

argb444
Blank Cone
Blank Cone
Posts: 51
Joined: 27 Nov 2007 14:47

Re: HTTP Reconnect Not Working

Postby argb444 » 13 Oct 2008 22:39

UPDATE: These strings, without using #gather, also appear to work.

:sout=#standard{access=http,mux=asf,dst=:8085} :sout-keep

:sout=#duplicate{dst=std{access=http,mux=asf,dst=:8085}} :sout-keep

-argb


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 40 guests