summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-16 16:36:13 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-16 16:36:13 +0000
commit5789bb5b9dd8ff3d63c4536f3790ba4d3cf5b6eb (patch)
tree5f7ed3b9237328e50e7a864320065361377152b8
parentfc6d7ed7dfbc9ddecc69b265696263969e9ce1cb (diff)
downloadchromium_src-5789bb5b9dd8ff3d63c4536f3790ba4d3cf5b6eb.zip
chromium_src-5789bb5b9dd8ff3d63c4536f3790ba4d3cf5b6eb.tar.gz
chromium_src-5789bb5b9dd8ff3d63c4536f3790ba4d3cf5b6eb.tar.bz2
Reduce WebRTC buffer size to 40KB
BUG=231705 This is a M27 only change. This bug is to fix a problem with large buffer size in WebRTC, currently 256KB in M27. This resulted in high estimated RTT and behaves badly with packet drops and network congestion. Refactoring is under way in Chrome Canary to reduce this buffer size and also change the behavior in response to network work congestion. This choose of 40KB buffer size is tested in Chrome Canary that essentially has the same buffer size (32 packets). This change is meant to take part of fix in Chrome Canary and applying it to Chrome M27. Review URL: https://codereview.chromium.org/14281002 git-svn-id: svn://svn.chromium.org/chrome/branches/1453/src@194369 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/browser/renderer_host/p2p/socket_host.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/renderer_host/p2p/socket_host.h b/content/browser/renderer_host/p2p/socket_host.h
index 0abb74e..c2da700 100644
--- a/content/browser/renderer_host/p2p/socket_host.h
+++ b/content/browser/renderer_host/p2p/socket_host.h
@@ -69,7 +69,9 @@ class CONTENT_EXPORT P2PSocketHost {
// TODO(sergeyu): Consider implementing congestion notifications to
// minimize buffering. This will require some fixes in libjingle,
// see crbug.com/91495 .
- static const int kMaxSendBufferSize = 256 * 1024;
+ //
+ // This value is changed to 40KB and details is in crbug.com/231705.
+ static const int kMaxSendBufferSize = 40 * 1024;
P2PSocketHost(IPC::Sender* message_sender, int id);