[gstreamer-bugs] [Bug 534243] udpsink no longer supports IPv4 on Windows, only IPv6

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 14 08:11:01 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=534243

  GStreamer | gst-plugins-good | Ver: git




------- Comment #20 from Bruno Santos  2009-04-14 15:11 UTC -------
Then we need a property for udpsink client to specified the desired family and
leave it at default of AF_UNSPEC. I will provide another patch for that later.

(In reply to comment #19)
> (In reply to comment #16)
> > (In reply to comment #14)
> > > Not completely correct. Infact in function gst_udp_get_addr (file
> > > gstudpnetutils.c) you have ambiguity due to the fact that getaddrinfo could
> > > return two entry one with IPv6 address and one with IPv4 address.
> > > 
> > That should not be an issue because we should expect that the address given
> > should be preferably an IP address and not a host name. Keep in mind that an
> > host name can be resolved to multiple addresses and udpsink offers no interface
> > to handle this properly. However there should be an option to disable IPv6.
> > I will revise the patch later.
> 
> Actually , the default "host" property of multiudpsink is "localhost" and not
> "127.0.0.1", and this is resolved on Vista/2008 Server with two different
> address "::1" and "127.0.0.1". In my PC the first is returned (AF_INET6) by
> getaddrinfo and that is why a patch is needed to gst_udp_get_addr (as you
> suggested before).
> Regarding multiple address you can simply keep it that way (choose the first
> address with the same family).
> Thanks in advance
> 


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=534243.




More information about the Gstreamer-bugs mailing list