Fix fallback handling of RFI on older servers

This commit is contained in:
Cameron Gutman 2022-10-03 18:25:08 -05:00
parent 3593dea585
commit 4c62b5d23a

View File

@ -733,7 +733,11 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length,
}
else {
// Hope for the best with older servers
waitingForRefInvalFrame = false;
if (waitingForRefInvalFrame) {
connectionDetectedFrameLoss(startFrameNumber, frameIndex - 1);
waitingForRefInvalFrame = false;
waitingForNextSuccessfulFrame = false;
}
}
if (APP_VERSION_AT_LEAST(7, 1, 446)) {