[gst-devel] TCP networking help.

Thomas Vander Stichele thomas at apestaart.org
Fri Dec 9 00:11:07 CET 2005


Hi,

> >You could do a bunch of things:
> >
> >a) put in an element in between that "knows" what sort of data it is so
> >that it can timestamp the data correctly
> >  
> >
> Which element would do that?
> I am testing with .ogg and then I will move to mpeg4 in avi file, then 
> theora.

it depends on the data, because you need some element that can interpret
the data somehow and timestamp it correctly.  In the case of ogg, you
would need an element that knows about each codec that can be in the ogg
stream and interprets the granulepos so that it can timestamp the
buffers.

Such an element has not been written yet afaik.

> >c) use tcpserversrc on the consumer pipeline, which will block until it
> >receives data, then start up the serving pipeline with tcpclientsink.
> >This configuration will in fact block until the sending side starts.
> >
> >  
> >
> Is there away to throttle  the TCP stream using windowing or ack from 
> the client side? or do I have to create my own handshaking protocol.

I don't understand what you're asking here ? On the client side the
pipeline will wait for the server to start.

Thomas


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
I've been told
only fools rush in
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/







More information about the gstreamer-devel mailing list