GStreamer multimedia framework
Find a file
Mathieu Duponchelle 12f8abb549 rtsp-client: always allocate both IPV4 and IPV6 sockets
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
2018-08-01 20:42:34 +02:00
common@ed78bee437 Automatic update of common submodule 2018-04-16 10:53:52 +01:00
docs rtsp-media: add gst_rtsp_media_*_set_clock to docs 2018-07-16 23:55:37 +01:00
examples meson: add new test-appsrc2 example to meson build 2018-07-10 23:55:20 +01:00
gst rtsp-client: always allocate both IPV4 and IPV6 sockets 2018-08-01 20:42:34 +02:00
pkgconfig meson: don't install -uninstalled.pc file 2017-08-18 17:37:01 +01:00
tests configure: check for -good and -bad plugins only in uninstalled setup 2018-04-22 20:10:15 +01:00
.gitignore .gitignore: add another example binary 2018-07-10 23:56:23 +01:00
.gitmodules common: use https protocol for common submodule 2016-11-26 11:24:59 +00:00
AUTHORS Initial import 2008-10-09 13:29:12 +01:00
autogen.sh Automatic update of common submodule 2017-04-10 23:51:12 +01:00
ChangeLog Release 1.14.0 2018-03-19 20:27:06 +00:00
configure.ac configure: check for -good and -bad plugins only in uninstalled setup 2018-04-22 20:10:15 +01:00
COPYING Fix FSF address 2012-11-04 00:14:25 +00:00
COPYING.LIB Fix FSF address 2012-11-04 00:14:25 +00:00
gst-rtsp-server.doap Release 1.14.0 2018-03-19 20:27:06 +00:00
Makefile.am tests: disable all tests when --disable-tests is used 2017-12-06 20:47:22 +00:00
meson.build meson: Convert common options to feature options 2018-07-27 18:48:46 +05:30
meson_options.txt meson: Convert common options to feature options 2018-07-27 18:48:46 +05:30
NEWS Back to development 2018-03-20 10:21:36 +00:00
README Fix typo in README 2015-03-15 12:27:39 +00:00
RELEASE Back to development 2018-03-20 10:21:36 +00:00
REQUIREMENTS Initial import 2008-10-09 13:29:12 +01:00
TODO rtsp: cleanups 2012-11-15 17:11:16 +01:00

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.