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 758999 - rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN
rtsp-media: Add property to decide if sending media should be stopped when a ...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
unspecified
Other All
: Normal enhancement
: 1.7.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-03 17:00 UTC by Sebastian Dröge (slomo)
Modified: 2015-12-28 10:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN (14.62 KB, patch)
2015-12-03 17:00 UTC, Sebastian Dröge (slomo)
none Details | Review
rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN (15.48 KB, patch)
2015-12-09 16:26 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2015-12-03 17:00:01 UTC
See commit message. Does the property like this make sense?
Comment 1 Sebastian Dröge (slomo) 2015-12-03 17:00:06 UTC
Created attachment 316729 [details] [review]
rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN

Without TEARDOWN it might be desireable to keep the media running and continue
sending data to the client, even if the RTSP connection itself is
disconnected.
Comment 2 Sebastian Dröge (slomo) 2015-12-04 14:05:44 UTC
Comment on attachment 316729 [details] [review]
rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN

For TCP connections we still need to shutdown, regardless of the value of this property
Comment 3 Sebastian Dröge (slomo) 2015-12-09 16:26:00 UTC
Created attachment 317048 [details] [review]
rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN

Without TEARDOWN it might be desireable to keep the media running and continue
sending data to the client, even if the RTSP connection itself is
disconnected.

Only do this for session medias that have only UDP transports. If there's at
least on TCP transport, it will stop working and cause problems when the
connection is disconnected.
Comment 4 Sebastian Dröge (slomo) 2015-12-28 08:53:11 UTC
Attachment 317048 [details] pushed as c8f1799 - rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN