Udp streaming

enricom enri_marne87 at msn.com
Mon May 21 00:45:14 PDT 2012


Yes, thank you, I had made a mistake in declaring the correct size...but how
can I insert custom data in the data field of this buffer? Because I need to
send the receiver a time value and a string, but I can't understand how to
map them into my buffer...






Tim-Philipp Müller-2 wrote
> 
> On Thu, 2012-05-17 at 02:14 -0700, enricom wrote:
> 
>> Hello, I'm trying to use udpsink to send a buffer to another user. So far
>> I've created the buffer, set the size and injected it through appsrc that
>> is
>> linked to an identity element. By checking the handoff signal I found
>> that
>> the buffer is pushed correctly, but then the udpsink element (linked to
>> the
>> identity one) doesn't send anything. Unfortunately I've not been able to
>> find whether I have to set some properties on udpsink in order to make it
>> stream a non-traditional buffer (it doesn't contain any video or audio,
>> but
>> only a value)..
> 
> Check the GST_DEBUG=*sink:5 log, perhaps udpsink is dropping the buffer.
> 
> You could also try setting the "sync" property on udpsink to FALSE.
> 
> Cheers
>  -Tim
> 
> _______________________________________________
> 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/Udp-streaming-tp4642722p4647837.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list