mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
rtpjitterbuffer: optimize timer update
When we are not doing retransmission, we just need to find the current seqnum so we can stop when we found it.
This commit is contained in:
parent
b2c9646acb
commit
eba3bba524
1 changed files with 4 additions and 0 deletions
|
@ -1823,6 +1823,10 @@ update_timers (GstRtpJitterBuffer * jitterbuffer, guint16 seqnum,
|
|||
GST_DEBUG ("found timer for current seqnum");
|
||||
/* the timer for the current seqnum */
|
||||
timer = test;
|
||||
/* when no retransmission, we can stop now, we only need to find the
|
||||
* timer for the current seqnum */
|
||||
if (!priv->do_retransmission)
|
||||
break;
|
||||
} 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 */
|
||||
|
|
Loading…
Reference in a new issue