[svn-commits] mjordan: branch 1.8 r378967 - /branches/1.8/res/res_rtp_asterisk.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sun Jan 13 15:15:11 CST 2013
Author: mjordan
Date: Sun Jan 13 15:15:06 2013
New Revision: 378967
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=378967
Log:
Reset RTP timestamp; sequence number on SSRC change
In r370252 for ASTERISK-18404, Asterisk's handling of RTP was modified to
better account for out of order RTP packets. This was accomplished by using the
RTP timestamp and sequence number to check for out of order packets. However,
when a SSRC change occurs, the timestamp and sequence number will no longer
have any relation to the previously received packets. The variables tracking
the timestamp and sequence number therefore have to be reset.
(closes issue ASTERISK-20906)
Reported by: Eelco Brolman
patches:
dtmf_on_hold.patch uploaded by Eelco Brolman (license #6442)
Modified:
branches/1.8/res/res_rtp_asterisk.c
Modified: branches/1.8/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_rtp_asterisk.c?view=diff&rev=378967&r1=378966&r2=378967
==============================================================================
--- branches/1.8/res/res_rtp_asterisk.c (original)
+++ branches/1.8/res/res_rtp_asterisk.c Sun Jan 13 15:15:06 2013
@@ -2272,6 +2272,9 @@
f = ast_frisolate(&srcupdate);
AST_LIST_INSERT_TAIL(&frames, f, frame_list);
+
+ rtp->last_seqno = 0;
+ rtp->last_end_timestamp = 0;
}
rtp->rxssrc = ssrc;
More information about the svn-commits
mailing list