network sync a looping gstreamer videos <p>I am trying to frame sync two looping videos over a lan. Both videos have the same length but the resolution might differ. The following code works already for the first run:</p> <p><a href="https://gist.github.com/underdoeg/7104319" rel="nofollow">server code</a></p> <p><a href="https://gist.github.com/underdoeg/7104290" rel="nofollow">client code</a></p> <p>As soon as the video reaches GST_MESSAGE_EOS it starts over which is fine. But the client however will keep on reaching EOS all the time. I think this is because the servers clock is already past the clients video length. </p> <p>How can I fix this. Can I somehow reset the servers base time on EOS? And if so how?</p>