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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 3 17:56:00 CDT 2009


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
Target Version:             1.6.2.0
Asterisk Version:           SVN 
Regression:                 No 
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:              2009-09-03 17:56 CDT
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0110199) lmadsen (administrator) - 2009-09-03 17:56
 https://issues.asterisk.org/view.php?id=15585#c110199 
---------------------------------------------------------------------- 


More information about the asterisk-bugs mailing list