gstreamer/subprojects/gst-rtsp-server/gst/rtsp-server
Mikhail Rudenko 50033d03d3 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/6347>
2024-03-13 11:19:56 +00:00
..
meson.build meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
rtsp-address-pool.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-address-pool.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-auth.c rtsp-server: Add/fix various annotations 2022-10-18 13:51:16 +03:00
rtsp-auth.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-client.c rtsp-server: Add support for adjusting request response on pipeline errors 2022-10-11 07:42:28 +02: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 Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-media-factory-uri.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-media-factory-uri.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-media-factory.c rtsp-server: Add/fix various annotations 2022-10-18 13:51:16 +03:00
rtsp-media-factory.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-media.c rtsp-server: media: First set state to PLAYING again temporarily, then send EOS 2023-04-05 13:17:16 +00:00
rtsp-media.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-mount-points.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-mount-points.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-onvif-client.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-onvif-client.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-onvif-media-factory.c rtsp-server: Add/fix various annotations 2022-10-18 13:51:16 +03:00
rtsp-onvif-media-factory.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-onvif-media.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-onvif-media.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-onvif-server.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-onvif-server.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-params.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-params.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-permissions.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-permissions.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-sdp.c rtsp-server: Add RFC5576 Source-specific media attribute to the SDP media for signalling the CNAME 2022-04-20 14:40:25 +00:00
rtsp-sdp.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-server-internal.h gst-rtsp-server: Fix pushing backlog to client 2022-09-02 16:04:06 +00:00
rtsp-server-object.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-server-prelude.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-server.c Fix various warnings from gobject-introspection 2022-10-25 09:45:25 +03:00
rtsp-server.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-session-media.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-session-media.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-session-pool.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-session-pool.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
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 Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-stream.c rtsp-stream: clear sockets when leaving bin 2024-03-13 11:19:56 +00:00
rtsp-stream.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-thread-pool.c Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-thread-pool.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00
rtsp-token.c documentation: improve misleading wording 2022-03-17 11:56:37 +00:00
rtsp-token.h Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir 2021-09-24 16:15:21 -03:00