Standardize connection timeouts to 10 seconds

This commit is contained in:
Cameron Gutman 2016-01-04 23:54:25 -06:00
parent 8c663cc84a
commit 0b9e7aa05b
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ public class ControlStream implements ConnectionStatusListener {
private static final int PORT = 47995;
private static final int CONTROL_TIMEOUT = 5000;
private static final int CONTROL_TIMEOUT = 10000;
private static final int IDX_START_A = 0;
private static final int IDX_REQUEST_IDR_FRAME = 0;

View File

@ -22,7 +22,7 @@ public class ControllerStream {
private final static int PORT = 35043;
private final static int CONTROLLER_TIMEOUT = 3000;
private final static int CONTROLLER_TIMEOUT = 10000;
private ConnectionContext context;

View File

@ -15,7 +15,7 @@ import com.tinyrtsp.rtsp.parser.RtspStream;
public class RtspConnection {
public static final int PORT = 48010;
public static final int RTSP_TIMEOUT = 5000;
public static final int RTSP_TIMEOUT = 10000;
private int sequenceNumber = 1;
private int sessionId = 0;