rtsp-*: Treat sending packets to clients as keepalive
authorBranko Subasic <branko@axis.com>
Fri, 19 Sep 2014 16:28:50 +0000 (18:28 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 24 Sep 2014 07:37:59 +0000 (10:37 +0300)
commit2218510cae291dca6f27920583729f8cfaf276ff
treee5943982a7d96e1a2f0a74bcedb573e67665a5b5
parent733ef1162b78809751ccb327cbd0b07f46e6a42e
rtsp-*: Treat sending packets to clients as keepalive

As long as gst-rtsp-server can successfully send RTP/RTCP data to
clients then the client must be reading. This change makes the server
timeout the connection if the client stops reading.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=736647
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-session.c
gst/rtsp-server/rtsp-stream-transport.c