mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
GStreamer multimedia framework
12f8abb549
multiudpsink does not support setting the socket* properties after it has started, which meant that rtsp-server could no longer serve on both IPV4 and IPV6 sockets since the patches from https://bugzilla.gnome.org/show_bug.cgi?id=757488 were merged. When first connecting an IPV6 client then an IPV4 client, multiudpsink fell back to using the IPV6 socket. When first connecting an IPV4 client, then an IPV6 client, multiudpsink errored out, released the IPV4 socket, then crashed when trying to send a message on NULL nevertheless, that is however a separate issue. This could probably be fixed by handling the setting of sockets in multiudpsink after it has started, that will however be a much more significant effort. For now, this commit simply partially reverts the behaviour of rtsp-stream: it will continue to only create the udpsinks when needed, as was the case since the patches were merged, it will however when creating them, always allocate both sockets and set them on the sink before it starts, as was the case prior to the patches. Transport configuration will only error out if the allocation of UDP sockets fails for the actual client's family, this also downgrades the GST_ERRORs in alloc_ports_one_family to GST_WARNINGs, as failing to allocate is no longer necessarily fatal. https://bugzilla.gnome.org/show_bug.cgi?id=796875 |
||
---|---|---|
common@ed78bee437 | ||
docs | ||
examples | ||
gst | ||
pkgconfig | ||
tests | ||
.gitignore | ||
.gitmodules | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
gst-rtsp-server.doap | ||
Makefile.am | ||
meson.build | ||
meson_options.txt | ||
NEWS | ||
README | ||
RELEASE | ||
REQUIREMENTS | ||
TODO |
gst-rtsp-server is a library on top of GStreamer for building an RTSP server There are some examples in the examples/ directory and more comprehensive documentation in docs/README.