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:
@@ -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