aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-12-07 21:42:40 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-12-07 21:42:43 +0800
commite95d1c1f58618c3cfd89232ab2997bbeda215c8a (patch)
treeb475b77dec8ae03b2294e0f1047ff4d2c7f557a4 /src
parent1893cd80d606371b3810070f9dea63b14186e9c1 (diff)
downloadgsoc2013-empathy-e95d1c1f58618c3cfd89232ab2997bbeda215c8a.tar
gsoc2013-empathy-e95d1c1f58618c3cfd89232ab2997bbeda215c8a.tar.gz
gsoc2013-empathy-e95d1c1f58618c3cfd89232ab2997bbeda215c8a.tar.bz2
gsoc2013-empathy-e95d1c1f58618c3cfd89232ab2997bbeda215c8a.tar.lz
gsoc2013-empathy-e95d1c1f58618c3cfd89232ab2997bbeda215c8a.tar.xz
gsoc2013-empathy-e95d1c1f58618c3cfd89232ab2997bbeda215c8a.tar.zst
gsoc2013-empathy-e95d1c1f58618c3cfd89232ab2997bbeda215c8a.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 7a4994c93..a89d220c4 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: