Skip to content

Commit

Permalink
rtp: use rtp_pt_is_rtcp() for RTCP demultiplexing (baresip#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Nov 30, 2024
1 parent ef29e79 commit 88b1b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtp/rtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 88b1b07

Please sign in to comment.