[gstreamer-bugs] [Bug 630894] New: udpsink fails to send data on IPv4 networks if IPv6 is enabled...
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Sep 29 04:53:20 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=630894
GStreamer | gst-plugins-good | unspecified
Summary: udpsink fails to send data on IPv4 networks if IPv6 is
enabled...
Classification: Desktop
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: zmoelnig at iem.at
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
i'm running Debian(squeeze/sid) which as IPv6 turned on by default (which i
believe is a good thing)
now, when udpsink creates a socket it first tries to create an IPv6 socket, and
if that fails, it tries to create an IPv4 socket.
since IPv6 is enabled on my system, the returned socket is IPv6.
now when i try to send data to a remote host over an IPv4 network (because not
the entire connection is IPv6 enabled we still use IPv4 by default), the
"sendto" fails, as it tries to send an IPv4 packet over an IPv6 socket.
a quick and dirty workaround is, to disable IPv6 on the system, so udpsink can
only create an IPv4 socket and everything works fine.
however, since IPv6 is becoming more frequent, i think it is not an option to
turn off the IPv6 support of the system.
rather, udpsink should use IPv4 sockets to send IPv4 packets and IPv6 sockets
to send IPv6 packets (yes, this probably means to open 2 sockets, one for IPv6
and one for IPv4 and use them accordingly)
--
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