[asterisk-commits] russell: branch 1.4 r72112 - /branches/1.4/main/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 27 11:34:24 CDT 2007


Author: russell
Date: Wed Jun 27 11:34:24 2007
New Revision: 72112

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72112
Log:
Only output debug information related to RTCP timestamps when RTCP debug
is turned on (issue #10066, patch by me)

Modified:
    branches/1.4/main/rtp.c

Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=72112&r1=72111&r2=72112
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Wed Jun 27 11:34:24 2007
@@ -942,7 +942,7 @@
 						rtp->rtcp->maxrtt = rttsec;
 					if (rtp->rtcp->minrtt>rttsec)
 						rtp->rtcp->minrtt = rttsec;
-				} else {
+				} else if (rtcp_debug_test_addr(&sin)) {
 					ast_verbose("Internal RTCP NTP clock skew detected: "
 							   "lsr=%u, now=%u, dlsr=%u (%d:%03dms), "
 							   "diff=%d\n",




More information about the asterisk-commits mailing list