[asterisk-commits] oej: branch 1.4 r248106 - /branches/1.4/main/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Feb 20 16:25:49 CST 2010


Author: oej
Date: Sat Feb 20 16:25:42 2010
New Revision: 248106

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248106
Log:
Make sure we support RTCP compound messages with zero reports

Modified:
    branches/1.4/main/rtp.c

Modified: branches/1.4/main/rtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/rtp.c?view=diff&rev=248106&r1=248105&r2=248106
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Sat Feb 20 16:25:42 2010
@@ -944,6 +944,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 asterisk-commits mailing list