Porting IPv6 UDP stream to 1.x

Stefan Ott gst at desire.ch
Wed Apr 6 11:23:45 UTC 2016


On Wed, Apr 06, 2016 at 09:58:10AM +0300, Sebastian Dröge wrote:
> On Mi, 2016-04-06 at 02:59 +0200, Stefan Ott wrote:
> > Hi
> > 
> > I am trying to port a gstreamer-0.10 pipeline that I have been using
> > for a while to gstreamer-1.x but I can't seem to figure out the
> > proper
> > syntax.
> > 
> > The pipeline is for a stream sent via UDP (RTP) to the IPv6 all-nodes
> > local multicast address (ff02::1). The old pipeline starts with
> > [...]
> > Can anyone tell me what is the right syntax to do this with gstreamer
> > 1.x?
> 
> This is a bug, can you report it here?
> https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
> 
> It should work with your syntax, and it also does after making the
> #ifdef here also for Linux:
> https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/udp/gstudpsrc.c#n953
> 
> 
> So apparently for IPv6 multicast addresses you can't bind directly to
> them. While for IPv4 multicast addresses, binding directly to them is
> required to filter out any packets that are for other destinations than
> that multicast address. I wonder how to do the filtering with IPv6.
> Someone needs to research that :)

Ah nice, thank you. I'll test with the #ifdef and report the
bug once I know whether this helps.

-- 
Stefan Ott
http://www.ott.net/


More information about the gstreamer-devel mailing list