Skip to content

Commit 432821e

Browse files
funmancmassiot
authored andcommitted
rtcpfb: fix lookup loop
Decrease packet counter and bump starting seqnum when retransmitting a packet
1 parent f72cb87 commit 432821e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/upipe-filters/upipe_rtcp_fb_receiver.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,12 @@ static void upipe_rtcpfb_lost_sub_n(struct upipe *upipe, uint16_t seq, uint16_t
299299
}
300300

301301
upipe_rtcpfb_output(upipe_super, uref_dup(uref), NULL);
302+
diff++;
303+
seq += diff;
304+
pkts -= diff;
305+
306+
if (pkts == 0)
307+
return;
302308
}
303309
}
304310

0 commit comments

Comments
 (0)