[Bug 771530] Multicast interface not used for group join setsockopt call
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Sep 17 08:03:17 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=771530
--- Comment #1 from Arkver <ian.arkver.dev at gmail.com> ---
I added a little debug to gstmultiudpsink.c where it calls the group join...
GST_DEBUG_OBJECT (sink, "autojoining group on iface %s",
sink->multi_iface);
if (!g_socket_join_multicast_group (socket, addr, FALSE,
sink->multi_iface, &err))
And get this...
0:00:21.526560977 532 0xb5215a00 DEBUG multiudpsink
gstmultiudpsink.c:1256:gst_multiudpsink_configure_client:<multiudpsink1>
autojoining group on iface 192.168.9.102
[pid 544] setsockopt(20, SOL_IP, IP_ADD_MEMBERSHIP,
{imr_multiaddr=inet_addr("239.255.7.0"), imr_interface=inet_addr("0.0.0.0")},
12) = -1 ENODEV (No such device)
0:00:21.896296692 532 0xb5215a00 WARN multiudpsink
gstmultiudpsink.c:1277:gst_multiudpsink_configure_client:<multiudpsink1> error:
Could not join multicast group: Error joining multicast group: No such device
So it looks like the multi_iface property is set OK and it's the underlying
glib call that's broken. :-(
--
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