Throttle GenericEncoder warning messages more.

Because they usually happen for all or for no frames in a stream.

Bug: chrome:801327
Change-Id: Ie09b93a0822e821076ff2743cf1223c29fcf44a6
Reviewed-on: https://webrtc-review.googlesource.com/39785
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21644}
This commit is contained in:
Ilya Nikolaevskiy
2018-01-16 10:48:27 +01:00
committed by Commit Bot
parent e662d0ecf0
commit 269674f7ad

View File

@ -27,8 +27,8 @@
namespace webrtc {
namespace {
const int kMessagesThrottlingThreshold = 100;
const int kThrottleRatio = 1000;
const int kMessagesThrottlingThreshold = 2;
const int kThrottleRatio = 100000;
} // namespace
VCMGenericEncoder::VCMGenericEncoder(