From e24081803b6e0e9f98d5c1c04f2e3ce137e689dd Mon Sep 17 00:00:00 2001 From: file Date: Mon, 27 Aug 2007 13:20:31 +0000 Subject: (closes issue #10562) Reported by: idkpmiller Correct jitter value output in the CLI to be as expected. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80974 f38db490-d61c-443f-a65b-d21fe96a405b --- main/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/rtp.c') diff --git a/main/rtp.c b/main/rtp.c index 4e4bde623..f4b058570 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -2093,7 +2093,7 @@ void ast_rtp_destroy(struct ast_rtp *rtp) 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); } -- cgit v1.2.3