vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Jan  9 
16:14:23 2018 +0100| [1ec14ba0ed6576878bfe99b123161a7e1e6a60fe] | committer: 
Hugo Beauzée-Luyssen

microdns: Adjust delays.

Consider a device gone after 3 announce were sent, and refresh a bit
more often

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ec14ba0ed6576878bfe99b123161a7e1e6a60fe
---

 modules/services_discovery/microdns.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/services_discovery/microdns.c 
b/modules/services_discovery/microdns.c
index c38e321b86..368309f1bd 100644
--- a/modules/services_discovery/microdns.c
+++ b/modules/services_discovery/microdns.c
@@ -46,8 +46,8 @@ VLC_RD_PROBE_HELPER( "microdns_renderer", "mDNS renderer 
Discovery" )
 
 #define CFG_PREFIX "sd-microdns-"
 
-#define LISTEN_INTERVAL INT64_C(20000000) /* 20 seconds */
-#define TIMEOUT (LISTEN_INTERVAL + INT64_C(5000000)) /* interval + 5 seconds */
+#define LISTEN_INTERVAL INT64_C(15000000) /* 15 seconds */
+#define TIMEOUT (3 * LISTEN_INTERVAL + INT64_C(5000000)) /* 3 * interval + 5 
seconds */
 
 /*
  * Module descriptor

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to