gstreamer/subprojects/gst-rtsp-server/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
..
meson.build rtsp-server: Add new ensure-keyunit-on-start property 2023-10-02 16:22:33 +00:00
rtsp-address-pool.c rtsp-server: drop use of GSlice allocator 2023-02-03 17:48:09 +00:00
rtsp-address-pool.h
rtsp-auth.c rtsp-server: Add/fix various annotations 2022-10-18 13:51:16 +03:00
rtsp-auth.h
rtsp-client.c rtsp-server: media-factory: Make sure a shared media is actually still usable 2023-05-19 11:09:48 +00:00
rtsp-client.h rtsp-client: Remove duplicate documentation 2022-10-14 08:54:17 +02:00
rtsp-context.c rtsp-server: context: Add method to set the RTSPToken on some RTSPContext 2022-09-13 10:42:52 +03:00
rtsp-context.h rtsp-server: context: Add method to set the RTSPToken on some RTSPContext 2022-09-13 10:42:52 +03:00
rtsp-latency-bin.c rtsp-server: Add/fix various annotations 2022-10-18 13:51:16 +03:00
rtsp-latency-bin.h
rtsp-media-factory-uri.c
rtsp-media-factory-uri.h
rtsp-media-factory.c rtsp-server: Add new ensure-keyunit-on-start property 2023-10-02 16:22:33 +00:00
rtsp-media-factory.h rtsp-server: Add new ensure-keyunit-on-start property 2023-10-02 16:22:33 +00:00
rtsp-media.c rtsp-server: Unprepare media that is in error state 2023-11-08 14:39:01 +00:00
rtsp-media.h rtsp-server: Add new ensure-keyunit-on-start property 2023-10-02 16:22:33 +00:00
rtsp-mount-points.c rtsp-server: drop use of GSlice allocator 2023-02-03 17:48:09 +00:00
rtsp-mount-points.h
rtsp-onvif-client.c
rtsp-onvif-client.h
rtsp-onvif-media-factory.c rtsp-server: Add new ensure-keyunit-on-start property 2023-10-02 16:22:33 +00:00
rtsp-onvif-media-factory.h
rtsp-onvif-media.c
rtsp-onvif-media.h
rtsp-onvif-server.c
rtsp-onvif-server.h
rtsp-params.c
rtsp-params.h
rtsp-permissions.c rtsp-server: drop use of GSlice allocator 2023-02-03 17:48:09 +00:00
rtsp-permissions.h
rtsp-sdp.c gst-rtsp-server: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
rtsp-sdp.h
rtsp-server-internal.h rtsp-server: Add new ensure-keyunit-on-start property 2023-10-02 16:22:33 +00:00
rtsp-server-object.h
rtsp-server-prelude.h
rtsp-server.c rtsp-server: drop use of GSlice allocator 2023-02-03 17:48:09 +00:00
rtsp-server.h
rtsp-session-media.c
rtsp-session-media.h
rtsp-session-pool.c
rtsp-session-pool.h
rtsp-session.c rtsp-client: make sure sessmedia will not get freed while used 2021-10-06 19:42:43 +00:00
rtsp-session.h rtsp-client: make sure sessmedia will not get freed while used 2021-10-06 19:42:43 +00:00
rtsp-stream-transport.c gst-rtsp-server: Fix pushing backlog to client 2022-09-02 16:04:06 +00:00
rtsp-stream-transport.h
rtsp-stream.c rtsp-stream: clear sockets when leaving bin 2024-03-11 18:22:38 +03:00
rtsp-stream.h
rtsp-thread-pool.c rtsp-server: drop use of GSlice allocator 2023-02-03 17:48:09 +00:00
rtsp-thread-pool.h
rtsp-token.c rtsp-server: drop use of GSlice allocator 2023-02-03 17:48:09 +00:00
rtsp-token.h