HTTP stream does not disconnect if internet fails.
Posted: 25 Feb 2008 18:25
Hello.
I have a little problem. Im trying to stream Tv from a capture card via internet. Everything works fine exept one thing. When the stream is beeing played on the client, it does not disconnect if the internet fails/drops. I live on Gran Canaria and the internet lines we have here is crappy. Once or twice a day the adsl gets disconnected from the central and i have to wait 1-2 minutes before its up again. I am currently using the h264 codec to transcode with and MPEG-TS as encapsulation.
When my internet gets disconnected i get this message from vlc: main error: recv failed (10054)
this message keeps coming up until i press "Stop" and manualy starts the stream again.
Is there any way i get the VLC client to disconnect when its not receiving anything ?
What i want is that VLC disconnects from the stream and then tries to reconnect or loop thru the playlist and try to start any of the same stream.
I have a little problem. Im trying to stream Tv from a capture card via internet. Everything works fine exept one thing. When the stream is beeing played on the client, it does not disconnect if the internet fails/drops. I live on Gran Canaria and the internet lines we have here is crappy. Once or twice a day the adsl gets disconnected from the central and i have to wait 1-2 minutes before its up again. I am currently using the h264 codec to transcode with and MPEG-TS as encapsulation.
When my internet gets disconnected i get this message from vlc: main error: recv failed (10054)
this message keeps coming up until i press "Stop" and manualy starts the stream again.
Is there any way i get the VLC client to disconnect when its not receiving anything ?
What i want is that VLC disconnects from the stream and then tries to reconnect or loop thru the playlist and try to start any of the same stream.