GNOME Bugzilla – Bug 612696
rtspsrc with tcp timeouts after recent commit
Last modified: 2010-03-15 10:45:01 UTC
After this commit: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=38f2b4735d07554c6243e8bf568ba2cbf7db5803 rtspsrc in tcp mode stops working after 25/30s. If i put this code back it works fine! - /* see if the timeout period expired */ - if ((tv_timeout.tv_sec | tv_timeout.tv_usec) == 0) { - GST_DEBUG_OBJECT (src, "timout, sending keep-alive"); - /* send keep-alive, ignore the result, a warning will be posted. */ - gst_rtspsrc_send_keep_alive (src); - }
Is this against gst-rtsp-server?
yes
the reason I ask is because there is another bug #612915 about how the quicktime client doesn't send keepalive messages either. So this eventually needs a fix on both the client and the server, I guess. commit ba6dbaecfc4beb7d9749cb613defcf6c4c05e522 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Mar 15 11:38:23 2010 +0100 rtspsrc: don't forget to send keepalive messages When we operate in TCP mode, still send keepalive messages when we need to. Fixes #612696