GNOME Bugzilla – Bug 557610
udpsrc fails to bind() on Mac OS X (IPv4 vs. IPv6 problem)
Last modified: 2008-10-23 13:53:11 UTC
Please describe the problem: The udpsrc component (used by the rtsp source componet) fails with the following error on Mac OS X (10.5) udpsrc gstudpsrc.c:763:gst_udpsrc_start:<udpsrc0> allocating socket for 0.0.0.0:0 udpsrc gstudpsrc.c:780:gst_udpsrc_start:<udpsrc0> binding on port 0 udpsrc gstudpsrc.c:887:gst_udpsrc_start:<udpsrc0> error: bind failed -1: Invalid argument (22) The error is due to the address_len being the wrong size: sizeof(src->myaddr) instead of sizeof(struct sockaddr_in), I'd guess this is due to differences between IPv4 and IPv6. I'm pretty sure this is related to what's described in #534243 Steps to reproduce: 1. Use the rtspsrc filter to access a UDP rtsp url on Mac OS X 10.5 Actual results: The pipeline fails to start Expected results: The pipeline would start Does this happen every time? Yes Other information:
*** This bug has been marked as a duplicate of 553191 ***