[Bug 707042] New: udpsrc binds to INADDR_ANY instead of multicast group address
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Aug 29 05:01:14 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=707042
GStreamer | gst-plugins-good | 1.x
Summary: udpsrc binds to INADDR_ANY instead of multicast group
address
Classification: Platform
Product: GStreamer
Version: 1.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: baldur at oz.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
udpsrc binds to INADDR_ANY instead of binding to the multicast group address as
is the correct behaviour on Linux.
Binding to INADDR_ANY makes it impossible to join two groups on the same
machine, receiving data on the same port, as the Linux kernel will not
discriminate packets based on multicast group joined.
Caveat: The Windows IP stack does not allow binding to a multicast group
address but does discriminate packets based on group address when joined to a
multicast group.
Test:
gst-launch-1.0 udpsrc uri=udp://239.192.192.192:1234
And in another terminal:
$ lsof | grep 1234
gst-launc 13774 medizza 5u IPv4 4586602 0t0
UDP *:1234
udpsrc0:s 13774 13775 medizza 5u IPv4 4586602 0t0
UDP *:1234
gmain 13774 13776 medizza 5u IPv4 4586602 0t0
UDP *:1234
While compared to another application that has the correct behaviour:
$ lsof | grep 5500
recordmca 13897 medizza 3u IPv4 4587787 0t0
UDP 239.192.192.192:1234
--
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