From e95d1c1f58618c3cfd89232ab2997bbeda215c8a Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Wed, 7 Dec 2011 13:42:40 +0000 Subject: [PATCH] Call: Low the video watchdog timeout to 1 second Switch back to the avatar if there was at least one second of not receiving any new video frames to display. With this change the reaction time will be between 1 (best case) and 2 (worse case) seconds from the point the last frame went into the sync. Before it was 5 seconds (best case) and up to 10 seconds (worst case), which doesn't make for a very good experience --- src/empathy-call-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 7a4994c9..a89d220c 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -3365,7 +3365,7 @@ empathy_call_window_src_added_cb (EmpathyCallHandler *handler, G_CALLBACK (empathy_call_window_video_probe_cb), self); if (priv->got_video_src > 0) g_source_remove (priv->got_video_src); - priv->got_video_src = g_timeout_add_seconds (5, + priv->got_video_src = g_timeout_add_seconds (1, empathy_call_window_check_video_cb, self); break; default: -- 2.39.2