gstreamer/subprojects/gst-rtsp-server/gst/rtsp-server
Mikhail Rudenko 92c0f7ddb5 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/6334>
2024-03-11 22:06:31 +00: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-address-pool.h
rtsp-auth.c
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-context.c
rtsp-context.h
rtsp-latency-bin.c
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-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-permissions.h
rtsp-sdp.c
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.h
rtsp-session-media.c
rtsp-session-media.h
rtsp-session-pool.c
rtsp-session-pool.h
rtsp-session.c
rtsp-session.h
rtsp-stream-transport.c
rtsp-stream-transport.h
rtsp-stream.c rtsp-stream: clear sockets when leaving bin 2024-03-11 22:06:31 +00:00
rtsp-stream.h
rtsp-thread-pool.c
rtsp-thread-pool.h
rtsp-token.c
rtsp-token.h