Auto http stream reconnect?

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.
dan86
New Cone
New Cone
Posts: 5
Joined: 08 Dec 2009 15:21

Auto http stream reconnect?

Postby dan86 » 10 Feb 2010 10:45

Hi,

I am streaming across the network via vlc http to another pc running vlc and using http://10.0.0.54:1234 for the stream url. My question is can I set my client to auto reconnect if the stream goes off?

The shortcut I have setup is:

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://10.0.0.54:1234 can I add something to the end of this?

Daniel

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

Re: Auto http stream reconnect?

Postby VLC_help » 10 Feb 2010 12:01

Code: Select all

--http-reconnect, --no-http-reconnect Auto re-connect (default disabled) Automatically try to reconnect to the stream in case of a sudden disconnect. (default disabled)

dan86
New Cone
New Cone
Posts: 5
Joined: 08 Dec 2009 15:21

Re: Auto http stream reconnect?

Postby dan86 » 10 Feb 2010 13:11

Thanks VLC Help,

I have put --http-reconnect before the IP. When I stop the stream on the server to test and then resume the vlc client doesn't try and reconnect? Is there a delay on reconnections or am I doing something wrong?

Daniel

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

Re: Auto http stream reconnect?

Postby VLC_help » 11 Feb 2010 20:22

What does VLC log (Tools -> Messages... and set Verbosity to 2) say when you try it?

rcarty
New Cone
New Cone
Posts: 8
Joined: 12 Feb 2010 23:59

Re: Auto http stream reconnect?

Postby rcarty » 17 Feb 2010 21:46

You could try
"C:\Program Files\VideoLAN\VLC\vlc.exe" --repeat http://10.0.0.54:1234

I know this works for an mms stream. It does tend to send a lot of reconnect traffic though.

blindrain
New Cone
New Cone
Posts: 1
Joined: 01 Mar 2020 17:23

Re: Auto http stream reconnect?

Postby blindrain » 01 Mar 2020 17:28

I'm having this issue. and here is my logs.

Code: Select all

http debug: got disconnected, trying to reconnect main debug: net: connecting to ice.itmethod.net port 8000 main debug: connection succeeded (socket = 2168) http debug: sending request: GET /live.mp3 HTTP/1.0 Host: ice.itmethod.net:8000 User-Agent: VLC/3.0.8 LibVLC/3.0.8 Icy-MetaData: 1 http debug: HTTP answer code 404 http error: error: HTTP/1.0 404 File Not Found http debug: reconnection failed prefetch debug: end of stream main debug: EOF reached main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: killing decoder fourcc `mpga' main debug: removing module "mpg123" mmdevice debug: state changed: 0 wasapi debug: reset main debug: removing module "samplerate" main debug: removing module "scaletempo" main debug: removing module "float_mixer" main debug: keeping audio output main debug: removing module "es" main debug: removing module "mpegaudio" main debug: removing module "record" main debug: removing module "prefetch" main debug: removing module "http" main debug: Program doesn't contain anymore ES main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt debug: IM: Deleting the input

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Auto http stream reconnect?

Postby Rémi Denis-Courmont » 02 Mar 2020 22:21

As the log says, the resource does not exist. Reconnecting is not going to fix that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Lotesdelere and 34 guests