Page 1 of 1
Auto http stream reconnect?
Posted: 10 Feb 2010 10:45
by dan86
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
Re: Auto http stream reconnect?
Posted: 10 Feb 2010 12:01
by VLC_help
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)
Re: Auto http stream reconnect?
Posted: 10 Feb 2010 13:11
by dan86
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
Re: Auto http stream reconnect?
Posted: 11 Feb 2010 20:22
by VLC_help
What does VLC log (Tools -> Messages... and set Verbosity to 2) say when you try it?
Re: Auto http stream reconnect?
Posted: 17 Feb 2010 21:46
by rcarty
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.
Re: Auto http stream reconnect?
Posted: 01 Mar 2020 17:28
by blindrain
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
Re: Auto http stream reconnect?
Posted: 02 Mar 2020 22:21
by RĂ©mi Denis-Courmont
As the log says, the resource does not exist. Reconnecting is not going to fix that.