After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578378 - multiudpsink on Vista is bound on IPv6 and fails when sending to IPv4 address
multiudpsink on Vista is bound on IPv6 and fails when sending to IPv4 address
Status: RESOLVED DUPLICATE of bug 534243
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.22
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-08 13:15 UTC by Filippo Della Betta
Modified: 2009-04-08 21:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Filippo Della Betta 2009-04-08 13:15:40 UTC
Please describe the problem:
When using udpsink (gst-plugins-good-0.10.14) on Vista, by default (and if you don't provide external fd) it creates socket with AF_INET6 family (line 611 of gstmultiudpsink.c) even if is not requested. When trying to specify host with IPv4 it fails sending ( sendto on line 397 of same file returns SOCKET_ERROR ) since it is already bound on IPv6.

Steps to reproduce:
simply execute
gst-launch audiotestsrc ! udpsink host=1.2.3.4 port=5678

 


Actual results:
no packet are sent to the host

Expected results:
UDP packet sent on host 1.2.3.4

Does this happen every time?
Yes

Other information:
Probably adding a parameter to force socket binding on IPv4 would be an idea.
Comment 1 Michael Smith 2009-04-08 17:36:47 UTC
Coincidentally, I ran into this same problem yesterday, but on OSX, not on windows.

Perhaps we should allocate two sockets (at least for OSes that require it).
Comment 2 Michael Smith 2009-04-08 21:35:20 UTC
Wim pointed out that this is a duplicate.



*** This bug has been marked as a duplicate of 534243 ***