[gst-devel] patch udp plugin

Wim Taymans wim.taymans at chello.be
Thu Mar 21 12:46:51 CET 2002


On Thu, 2002-03-21 at 21:14, Jim Thornton wrote:
> > First off: great work! Thanks for helping!
> 
> Thanks
> 
> > I don't think it shouldn't. The receiving client should just read UDP
> > sockets when it needs to, you shouldn't wait on the server side or
> > you'll get extremely weird sync behaviour (I think). The client side
> > will temporarily stop reading packets when it needs to wait for the
> > clock.
> 
> Yeah, this is what one would think.  The problem is that with the simple UDP
> transport, there is no feedback connection from the receiver to the sender
> for flow control.  The sender just sends data as fast as it can and much of
> it appears to get dropped (presumably fills up what the kernel is willing to
> buffer for the receiver then drops everything else).  Clocking the data out
> at the playback rate from the sender at least assures that this will not

Yes, the sender should wait on the clock as to not flood the network. 

Wim

> happen.  This is what the RTP plugin appears to do as well.  I've got some
> fixes there also, but haven't got them assembled yet.
> 
> Thanks,
> 
> Jim
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 







More information about the gstreamer-devel mailing list