That being noted, I would advocate ditching all RTSP control connection
timeouts from our live555 plugins. Looking at strace, live555 waits
forever in the middle of receiving RTSP messages anyway.
$(EXTRACT_GZ)
patch -p0 < Patches/live-noapps.patch
patch -p0 < Patches/live-uselocale.patch
+ patch -p0 < Patches/live-win32-nonblock.patch
.live: live
ifdef HAVE_WIN32
--- /dev/null
+Copyright (C) 2009 Rémi Denis-Courmont. Licensed under GPLv2 or higher.
+diff -Nru live.orig/liveMedia/RTSPClient.cpp live/liveMedia/RTSPClient.cpp
+--- live.orig/liveMedia/RTSPClient.cpp 2009-04-05 20:38:11.000000000 +0300
++++ live/liveMedia/RTSPClient.cpp 2009-04-05 20:39:43.000000000 +0300
+@@ -1835,7 +1835,7 @@
+ }
+ if (connect(fInputSocketNum, (struct sockaddr*) &remoteName, sizeof remoteName) != 0) {
+ #if defined(__WIN32__) || defined(_WIN32)
+- if (errno != WSAEINPROGRESS) {
++ if (errno != WSAEWOULDBLOCK) {
+ #else
+ if (errno != EINPROGRESS) {
+ #endif