[gst-devel] UDPSRC BUG
gerecke at gmail.com
Tue Sep 15 22:18:26 CEST 2009
I can confirm that udpsrc is broken on Windows and I'm willing to test fixes.
I've just spent more time than I'd like to admit trying to get a multi-cast
receive working on Windows XP using this simple pipeline:
gst-launch udpsrc uri="udp://126.96.36.199:1234" ! fakesink
I tried the 0.10.15 udpsrc plugin with this patch
(https://forja.rediris.es/forum/message.php?msg_id=180551) and had no
success with failure on the bind. I backed up to 0.10.8 (before IP6
support) and still had failure on the bind. I hard coded the local address
to INADDR_ANY right before the bind and success!
/* if (src->multi_addr.imr_multiaddr.s_addr)
src->myaddr.sin_addr.s_addr = src->multi_addr.imr_multiaddr.s_addr;
src->myaddr.sin_addr.s_addr = INADDR_ANY;
I tried hardwiring INADDR_ANY with the patched 0.10.15 version and ran with
no crashes, but also received no data, so right now I'm back to 0.10.8.
Point me to some code/patches and I'll test on W2K3, XP and Windows 7. I'm
building using the OSS build system as opposed to mingw, hopefully that's
not a problem.
Michael Smith-59 wrote:
> On Tue, Sep 15, 2009 at 8:52 AM, Julien Isorce <julien.isorce at gmail.com>
>> Does this pipeline works: gst-launch-0.10.exe udpsrc port=200 ! fakesink
>> If not, try to compile the udp plugin with mingw
>>>>Then I build the newest Trunk Version form the SVN. The result is the
>> if you are currently using VS.
>> (with the current git, udpsink fails with this error (and compiled with
>> WARN multiudpsink
>> gstmultiudpsink.c:790:gst_multiudpsink_init_send:<udpsink0> error: Could
>> set TTL socket option (0): No error
> I believe this patch makes multiudpsink work on windows:
> Note that I'm still waiting for more windows testing (particularly on
> vista), and hopefully a code review from someone who knows this stuff.
> udpsrc might also have similar issues, I'm not sure - I can fix these
> if people are willing to test the code and comment on that bug.
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
View this message in context: http://www.nabble.com/UDPSRC-BUG-tp25455747p25461052.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel