https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80974 | file | 2007-08-27 10:20:31 -0300 (Mon, 27 Aug 2007) | 4 lines
(closes issue #10562)
Reported by: idkpmiller
Correct jitter value output in the CLI to be as expected.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80975
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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);
}