GNOME Bugzilla – Bug 683912
rtspsrc: allow client not to reconnect
Last modified: 2012-11-16 11:59:04 UTC
Current rtspsrc implementation tries to reconnect whenever the RTSP connection socket is closed by the server (GST_RTSP_EEOF). It would be good to let the client decide whether it wants to perform this reconnection or just abort. The two places where reconnection is done are: - gst_rtspsrc_loop_udp - gst_rtspsrc_try_send (when reading for the response) Reconnection is not done in interleaved mode (TCP).
Created attachment 224187 [details] [review] new udp-reconnect property From the commit log: added new "udp-reconnect" property. Before, rtspsrc always tried to reconnect to the server when the RTSP connection was closed by the server. This property lets the user decide whether it wants rtspsrc to reconnect or not.
commit 6c855edf03edd71eefe15576a91ebf7e03e772e8 Author: Aleix Conchillo Flaque <aleix@oblong.com> Date: Wed Sep 12 22:11:20 2012 -0700 rtspsrc: allow client to disable reconnection * gst/rtsp/gstrtspsrc.[ch]: added new "udp-reconnect" property. Before, rtspsrc always tried to reconnect to the server when the RTSP connection was closed by the server. This property lets the user decide whether it wants rtspsrc to reconnect or not. https://bugzilla.gnome.org/show_bug.cgi?id=683912