Fix no_global_constructors in congestion_controller/goog_cc.

Bug: webrtc:9693
Change-Id: Ic341f3bed2c7c8c4f62363a7344f8524ff561155
Reviewed-on: https://webrtc-review.googlesource.com/98580
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24607}
This commit is contained in:
Mirko Bonadei
2018-09-06 15:03:52 +02:00
committed by Commit Bot
parent 95c56eebe0
commit 50cfab7d84
2 changed files with 2 additions and 5 deletions

View File

@ -17,10 +17,7 @@ config("bwe_test_logging") {
}
rtc_static_library("goog_cc") {
configs += [
":bwe_test_logging",
"../../..:no_global_constructors",
]
configs += [ ":bwe_test_logging" ]
sources = [
"goog_cc_factory.cc",
"goog_cc_network_control.cc",

View File

@ -39,7 +39,7 @@ const char kCwndExperiment[] = "WebRTC-CwndExperiment";
const int64_t kDefaultAcceptedQueueMs = 250;
// From RTCPSender video report interval.
const TimeDelta kLossUpdateInterval = TimeDelta::ms(1000);
constexpr TimeDelta kLossUpdateInterval = TimeDelta::Millis<1000>();
// Pacing-rate relative to our target send rate.
// Multiplicative factor that is applied to the target bitrate to calculate