rtsp-client: Fix session timeout
authorJoakim Johansson <joakimj@axis.com>
Tue, 17 Apr 2018 09:03:11 +0000 (11:03 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 20 Apr 2018 07:13:53 +0000 (10:13 +0300)
commit808b49cbfc9cd7f5df5b36a6a66f918cfb8c65b6
tree90d935b11a2ca6f5923a2d32fd165282cc2010b5
parentbfc35ae1aec5582f8086e27205f04e28d54c8954
rtsp-client: Fix session timeout

When streaming data over TCP then is not the keep-alive
functionality working.

The reason is that the function do_send_data have changed
to boolean but the code is still checking the received result
from send_func with GST_RTSP_OK.

The result is that a successful send_func will always lead to
that do_send_data is returning false and the keep-alive will
not be updated.

https://bugzilla.gnome.org/show_bug.cgi?id=795321
gst/rtsp-server/rtsp-client.c