projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d80349
)
Improve support for RTCP reports without report blocks
author
Olle Johansson
<oej@edvina.net>
Sat, 20 Feb 2010 22:37:22 +0000
(22:37 +0000)
committer
Olle Johansson
<oej@edvina.net>
Sat, 20 Feb 2010 22:37:22 +0000
(22:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@248108
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_rtp_asterisk.c
patch
|
blob
|
history
diff --git
a/res/res_rtp_asterisk.c
b/res/res_rtp_asterisk.c
index
e06daa5
..
d8a2791
100644
(file)
--- a/
res/res_rtp_asterisk.c
+++ b/
res/res_rtp_asterisk.c
@@
-1585,6
+1585,10
@@
static struct ast_frame *ast_rtcp_read(struct ast_rtp_instance *instance)
}
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: