rtspconnection: calculate better timeout value
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 29 Oct 2010 13:17:44 +0000 (14:17 +0100)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 29 Oct 2010 13:22:39 +0000 (14:22 +0100)
commitac06dd5d0e996c9fd7a85debbfe416d89b11e101
tree9a7ecce1f8b5211da4fd89eb2a4ef4875fc26f97
parent2e888cb7849d5a22327578b545dfdf5f4355a2e9
rtspconnection: calculate better timeout value

We want to send the keealive message a little earlier than the timeout value
specifies. Scale this based on the value of the timeout instead of just assuming
5 seconds.
gst-libs/gst/rtsp/gstrtspconnection.c