Add FieldTrial to only send probes on OnMaxTotalAllocatedBitrate()

if currently sent bitrate is application-limited.

Bug: chromium:951299
Change-Id: Ibc1ebd74eaa4a019dc290c11b606796c5be21d0f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131126
Commit-Queue: Konrad Hofbauer <hofbauer@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27539}
This commit is contained in:
Konrad Hofbauer
2019-04-10 12:38:06 +02:00
committed by Commit Bot
parent dd33d8ec71
commit 25f35a8fa5
3 changed files with 40 additions and 1 deletions

View File

@ -134,6 +134,7 @@ class ProbeController {
const bool in_rapid_recovery_experiment_;
const bool limit_probes_with_allocateable_rate_;
const bool allocation_probing_only_in_alr_;
// For WebRTC.BWE.MidCallProbing.* metric.
bool mid_call_probing_waiting_for_result_;
int64_t mid_call_probing_bitrate_bps_;