+ private static final Logger logger = LogManager.getLogger();\r
+\r
+ /**\r
+ * Timeout for service lookup etc. This timeout (milliseconds) should be more\r
+ * strict than {@link #HTTP_READ_TIMEOUT} to avoid connecting to\r
+ * cdm servers when the network quality is too bad.\r
+ * Note AM: IMO we should not be to strict, sometimes services do not respond too fast\r
+ * during the first call (e.g. test server), therefore I put this up from 1 to 3 sec.\r
+ * Better we should inform the user that the connection might be of low quality\r
+ * instead of making the connection completely unavailable.\r
+ */\r
+ public static final int HTTP_READ_TIMEOUT_MIN = 3000; // 3 seconds\r