GNOME Bugzilla – Bug 795321
rtsp-client: Fix session timeout
Last modified: 2018-04-20 07:20:40 UTC
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.
Created attachment 371019 [details] [review] Patch with a fix for session timeout
Created attachment 371027 [details] [review] Patch with a fix for session timeout
commit 808b49cbfc9cd7f5df5b36a6a66f918cfb8c65b6 (HEAD, master) Author: Joakim Johansson <joakimj@axis.com> Date: Tue Apr 17 11:03:11 2018 +0200 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
*** Bug 795354 has been marked as a duplicate of this bug. ***