Players synchronization using GstNetTimeProvider

Jacob S jacobhameiri at gmail.com
Mon Oct 27 16:28:21 PDT 2014


I am trying to synchronize multiple players playing local video files ( on
different machines ) by using a GstNetTimeProvider. I manage to sync the
video but the audio starts with glitches and only after a few seconds gets
synced.

I am getting many of these warning:

0:00:01.781773068  1724 0000001F81936D80 WARN           audiobasesink
gstaudiobasesink.c:1288:gst_audio_base_sink_skew_slaving:<directsoundsink0>
correct clock skew 29731984 > 20000000
0:00:01.983255580  1724 0000001F81936D80 WARN           audiobasesink
gstaudiobasesink.c:1288:gst_audio_base_sink_skew_slaving:<directsoundsink0>
correct clock skew 27372635 > 20000000
0:00:02.285559807  1724 0000001F81936D80 WARN           audiobasesink
gstaudiobasesink.c:1288:gst_audio_base_sink_skew_slaving:<directsoundsink0>
correct clock skew 41467035 > 20000000

this is the time_server code :
https://www.dropbox.com/s/ggkcktwu99tkfbl/time_server.cpp?dl=0

this is the player code:
https://www.dropbox.com/s/pytaru389syty4i/player.cpp?dl=0

What am I doing wrong?

Thanks
Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141028/44f1ac85/attachment.html>


More information about the gstreamer-devel mailing list