[svn-commits] oej: trunk r248108 - /trunk/res/res_rtp_asterisk.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Feb 20 16:37:26 CST 2010


Author: oej
Date: Sat Feb 20 16:37:22 2010
New Revision: 248108

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248108
Log:
Improve support for RTCP reports without report blocks

Modified:
    trunk/res/res_rtp_asterisk.c

Modified: trunk/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_rtp_asterisk.c?view=diff&rev=248108&r1=248107&r2=248108
==============================================================================
--- trunk/res/res_rtp_asterisk.c (original)
+++ trunk/res/res_rtp_asterisk.c Sat Feb 20 16:37:22 2010
@@ -1585,6 +1585,10 @@
 		}
 
 		i += 2; /* Advance past header and ssrc */
+		if (rc == 0 && pt == RTCP_PT_RR) {      /* We're receiving a receiver report with no reports, which is ok */
+			position += (length + 1);
+			continue;
+		}
 
 		switch (pt) {
 		case RTCP_PT_SR:




More information about the svn-commits mailing list