Make some constants in the bitrate prober configurable.

This lets us change how many bytes and packets goes into the probes, as
well as some other things.

Bug: webrtc:10394
Change-Id: I26bb26a644e6f00366e9275228760c8744d63735
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128424
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27312}
This commit is contained in:
Jonas Olsson
2019-03-27 14:19:04 +01:00
committed by Commit Bot
parent 0cc2fe5e78
commit 24923e8cfa
6 changed files with 65 additions and 41 deletions

View File

@ -314,7 +314,7 @@ TEST_F(ProbeControllerTest, TestAllocatedBitrateCap) {
TEST_F(ProbeControllerTest, ConfigurableProbingFieldTrial) {
test::ScopedFieldTrials trials(
"WebRTC-Bwe-ConfigurableProbing/"
"WebRTC-Bwe-ProbingConfiguration/"
"p1:2,p2:5,step_size:3,further_probe_threshold:0.8/");
probe_controller_.reset(
new ProbeController(&field_trial_config_, &mock_rtc_event_log));