[asterisk-bugs] [Asterisk 0015585]: RTCP jitter incorrect

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 14 07:13:51 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15585 
====================================================================== 
Reported By:                viraptor
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15585
Category:                   Core/RTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-26 13:40 CDT
Last Modified:              2011-02-14 07:13 CST
====================================================================== 
Summary:                    RTCP jitter incorrect
Description: 
RTCP IA jitter field seems to be calculated incorrectly. The code in
res_rtp_asterisk says:

rtcpheader[5] = htonl((unsigned int)(rtp->rxjitter * 65536.));

Where (rtp->rxjitter) seems to be calculated based on local time (instead
of rtp timestamps), so it's expressed in seconds. If that's true, then
(rtp->rxjitter) should be multiplied by (rate) instead to get the proper
value included in RTCP.

That's the case since 1.4 till the current svn-trunk.
====================================================================== 

---------------------------------------------------------------------- 
 (0131930) oej (manager) - 2011-02-14 07:13
 https://issues.asterisk.org/view.php?id=15585#c131930 
---------------------------------------------------------------------- 
Ping. This is interesting. I've realized that Jitter is all wrong in my
pinefrog work and this issue gives a lot of good feedback I had not seen
before. Thanks. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-14 07:13 oej            Note Added: 0131930                          
======================================================================




More information about the asterisk-bugs mailing list