Internal data flow error with TCP

doon don-prog at mail.ru
Fri Jul 24 12:42:28 PDT 2015


Thanks for the explanation!
Tim Müller wrote
> On Thu, 2015-07-23 at 18:02 -0700, doon wrote: 
> 
> Hi,
> 
>> I use these pipelines for audio streaming:
>> 
>> gst-launch-1.0 filesrc location=test.ogg ! tcpclientsink port=7887
>> gst-launch-1.0 tcpserversrc port=7887 ! oggdemux ! vorbisdec !
>> audioconvert
>> ! autoaudiosink
>> 
>> All works fine, but when I use this:
>> 
>> gst-launch-1.0 filesrc location=test.ogg ! oggdemux ! vorbisdec !
>> tcpclientsink port=7887
>> gst-launch-1.0 tcpserversrc port=7887 ! audioconvert ! autoaudiosink
>> 
>> I get: *ERROR: from element
>> /GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0: Internal data flow
>> error.*
>> 
>> But tcpclientsink and tcpserversrc have Capabilities: ANY, so why I get
>> error?
> 
> audioconvert will reject the data, because it has not received a CAPS
> event so it doesn't know what format the data is in.
> 
> You will need an audioparse element after tcpserversrc and set
> properties appropriately. Alternatively, add a gdppay before the sink
> and a gdpdepay after the src.
> 
> Cheers
>  -Tim
> 
> -- 
> Tim Müller, Centricular Ltd - http://www.centricular.com
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Internal-data-flow-error-with-TCP-tp4672823p4672843.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list