Make sure we support RTCP compound messages with zero reports

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Olle Johansson 16 years ago
parent afb69ed7c8
commit b39082c470

@ -944,6 +944,10 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp)
}
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:

Loading…
Cancel
Save