mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-03 22:46:03 +00:00
Also timeout RTSP if no response is received on an established connection for 10 seconds
This commit is contained in:
@@ -57,6 +57,7 @@ public class RtspConnection {
|
||||
try {
|
||||
s.setTcpNoDelay(true);
|
||||
s.connect(new InetSocketAddress(context.serverAddress, PORT), RTSP_TIMEOUT);
|
||||
s.setSoTimeout(RTSP_TIMEOUT);
|
||||
|
||||
RtspStream rtspStream = new RtspStream(s.getInputStream(), s.getOutputStream());
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user