[farsight2/master] rawudp: Bring upnp discovery timeout down to 2 seconds

Olivier Crête olivier.crete at collabora.co.uk
Mon Oct 26 06:52:55 PDT 2009


---
 transmitters/rawudp/fs-rawudp-component.c          |    2 +-
 transmitters/rawudp/fs-rawudp-stream-transmitter.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index 645152d..3aabeb1 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -64,7 +64,7 @@
 #define GST_CAT_DEFAULT fs_rawudp_transmitter_debug
 
 #define DEFAULT_UPNP_MAPPING_TIMEOUT (600)
-#define DEFAULT_UPNP_DISCOVERY_TIMEOUT (10)
+#define DEFAULT_UPNP_DISCOVERY_TIMEOUT (2)
 
 /* Signals */
 enum
diff --git a/transmitters/rawudp/fs-rawudp-stream-transmitter.c b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
index 9119054..7fa2a4f 100644
--- a/transmitters/rawudp/fs-rawudp-stream-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
@@ -81,7 +81,7 @@
 #define GST_CAT_DEFAULT fs_rawudp_transmitter_debug
 
 #define DEFAULT_UPNP_MAPPING_TIMEOUT (600)
-#define DEFAULT_UPNP_DISCOVERY_TIMEOUT (10)
+#define DEFAULT_UPNP_DISCOVERY_TIMEOUT (2)
 #define DEFAULT_UPNP_REQUEST_TIMEOUT (10)
 
 /* Signals */
-- 
1.5.6.5



More information about the farsight-commits mailing list