[Bug 604870] [udpsink] Can't set TTL socket option
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jul 31 10:41:25 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=604870
GStreamer | gst-plugins-good | 0.10.17
stephane.raux changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stephane.raux at ultrasonix.co
| |m
--- Comment #28 from stephane.raux at ultrasonix.com 2012-07-31 17:41:15 UTC ---
The issue still exists on Windows. The following pipeline fails because the TTL
option could not be set (Windows error code 10022 WSAEINVAL, i.e. "An invalid
argument was supplied"):
gst-launch-0.10 --gst-debug=*udp*:5 filesrc location=<some_small_file> !
udpsink port=5000
Output is:
******************
0:00:00.385077000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1061:gst_multiudpsink_add_internal:<GstUDPSink at 029109E8>
adding client on host localhost, port 4951
0:00:00.389078000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1089:gst_multiudpsink_add_internal:<GstUDPSink at 029109E8> add
client with host localhost, port 4951
0:00:00.389078000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1099:gst_multiudpsink_add_internal:<GstUDPSink at 029109E8>
added client on host localhost, port 4951
0:00:00.389078000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1141:gst_multiudpsink_remove:<udpsink0> found 1 clients with
host localhost, port 4951
0:00:00.389578000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1145:gst_multiudpsink_remove:<udpsink0> remove client with
host localhost, port 4951
0:00:00.389578000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1061:gst_multiudpsink_add_internal:<udpsink0> adding client
on host localhost, port 5000
0:00:00.389578000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1089:gst_multiudpsink_add_internal:<udpsink0> add client with
host localhost, port 5000
0:00:00.390078000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:1099:gst_multiudpsink_add_internal:<udpsink0> added client on
host localhost, port 5000
Setting pipeline to PAUSED ...
0:00:00.390078000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:936:gst_multiudpsink_init_send:<udpsink0> creating sockets
0:00:00.390078000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:945:gst_multiudpsink_init_send:<udpsink0> have socket
0:00:00.390078000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:988:gst_multiudpsink_init_send:<udpsink0> could not get udp
buffer size
0:00:00.390578000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:868:gst_multiudpsink_configure_client:<udpsink0> configuring
client 08E3C0B0
0:00:00.390578000 4984 08C4F500 DEBUG multiudpsink
gstmultiudpsink.c:885:gst_multiudpsink_configure_client:<udpsink0> setting
unicast ttl to 64
0:00:00.390578000 4984 08C4F500 WARN multiudpsink
gstmultiudpsink.c:908:gst_multiudpsink_configure_client:<udpsink0> error: Could
not set TTL socket option (10022): A
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): A
Setting pipeline to NULL ...
Freeing pipeline ...
******************
gstreamer version is 0.10.36, issue reproduced on Win Vista and Win 7.
In gstmultiudpsink.c at line 886, failure to set the TTL seems to be considered
as fatal, but it shouldn't on Windows. From the MSDN documentation, IP_TTL
support is not required and may not be supported.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list