[Bug 645011] New: multiudpsink does not support setting a socket interface
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 17 04:35:57 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=645011
GStreamer | gst-plugins-good | 0.10.x
Summary: multiudpsink does not support setting a socket
interface
Classification: Desktop
Product: GStreamer
Version: 0.10.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: ludovica at axis.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME target: ---
GNOME version: ---
Created an attachment (id=183620)
View: https://bugzilla.gnome.org/attachment.cgi?id=183620
Review: https://bugzilla.gnome.org/review?bug=645011&attachment=183620
Patch to add an interface_ipv4 prop to multiudpsink
Multiudpsink creates a socket through which the multicast traffic is sent. The
interface used is automatically the default system interface.
This patch introduces a new property called interface_ipv4. If set, the ipv4
address specified becomes the origin of the multicast traffic (using the
setsockopt option IP_MULTICAST_IF, and if the address is a valid interface).
I looked carefully at ipv4 vs. ipv6. However the behavior of setsockopt doesn't
seem to be consistent when it comes to checking the socket family and the data
given. This is why I explicitely call this prop "_ipv4".
I attach a patch for this feature.
--
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