From 88b2ad9244e8f3c948cf7b142d05287096922287 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sun, 30 Mar 2014 22:58:43 +0300 Subject: [PATCH] Added missing RTP packet error message. --- socket.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/socket.c b/socket.c index 6199cac..cac6d2b 100644 --- a/socket.c +++ b/socket.c @@ -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)