aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VideoPlayer.cpp')
-rw-r--r--src/VideoPlayer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index b88789d..9845442 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -12,8 +12,8 @@
#include <fcntl.h>
#include <signal.h>
-const int RETRY_TIME_MS = 1000;
-const int MAX_RETRIES_CONNECT = 5;
+const int RETRY_TIME_MS = 500;
+const int MAX_RETRIES_CONNECT = 10;
const int READ_TIMEOUT_MS = 200;
namespace QuickMedia {
@@ -136,9 +136,9 @@ namespace QuickMedia {
}
VideoPlayer::Error VideoPlayer::update() {
- int max_retries_find_window = 10;
+ int max_retries_find_window = 20;
if(use_tor)
- max_retries_find_window = 30;
+ max_retries_find_window = 60;
if(ipc_socket == -1)
return Error::INIT_FAILED;