Skip to content

Commit 1b187b5

Browse files
committed
MT#55283 trigger rekernel for SSRC-less streams
If a stream has been pushed to the kernel from anything other than RTP, even though RTP is expected, we get a forwarding entries without any SSRCs. This is valid, but once actual RTP is received, it needs to be passed on to user space, so that SSRC contexts can be set up. Possible fix for #1855 Change-Id: I51b82d3cf79cf66780fdde154bebe56e0f43174b
1 parent 2acf5a6 commit 1b187b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel-module/xt_RTPENGINE.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6374,7 +6374,7 @@ static unsigned int rtpengine46(struct sk_buff *skb, struct sk_buff *oskb,
63746374
// Look for matching SSRC index if any SSRC were given
63756375
ssrc_idx = target_find_ssrc(g, rtp.rtp_header->ssrc);
63766376
errstr = "SSRC mismatch";
6377-
if (ssrc_idx == -2)
6377+
if (ssrc_idx == -2 || (ssrc_idx == -1 && g->target.rtp))
63786378
goto out_error;
63796379

63806380
pkt_idx = rtp_packet_index(&g->decrypt_rtp, &g->target.decrypt, rtp.rtp_header, ssrc_idx,

0 commit comments

Comments
 (0)