| Index: webrtc/call/rampup_tests.cc
|
| diff --git a/webrtc/call/rampup_tests.cc b/webrtc/call/rampup_tests.cc
|
| index 6c3cce60103010e41f669f02a0f683aed43a248c..0a2a7384d8dd7d0ad1eec0a1c68a88ee3b8b939c 100644
|
| --- a/webrtc/call/rampup_tests.cc
|
| +++ b/webrtc/call/rampup_tests.cc
|
| @@ -417,9 +417,8 @@
|
| rtx,
|
| red,
|
| report_perf_stats),
|
| - link_rates_({4 * GetExpectedHighBitrate() / (3 * 1000),
|
| - kLowBandwidthLimitBps / 1000,
|
| - 4 * GetExpectedHighBitrate() / (3 * 1000), 0}),
|
| + link_rates_({GetHighLinkCapacity(), kLowBandwidthLimitBps / 1000,
|
| + GetHighLinkCapacity(), 0}),
|
| test_state_(kFirstRampup),
|
| next_state_(kTransitionToNextState),
|
| state_start_ms_(clock_->TimeInMilliseconds()),
|
| @@ -487,6 +486,10 @@
|
| if (num_video_streams_ > 0)
|
| expected_bitrate_bps += kExpectedHighVideoBitrateBps;
|
| return expected_bitrate_bps;
|
| +}
|
| +
|
| +int RampUpDownUpTester::GetHighLinkCapacity() const {
|
| + return 4 * GetExpectedHighBitrate() / (3 * 1000);
|
| }
|
|
|
| size_t RampUpDownUpTester::GetFecBytes() const {
|
|
|