Only output debug information related to RTCP timestamps when RTCP debug

is turned on (issue #10066, patch by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-06-27 16:34:24 +00:00
parent 2294156c9d
commit d528f7791d

View File

@@ -942,7 +942,7 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp)
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",