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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu May 21 13:45:30 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

Michael Smith changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|gstreamer-                  |msmith at xiph.org
                   |bugs at lists.sourceforge.net  |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1




------- Comment #25 from Michael Smith  2009-05-21 20:45 UTC -------
Created an attachment (id=135135)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=135135&action=view)
Handle dual-stack vs. two-stack IPv4/IPv6 in multiudpsink better

This patch does the following:
 - Attempts to portably detect if we have a dual-stack system (linux, mac,
winvista)
 - If we do, use that as we used to.
 - Adds a bunch of fixes for dual-stack mode - e.g. you must add v4 address as
v4-mapped v6 addresses on mac (and vista, I think)
 - If not dual-stack capable, fall back to using two sockets. 
 - Add properties for dealing with the extra socket

So on platforms (linux, mostly) where the current implementation works, this
should do the same thing - no changes to the API, etc.

On mac and vista, the API should remain the same, but it should now work.

On older windows, if you want ipv6 support, you need to deal with two sockets,
but most apps won't care, because they're not using the properties anyway.


I think this is a good compromise (unlike the previously proposed patches, this
doesn't change API unconditionally)


-- 
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