jitterbuffer: only timeout EXPECTED timers on gap

Only timeout the EXPECTED timers when we detect a large seqnum gap.
This commit is contained in:
Wim Taymans 2013-08-27 09:33:03 +02:00
parent 8cce960372
commit dd4af0d11c

View file

@ -1604,7 +1604,7 @@ update_timers (GstRtpJitterBuffer * jitterbuffer, guint16 seqnum,
} else if (gap > priv->rtx_delay_reorder) {
/* max gap, we exceeded the max reorder distance and we don't expect the
* missing packet to be this reordered */
if (test->rtx_retry == 0)
if (test->rtx_retry == 0 && test->type == TIMER_TYPE_EXPECTED)
reschedule_timer (jitterbuffer, test, test->seqnum, -1);
}
}