GNOME Bugzilla – Bug 509531
Make the auto-join/auto-leaving of a multicast group optional in multiudpsink
Last modified: 2008-01-17 11:13:19 UTC
Currently, multiudpsink automatically joins/leaves a multicast group if a multicast address is given to it. If the same socket is shared between a udpsrc and a multiudpsink, that prevents me from controlling if packets are send to multicast group indenpendently from the source. I'm attaching a patch that add a auto-multicast property that controls whether the element will do the joining itself or let the application do it.
Created attachment 102873 [details] [review] Add auto-multicast property on multiudpsink
Patch by: Olivier Crete <tester at tester dot ca> * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init), (gst_multiudpsink_init), (gst_multiudpsink_set_property), (gst_multiudpsink_get_property), (gst_multiudpsink_init_send), (gst_multiudpsink_add_internal), (gst_multiudpsink_remove): * gst/udp/gstmultiudpsink.h: Add property to automatically join a multicast group or not. This can be useful when sharing a socket between multiple elements. Fixes #509531.