diff --git a/src/rtp/rtp.c b/src/rtp/rtp.c index e889f86c8..d84d043cf 100644 --- a/src/rtp/rtp.c +++ b/src/rtp/rtp.c @@ -199,7 +199,7 @@ static void udp_recv_handler(const struct sa *src, struct mbuf *mb, void *arg) pt = mbuf_buf(mb)[1] & 0x7f; - if (64 <= pt && pt <= 95) { + if (rtp_pt_is_rtcp(pt)) { rtcp_recv_handler(src, mb, arg); return; }