From 2ff7ecfceb99deb3f2351c4184f84c1322568087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85sa=20Persson?= Date: Wed, 11 Oct 2017 08:07:17 +0200 Subject: [PATCH] Reduce max possible size of map that holds encoded frame info. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:8375 Change-Id: Idc57e68dc44fd73e5c0aa85d82c1e3659d8ea292 Reviewed-on: https://webrtc-review.googlesource.com/8301 Reviewed-by: Rasmus Brandt Reviewed-by: Erik Språng Commit-Queue: Åsa Persson Cr-Commit-Position: refs/heads/master@{#20232} --- video/send_statistics_proxy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/send_statistics_proxy.cc b/video/send_statistics_proxy.cc index 4c6df0aea3..d72b741b81 100644 --- a/video/send_statistics_proxy.cc +++ b/video/send_statistics_proxy.cc @@ -25,7 +25,7 @@ namespace webrtc { namespace { const float kEncodeTimeWeigthFactor = 0.5f; -const size_t kMaxEncodedFrameMapSize = 1000; +const size_t kMaxEncodedFrameMapSize = 150; const int64_t kMaxEncodedFrameWindowMs = 800; const int64_t kBucketSizeMs = 100; const size_t kBucketCount = 10;