gst/rtpmanager/: Also keep track of the first buffer timestamp together with the...
authorWim Taymans <wim.taymans@gmail.com>
Fri, 25 Apr 2008 08:15:58 +0000 (08:15 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 25 Apr 2008 08:15:58 +0000 (08:15 +0000)
commit9285e110ccb5b062926557f4ca5e682ea796267e
treee39854dc6429e3ada1e7ad54ad98cc6ea9ccc736
parentaf19b9121617cb5be2abf3ac4c3b035343c72da0
gst/rtpmanager/: Also keep track of the first buffer timestamp together with the first

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate),
(gst_rtp_bin_sync_chain):
* gst/rtpmanager/rtpsession.c: (update_arrival_stats),
(rtp_session_process_sr), (rtp_session_on_timeout):
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(calculate_jitter):
* gst/rtpmanager/rtpsource.h:
* gst/rtpmanager/rtpstats.h:
Also keep track of the first buffer timestamp together with the first
RTP timestamp as they both are needed to construct the timing of
outgoing packets in the jitterbuffer and are therefore also needed to
manage lip-sync. This fixes lip-sync if the first RTP packets arrive
with a wildly different gap.
ChangeLog
gst/rtpmanager/gstrtpbin.c
gst/rtpmanager/rtpsession.c
gst/rtpmanager/rtpsource.c
gst/rtpmanager/rtpsource.h
gst/rtpmanager/rtpstats.h