gstreamer/subprojects/gst-plugins-good/gst/udp
Jonas Bonn 2f6ad787b2 multiudpsink: allow binding to IPv6 address
When the sink is configured to create sockets with an explicit bind
address, then the created socket gets set to the udp_socket field
irregardless of whether the bind address indicated that the socket
family should be IPv4 or IPv6.  When binding to an IPv6 address, this
results in the following error:

gstmultiudpsink.c:1285:gst_multiudpsink_configure_client:<rtcpsink>
error: Invalid address family (got 10)

This patch adds a check of the address family being bound to and sets
the created socket to used_socket or used_socket_v6, accordingly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1551>
2022-04-22 10:43:13 +00:00
..
gstdynudpsink.c
gstdynudpsink.h
gstmultiudpsink.c
gstmultiudpsink.h
gstudp.c
gstudpelement.c
gstudpelements.h
gstudpnetutils.c
gstudpnetutils.h
gstudpsink.c
gstudpsink.h
gstudpsrc.c
gstudpsrc.h
meson.build
README

* What is UDP src/sink?

It is a set of element to transfer data using UDP, nothing more, nothing less.
Its main purpose is to be used in conjunction with RTP but they are kept as
separate elements because we can.