mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-26 14:00:08 +00:00
Standardize connection timeouts to 10 seconds
This commit is contained in:
1 parent
8c663cc84a
commit
0b9e7aa05b
3 files changed
+3
-3
No files matched your search
@@ -19,7 +19,7 @@ public class ControlStream implements ConnectionStatusListener {
|
|||||||
|
|
||||||
private static final int PORT = 47995;
|
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_START_A = 0;
|
||||||
private static final int IDX_REQUEST_IDR_FRAME = 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 PORT = 35043;
|
||||||
|
|
||||||
private final static int CONTROLLER_TIMEOUT = 3000;
|
private final static int CONTROLLER_TIMEOUT = 10000;
|
||||||
|
|
||||||
private ConnectionContext context;
|
private ConnectionContext context;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import com.tinyrtsp.rtsp.parser.RtspStream;
|
|||||||
|
|
||||||
public class RtspConnection {
|
public class RtspConnection {
|
||||||
public static final int PORT = 48010;
|
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 sequenceNumber = 1;
|
||||||
private int sessionId = 0;
|
private int sessionId = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user