As auto reconnected client http streaming (- http-reconnect
Posted: 11 May 2012 17:04
Hello I'm using "VLC media player 1.1.13" as streaming server on SLES 11 SP2 (same setup as a client)
HTTP streaming audio I'm testing on a corporate WAN (wireles architecture), each so I have disconnects and I need the vlc client loses the connection autoreconecte when .. I tried different options like "- http-reconnect" and "- http-continuous", but the client does not reconnect vlc (puts the stop or play but no audio)
The parameters of the server: vlc -vvv *.mp3 --loop --sout '#gather:transcode{vcodec=none,acodec=mp3,ab=32,channels=1,samplerate=22050}:http{mux=raw,dst=:8080/http}' -sout-keep
The parameters of the client: vlc-vvv http://myIPServer:8080/http ': normvol' - http-reconnect - http-caching 5000 - http-continuous
Not sure if the "- http-reconnect" do what I need or I am very wrong.
I thought about making a script that reiniciae the vlc client, but not as knowing when it is turned off except when you stop playing on the speaker ..
In one test, the log shows
[0xb7d780] main audio output warning: output date is not PTS date, Requesting resampling (4064431)
[0xb7d780] main audio output warning: audio drift is too big (4158308), dropping buffer
[0xb7d780] main audio output warning: audio drift is too big (4132185), dropping buffer
[0xb7d780] main audio output warning: audio drift is too big (4106063), dropping buffer
many times, but never resynchronizes.
Is there any way of knowing when the client receives data from the server? or when disconnected? to kill the process and start it again vlc.
Thanks for being up here. pardon my English translate
HTTP streaming audio I'm testing on a corporate WAN (wireles architecture), each so I have disconnects and I need the vlc client loses the connection autoreconecte when .. I tried different options like "- http-reconnect" and "- http-continuous", but the client does not reconnect vlc (puts the stop or play but no audio)
The parameters of the server: vlc -vvv *.mp3 --loop --sout '#gather:transcode{vcodec=none,acodec=mp3,ab=32,channels=1,samplerate=22050}:http{mux=raw,dst=:8080/http}' -sout-keep
The parameters of the client: vlc-vvv http://myIPServer:8080/http ': normvol' - http-reconnect - http-caching 5000 - http-continuous
Not sure if the "- http-reconnect" do what I need or I am very wrong.
I thought about making a script that reiniciae the vlc client, but not as knowing when it is turned off except when you stop playing on the speaker ..
In one test, the log shows
[0xb7d780] main audio output warning: output date is not PTS date, Requesting resampling (4064431)
[0xb7d780] main audio output warning: audio drift is too big (4158308), dropping buffer
[0xb7d780] main audio output warning: audio drift is too big (4132185), dropping buffer
[0xb7d780] main audio output warning: audio drift is too big (4106063), dropping buffer
many times, but never resynchronizes.
Is there any way of knowing when the client receives data from the server? or when disconnected? to kill the process and start it again vlc.
Thanks for being up here. pardon my English translate