[gstreamer-bugs] [Bug 599292] Synchronizing two RTP streams from different devices using RTCP is inaccurate.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 22 05:46:59 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=599292
  GStreamer | gst-plugins-good | git

--- Comment #1 from Per Smitt <slow.racoon at gmail.com> 2009-10-22 12:46:55 UTC ---
Created an attachment (id=146038)
 View: https://bugzilla.gnome.org/attachment.cgi?id=146038
 Review: https://bugzilla.gnome.org/review?bug=599292&attachment=146038

Solution suggestion using the pipeline clock to calculate the RTP timestamp and
g_get_current_time to get the NTP time

Here is the same analysis as before but made with this patch applied.

RTP PACKAGE (#1)
RTP: 605386774
NTP: 51:33.393658

RTP PACKAGE (#2)
RTP: 605593369
NTP: 51:35.689204

RTCP PACKAGE (#3)
RTP: 605699781
NTP: 51:36.8735

DIFF (RTP2-RTP1): 206595 / 90000 = 2.2955
DIFF (NTP2-NTP1): 2.295546
Here the time difference between two RTP packages are the same.

DIFF (RTP3-RTP1): 313007 / 90000 = 3.477855555555555556
DIFF (NTP3-NTP1): 3.479842
Here the difference between a RTP and RTCP package is much more
accurate than before.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list