gstreamer/subprojects/gst-rtsp-server
Mikhail Rudenko 05ef1bbc06 rtsp-stream: clear sockets when leaving bin
Since commit 4d86f994, when setting an RTSP media both shared and
reusable, streaming cannot be restarted after the first time all the
clients disconnect. That happens because the sockets (unlike
addresses) of GstRTSPStream are not cleared in
gst_rtsp_stream_leave_bin, and on restart sockets and addresses are
not allocated in gst_rtsp_stream_allocate_udp_sockets, and then the
check in create_sender_part fails. Fix this by clearing sockets in
gst_rtsp_stream_leave_bin.

Fixes gstreamer/gst-rtsp-server#113

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6325>
2024-03-11 18:22:38 +03:00
..
docs rtspsink: use version template in user-agent property 2023-08-07 10:41:16 +00:00
examples gst-rtsp-server: Dump test-launch debug graph every 5 seconds 2024-01-26 17:36:41 +00:00
gst rtsp-stream: clear sockets when leaving bin 2024-03-11 18:22:38 +03:00
scripts gst-omx: Retire the whole package 2023-07-16 19:10:03 +00:00
tests onvif: tests: check for T flag on all packets 2024-03-07 14:02:33 +00:00
.gitignore Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
AUTHORS Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
COPYING Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
COPYING.LIB Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
gst-rtsp-server.doap Release 1.24.0 2024-03-04 23:59:25 +00:00
meson.build Back to development 2024-03-05 12:58:57 +00:00
meson_options.txt Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
NEWS Release 1.24.0 2024-03-04 23:59:25 +00:00
README Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
RELEASE Back to development 2024-03-05 12:58:57 +00:00
REQUIREMENTS Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
TODO Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03: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.