mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-30 01:34:05 +00:00
Terminate the connection if we can't receive a key frame in 10 seconds
This commit is contained in:
1 parent
a89fcb8a46
commit
1b022a0d05
5 files changed
+34
-10
No files matched your search
@@ -181,8 +181,6 @@ static void ReceiveThreadProc(void* context) {
|
||||
}
|
||||
|
||||
if (!receivedDataFromPeer) {
|
||||
// We've received data, so we can stop sending our ping packets
|
||||
// as quickly, since we're now just keeping the NAT session open.
|
||||
receivedDataFromPeer = 1;
|
||||
Limelog("Received first audio packet after %d ms\n", waitingForAudioMs);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user