[empathy] Call: Low the video watchdog timeout to 1 second
- From: Sjoerd Simons <sjoerds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Call: Low the video watchdog timeout to 1 second
- Date: Wed, 7 Dec 2011 13:51:06 +0000 (UTC)
commit e95d1c1f58618c3cfd89232ab2997bbeda215c8a
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Wed Dec 7 13:42:40 2011 +0000
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 7a4994c..a89d220 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]