After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683912 - rtspsrc: allow client not to reconnect
rtspsrc: allow client not to reconnect
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.31
Other Linux
: Normal enhancement
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-13 05:04 UTC by Aleix Conchillo Flaqué
Modified: 2012-11-16 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
new udp-reconnect property (4.30 KB, patch)
2012-09-13 05:14 UTC, Aleix Conchillo Flaqué
none Details | Review

Description Aleix Conchillo Flaqué 2012-09-13 05:04:35 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).
Comment 1 Aleix Conchillo Flaqué 2012-09-13 05:14:08 UTC
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.
Comment 2 Wim Taymans 2012-11-16 11:59:04 UTC
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