Added missing RTP packet error message.

This commit is contained in:
Rolf Ahrenberg 2014-03-30 22:58:43 +03:00
parent 7b58d9f28f
commit 88b2ad9244
1 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,11 @@ void cSatipSocket::Close(void)
sequenceNumberM = -1;
memset(&sockAddrM, 0, sizeof(sockAddrM));
}
if (packetErrorsM) {
info("detected %d RTP packet errors", packetErrorsM);
packetErrorsM = 0;
lastErrorReportM = time(NULL);
}
}
bool cSatipSocket::Flush(void)