gstreamer/subprojects/gst-rtsp-server/gst
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
..
rtsp-server rtsp-stream: clear sockets when leaving bin 2024-03-11 18:22:38 +03:00
rtsp-sink rtspclientsink: Don't leak previous server_ip 2023-10-17 11:53:55 +00:00
glib-compat-private.h rtspsink: use version template in user-agent property 2023-08-07 10:41:16 +00:00
meson.build