Page 1 of 1

--ipv4-timeout doesn't work?

Posted: 04 Sep 2007 16:53
by mangoo
I connect VLC (svn version) to several network cameras, defined in a playlist file.

Sometimes, a single camera is not reachable for some reason, and everything breaks - VLC waits for ages to connect to a camera that isn't there.

I noticed there is a "--ipv4-timeout" option, but it doesn't seem to work - setting it to 1 doesn't change anything.

In the example below, camera "192.168.10.12" is not there; I would like VLC to skip it if it can't connect to it for 1 second, and go to the next camera.

vlc -v --ipv4-timeout 1 --run-time 15 --sout-keep rtsp://192.168.10.12/live.sdp rtsp://192.168.10.13/live.sdp

Unfortunately, VLC just seem to hang forever. What's the meaning of "--ipv4-timeout"? Is there an option which would tell VLC to skip an item on the list if it can't be reached for more than X seconds?

Re: --ipv4-timeout doesn't work?

Posted: 09 Sep 2007 19:31
by RĂ©mi Denis-Courmont
The RTSP client is actually Live555, which knows nothing about VLC ipv4-timeout.