GNOME Bugzilla – Bug 424713
tcpserver/tcpclient with ximagesink, stream start is delayed
Last modified: 2007-10-17 16:39:08 UTC
Please describe the problem: When using a tcpserversink and a tcpclientsrc outputting to an ximagesink/xvimagesink the output window displays one frame then freezes for a while before playing the stream. Steps to reproduce: 1. run "gst-launch videotestsrc ! video/x-raw-yuv,format=\(fourcc\)I420 ! tcpserversink port=1234 protocol=gdp" 2. run "gst-launch tcpclientsrc protocol=gdp port=1234 ! ximagesink" Actual results: Window popups with one frame from the videotest, freezing with it for a few seconds Expected results: Window popups with the videotest stream being played Does this happen every time? Yes, different freeze lengths though. Other information:
This is intended behaviour. What happens is that the buffers (along with timestamps) are reconstructed at the receiver side and then displayed according to the receiver clock, which is totally different from the sender clock or base_time. To get this pipeline working as intended, the app should distribute the same clock to both pipelines (or use GstNetTimeProvider, GstNetClientClock) and set the same base_time on both pipelines.