mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Improve support for RTCP reports without report blocks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@248108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1585,6 +1585,10 @@ static struct ast_frame *ast_rtcp_read(struct ast_rtp_instance *instance)
|
|||||||
}
|
}
|
||||||
|
|
||||||
i += 2; /* Advance past header and ssrc */
|
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) {
|
switch (pt) {
|
||||||
case RTCP_PT_SR:
|
case RTCP_PT_SR:
|
||||||
|
Reference in New Issue
Block a user