udpsink on win32

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

udpsink on win32

William Lee-7
Hi all,

Has anyone successfully used udpsink and udpsrc on win32 using the GStreamer Winbuild? 

I'm testing a simple pipeline

> gst-inspect-0.10.exe --gst-debug-level=3 videotestsrc ! udpsink port=5000

I'm see the following messages continuously being printed in the log

0:00:00.966000000 ←[335m 4240←[00m   01BA7008 ←[33;01mWARN ←[00m ←[00m        mu
ltiudpsink gstmultiudpsink.c:416:gst_multiudpsink_render:<udpsink0>←[00m client
01B616F8 gave error 0 (No error)

I have looked at the multiudpsink_render source code and printed the following out:

0:00:00.965000000 ←[335m 4240←[00m   01BA7008 ←[33;01mWARN ←[00m ←[00m        mu
ltiudpsink gstmultiudpsink.c:402:gst_multiudpsink_render:<udpsink0>←[00m SO_MAX_
MSG_SIZE = 65527 and BUFFER SIZE = 153600

It seems that the SO_MAX_MSG_SIZE of the datagram socket is set to 65527 bytes but the buffer being sent is 153600 bytes, so the sendto() call failed because the buffer exceeds the socket message size. 

Does anyone have a workaround? Is there any way to control the buffer size upstream? 

Thanks.

William

--

William Lee @ Breeze Capsule
Email: william at breezecapsule.com
Mobile: +44 7984 368 182

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel