From 35034403937144c36d712ee1a4e8f3743c56ca8d Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Sat, 30 Nov 2024 13:57:02 +0100 Subject: [PATCH] rtp: use rtp_pt_is_rtcp() for RTCP demultiplexing --- src/rtp/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }