Skip to content
  • Wim Taymans's avatar
    rtpjitterbuffer: fix race when updating the next_seqnum · 00056965
    Wim Taymans authored
    If we were not waiting for the missing seqnum when we insert the lost packet
    event in the jitterbuffer, we end up not updating the next_seqnum and wait
    forever for the lost packets to arrive. Instead, keep track of the amount of
    packets contained by the jitterbuffer item and update the next expected
    seqnum only after pushing the buffer/event. This makes sure we correctly handle
    GAPS in the sequence numbers.
    00056965