--ipv4-timeout doesn't work?
Posted: 04 Sep 2007 16:53
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?
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?