mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-24 08:58:08 +00:00
Terminate the connection if we can't receive a key frame in 10 seconds
This commit is contained in:
@@ -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