[Bug] udpsink is broken on windows

cee1 fykcee1 at gmail.com
Fri Nov 23 05:41:00 PST 2012


Hi all,

We've tried SDK version 2012.9, and found udpsink is broken on windows:

> gst-launch-0.10.exe videotestsrc ! udpsink host=239.192.0.1, and got
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could
not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(898): gst_multiudpsink_configure_client ():
/GstPipeline:pipeline0/GstUDPSink:udpsink0:
Could not join multicast group (10022): (null)

* The failure appears both on WinXP and Win7
* Seems a fixed bug, but it appears again:
https://bugzilla.gnome.org/show_bug.cgi?id=662181
* Update udp from gst-plugins-good to master version of the SDK repos,
no difference.

> gst-launch-0.10.exe videotestsrc ! udpsink, and got the following on Win7
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could
not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(908): gst_multiudpsink_configure_client ():
/GstPipeline:pipeline0/GstUDPSink:udpsink0:
Could not set TTL socket option (10022): (null)

The socket invocations seem correct on windows, strange...


Detailed debug message:
================================
gst-launch-0.10.exe videotestsrc ! udpsink host=239.192.0.1


(gst-launch-0.10:5804): Clutter-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
0:00:00.913052000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1061:gst_multiudpsink_add_internal:<GstUDPSink at 0B725148>
adding client on host localhost, port 4951
0:00:00.916053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1089:gst_multiudpsink_add_internal:<GstUDPSink at 0B725148>
add client with host localhost, port 4951
0:00:00.917053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1099:gst_multiudpsink_add_internal:<GstUDPSink at 0B725148>
added client on host localhost, port 4951
0:00:00.917053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1141:gst_multiudpsink_remove:<udpsink0> found 1
clients with host localhost, port 4951
0:00:00.917053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1145:gst_multiudpsink_remove:<udpsink0> remove
client with host localhost, port 4951
0:00:00.917053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1061:gst_multiudpsink_add_internal:<udpsink0> adding
client on host 239.192.0.1, port 4951
0:00:00.917053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1089:gst_multiudpsink_add_internal:<udpsink0> add
client with host 239.192.0.1, port 4951
0:00:00.917053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:1099:gst_multiudpsink_add_internal:<udpsink0> added
client on host 239.192.0.1, port 4951
Setting pipeline to PAUSED ...
0:00:00.917053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:936:gst_multiudpsink_init_send:<udpsink0> creating
sockets
0:00:00.918053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:945:gst_multiudpsink_init_send:<udpsink0> have
socket
0:00:00.918053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:988:gst_multiudpsink_init_send:<udpsink0> could not
get udp buffer size
0:00:00.918053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:868:gst_multiudpsink_configure_client:<udpsink0>
configuring client 0B87E0C0
0:00:00.918053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:871:gst_multiudpsink_configure_client:<udpsink0> we
have a multicast client 0B87E0C0
0:00:00.918053000  5804   0B788260 DEBUG           multiudpsink
gstmultiudpsink.c:873:gst_multiudpsink_configure_client:<udpsink0>
autojoining group
0:00:00.918053000  5804   0B788260 WARN            multiudpsink
gstmultiudpsink.c:898:gst_multiudpsink_configure_client:<udpsink0>
error: Could not join multicast group (10022): (null)
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could
not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(898): gst_multiudpsink_configure_client ():
/GstPipeline:pipeline0/GstUDPSink:udpsink0:
Could not join multicast group (10022): (null)
Setting pipeline to NULL ...
Freeing pipeline ...


================================
gst-launch-0.10.exe videotestsrc ! udpsink
(gst-launch-0.10:5540): Clutter-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
0:00:00.909052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:1061:gst_multiudpsink_add_internal:<GstUDPSink at 0B7E7F38>
adding client on host localhost, port 4951
0:00:00.912052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:1089:gst_multiudpsink_add_internal:<GstUDPSink at 0B7E7F38>
add client with host localhost, port 4951
0:00:00.912052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:1099:gst_multiudpsink_add_internal:<GstUDPSink at 0B7E7F38>
added client on host localhost, port 4951
Setting pipeline to PAUSED ...
0:00:00.913052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:936:gst_multiudpsink_init_send:<udpsink0> creating
sockets
0:00:00.913052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:945:gst_multiudpsink_init_send:<udpsink0> have
socket
0:00:00.913052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:988:gst_multiudpsink_init_send:<udpsink0> could not
get udp buffer size
0:00:00.913052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:868:gst_multiudpsink_configure_client:<udpsink0>
configuring client 0B91D010
0:00:00.913052000  5540   0B838260 DEBUG           multiudpsink
gstmultiudpsink.c:885:gst_multiudpsink_configure_client:<udpsink0>
setting unicast ttl to 64
0:00:00.913052000  5540   0B838260 WARN            multiudpsink
gstmultiudpsink.c:908:gst_multiudpsink_configure_client:<udpsink0>
error: Could not set TTL socket option (10022): (null)
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could
not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(908): gst_multiudpsink_configure_client ():
/GstPipeline:pipeline0/GstUDPSink:udpsink0:
Could not set TTL socket option (10022): (null)
Setting pipeline to NULL ...
Freeing pipeline ...


-- 
Regards,

- cee1


More information about the gstreamer-devel mailing list