mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Standardize connection timeouts to 10 seconds
This commit is contained in:
parent
8c663cc84a
commit
0b9e7aa05b
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user