gstreamer/gst/rtpmanager
Nicolas Dufresne 36771b75e9 rtpjittterbuffer: Port timers array to RtpTimerQueue
In this patch we now make use of the new RtpTimerQueue instead of the
old GArray. This required a lot of changes all over the place, some of
the important changes are that `timer->timeout` is no longer a PTS but
the actual timeout. This was required to get the RtpTimerQueue sorting
right. The applied offset is saved as `timer->offset`, this allow
retreiving back the PTS when needed.

The clockid updates only happens once per incoming packet. If the
currently schedule timer is before the earliest timer in the queue, we
no longer wakeup the thread. This way, if other timers get setup in the
meantime, this will reduce the number of wakup.

The timer loop code has been mostly rewritten, though the behaviour of
running the lost timers first has been kept (even though there is no
test to show what would be the side effect of doing this differently).

Fixes #608
2019-09-27 17:34:04 -04:00
..
gstrtpbin.c rtpbin: add request-jitterbuffer signal 2019-09-24 15:33:21 +00:00
gstrtpbin.h rtpbin: add request-jitterbuffer signal 2019-09-24 15:33:21 +00:00
gstrtpdtmfmux.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtpdtmfmux.h rtpmux: Fix FSF address 2012-12-16 16:36:39 +00:00
gstrtpfunnel.c rtpfunnel: forward correct segment when switching pad 2019-08-06 14:02:50 +00:00
gstrtpfunnel.h rtpfunnel: Stop using G_DECLARE_FINAL_TYPE 2018-11-13 00:37:11 +01:00
gstrtpjitterbuffer.c rtpjittterbuffer: Port timers array to RtpTimerQueue 2019-09-27 17:34:04 -04:00
gstrtpjitterbuffer.h rtpjitterbuffer: small optimizations 2014-04-29 16:21:44 +02:00
gstrtpmanager.c Initial commit of GstRtpFunnel 2018-10-15 14:20:58 +02:00
gstrtpmux.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtpmux.h doc: Fix some docstrings 2019-05-13 17:00:00 -04:00
gstrtpptdemux.c doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
gstrtpptdemux.h docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtprtxqueue.c doc: fix element section documentations 2019-05-25 16:57:31 +02:00
gstrtprtxqueue.h rtprtxqueue: implement handling of the max-size-time property 2017-04-11 09:44:33 +03:00
gstrtprtxreceive.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtprtxreceive.h rtprtxreceive: Wait until timeout to clear association requests 2014-05-04 22:36:59 -04:00
gstrtprtxsend.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtprtxsend.h rtprtxsend: run a new GstTask on the src pad 2014-01-21 14:54:01 +01:00
gstrtpsession.c rtpsession: add support for buffer lists on the recv path 2019-08-07 15:32:30 -04:00
gstrtpsession.h rtpsession: use the correct segment seqnum 2019-02-04 13:14:37 +00:00
gstrtpssrcdemux.c rtpssrcdemux: Avoid taking streamlock out-of-band 2019-06-04 09:26:06 -04:00
gstrtpssrcdemux.h rtpssrcdemux: Remove unused GstSegment 2013-04-02 23:42:41 -04:00
Makefile.am rtptimerqueue: Consolidate a data structure for timers 2019-09-27 17:34:04 -04:00
meson.build rtptimerqueue: Consolidate a data structure for timers 2019-09-27 17:34:04 -04:00
rtpjitterbuffer.c rtpjitterbuffer: Move item structure outside of the element 2019-09-27 13:02:16 -04:00
rtpjitterbuffer.h rtpjitterbuffer: Move item structure outside of the element 2019-09-27 13:02:16 -04:00
rtpsession.c rtpmanager: consider UDP and IP headers in bandwidth calculation 2019-08-02 17:22:51 +02:00
rtpsession.h rtpsession: Allow overriding NACK packet creation 2019-04-05 18:36:36 -04:00
rtpsource.c rtpsource: fix receiver source stats to consider previously queued packets 2019-08-02 17:22:51 +02:00
rtpsource.h rtpsession: Send as many nack seqnum as possible 2019-04-05 14:53:09 +00:00
rtpstats.c rtpjitterbuffer: don't try and calculate packet-rate if seqnum are jumping 2019-06-12 11:39:31 +02:00
rtpstats.h rtpmanager: consider UDP and IP headers in bandwidth calculation 2019-08-02 17:22:51 +02:00
rtptimerqueue.c rtptimerqueue: Consolidate a data structure for timers 2019-09-27 17:34:04 -04:00
rtptimerqueue.h rtpjittterbuffer: Port timers array to RtpTimerQueue 2019-09-27 17:34:04 -04:00