Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: remoting/host/video_scheduler.cc

Issue 376763002: Decrease keep-alive period for the video channel to 200ms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/video_scheduler.cc
diff --git a/remoting/host/video_scheduler.cc b/remoting/host/video_scheduler.cc
index 6aee268266dbfd685e9cbd1704a17544e841dee9..c1f6f5af2bd84c7f86e961ecce827624a829f9a3 100644
--- a/remoting/host/video_scheduler.cc
+++ b/remoting/host/video_scheduler.cc
@@ -31,8 +31,10 @@ namespace remoting {
static const int kMaxPendingFrames = 2;
// Interval between empty keep-alive frames. These frames are sent only
-// when there are no real video frames being sent.
-static const int kKeepAlivePacketIntervalMs = 500;
+// when there are no real video frames being sent. To prevent PseudoTCP from
+// resetting congestion window this value must be smaller that then the minimum
+// RTO used in PseudoTCP, which is 250ms.
+static const int kKeepAlivePacketIntervalMs = 200;
VideoScheduler::VideoScheduler(
scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698