jitterbuffer: only timeout EXPECTED timers on gap
Only timeout the EXPECTED timers when we detect a large seqnum gap.
This commit is contained in:
parent
8cce960372
commit
dd4af0d11c
@ -1604,7 +1604,7 @@ update_timers (GstRtpJitterBuffer * jitterbuffer, guint16 seqnum,
|
|||||||
} else if (gap > priv->rtx_delay_reorder) {
|
} else if (gap > priv->rtx_delay_reorder) {
|
||||||
/* max gap, we exceeded the max reorder distance and we don't expect the
|
/* max gap, we exceeded the max reorder distance and we don't expect the
|
||||||
* missing packet to be this reordered */
|
* 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);
|
reschedule_timer (jitterbuffer, test, test->seqnum, -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user