[asterisk-commits] file: branch 1.4 r80974 - /branches/1.4/main/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 27 08:20:32 CDT 2007


Author: file
Date: Mon Aug 27 08:20:31 2007
New Revision: 80974

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80974
Log:
(closes issue #10562)
Reported by: idkpmiller
Correct jitter value output in the CLI to be as expected.

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=80974&r1=80973&r2=80974
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Mon Aug 27 08:20:31 2007
@@ -2093,7 +2093,7 @@
 		ast_verbose("  SSRC:		 %u\n", rtp->ssrc);
 		ast_verbose("  Sent packets:	 %u\n", rtp->txcount);
 		ast_verbose("  Lost packets:	 %u\n", rtp->rtcp->reported_lost);
-		ast_verbose("  Jitter:		 %u\n", rtp->rtcp->reported_jitter);
+		ast_verbose("  Jitter:		 %u\n", rtp->rtcp->reported_jitter / (unsigned int)65536.0);
 		ast_verbose("  SR-count:	 %u\n", rtp->rtcp->sr_count);
 		ast_verbose("  RTT:		 %f\n", rtp->rtcp->rtt);
 	}




More information about the asterisk-commits mailing list