Reduce max possible size of map that holds encoded frame info.
Bug: webrtc:8375
Change-Id: Idc57e68dc44fd73e5c0aa85d82c1e3659d8ea292
Reviewed-on: https://webrtc-review.googlesource.com/8301
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20232}
diff --git a/video/send_statistics_proxy.cc b/video/send_statistics_proxy.cc
index 4c6df0a..d72b741 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;