Adds time to initial config in analyzer code.
Bug: webrtc:9586 Change-Id: Ib5cbcdcf2cce3bea24d8c03a25f6cd415feb97ad Reviewed-on: https://webrtc-review.googlesource.com/c/106880 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25254}
This commit is contained in:

committed by
Commit Bot

parent
f203d736f5
commit
78416b6e18
@ -156,6 +156,7 @@ GoogCcNetworkController::GoogCcNetworkController(RtcEventLog* event_log,
|
||||
max_total_allocated_bitrate_(DataRate::Zero()),
|
||||
in_cwnd_experiment_(CwndExperimentEnabled()),
|
||||
accepted_queue_ms_(kDefaultAcceptedQueueMs) {
|
||||
RTC_DCHECK(config.constraints.at_time.IsFinite());
|
||||
delay_based_bwe_->SetMinBitrate(congestion_controller::GetMinBitrateBps());
|
||||
if (in_cwnd_experiment_ &&
|
||||
!ReadCwndExperimentParameter(&accepted_queue_ms_)) {
|
||||
|
@ -1087,6 +1087,7 @@ void EventLogAnalyzer::CreateSendSideBweSimulationGraph(Plot* plot) {
|
||||
// TODO(holmer): Log the call config and use that here instead.
|
||||
static const uint32_t kDefaultStartBitrateBps = 300000;
|
||||
NetworkControllerConfig cc_config;
|
||||
cc_config.constraints.at_time = Timestamp::us(clock.TimeInMicroseconds());
|
||||
cc_config.constraints.starting_rate = DataRate::bps(kDefaultStartBitrateBps);
|
||||
auto goog_cc = factory.Create(cc_config);
|
||||
|
||||
|
Reference in New Issue
Block a user