rtpbin: use running-time for NTP time
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Oct 2012 10:17:32 +0000 (12:17 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Oct 2012 10:26:05 +0000 (12:26 +0200)
commit1cebcfa8c238affe188c9411fd54b633e1526b97
tree54abbd926e5eeb400bef7eb0f5f0ffcd2919d712
parent5ec642d0c31e79275213d17ef0926f028b873417
rtpbin: use running-time for NTP time

When use-pipeline-clock is set, use the running-time of the
pipeline to calculate the NTP timestamps. This method would previously
only work when the base-time is set to 0 but with this change it can
also work with different offsets and we can also implement pause/resume
of the sender and receiver now.
gst/rtpmanager/gstrtpbin.c
gst/rtpmanager/gstrtpsession.c