libosmo-cc: Fix critical bug in RTCP handling
Upon an RTCP read event, read from RTCP socket and not from RTP socket.
This commit is contained in:
1 parent
28a297f97d
commit
5c20a3e8b7
1 file changed
+1
-1
+1
-1
@@ -422,7 +422,7 @@ static int rtcp_listen_cb(struct osmo_fd *ofd, unsigned int when)
|
|||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (when & OSMO_FD_READ) {
|
if (when & OSMO_FD_READ) {
|
||||||
rc = rtcp_receive(media->rtp_ofd.fd);
|
rc = rtcp_receive(media->rtcp_ofd.fd);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user