[Android] Increase renderers discoverer retrycount

Geoffrey Métais git at videolan.org
Thu Feb 8 17:01:05 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb  8 16:59:29 2018 +0100| [54bac97b584b34d350533244263267af2c6c8835] | committer: Geoffrey Métais

Increase renderers discoverer retrycount

> https://code.videolan.org/videolan/vlc-android/commit/54bac97b584b34d350533244263267af2c6c8835
---

 vlc-android/src/org/videolan/vlc/RendererDelegate.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/RendererDelegate.kt b/vlc-android/src/org/videolan/vlc/RendererDelegate.kt
index f81d1adeb..5d295b036 100644
--- a/vlc-android/src/org/videolan/vlc/RendererDelegate.kt
+++ b/vlc-android/src/org/videolan/vlc/RendererDelegate.kt
@@ -61,7 +61,7 @@ object RendererDelegate : RendererDiscoverer.EventListener, ExternalMonitor.Netw
             val rd = RendererDiscoverer(libVlc, discoverer.name)
             mDiscoverers.add(rd)
             rd.setEventListener(this at RendererDelegate)
-            retry { rd.start() }
+            retry(5, 1000L) { rd.start() }
         }
     }
 



More information about the Android mailing list