Index: webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc b/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
index df0b470116b72f414a6bc3be1a7e4df86caf008d..04f8575223db68df1ef5293c37aaf3e795bd9a52 100644 |
--- a/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
@@ -51,8 +51,10 @@ void BitrateController::MakeDecision( |
// Current implementation of BitrateController can only work when |
// |metrics.target_audio_bitrate_bps| includes overhead is enabled. This is |
// currently governed by the following field trial. |
- RTC_DCHECK_EQ("Enabled", webrtc::field_trial::FindFullName( |
- "WebRTC-SendSideBwe-WithOverhead")); |
+ RTC_DCHECK_EQ( |
+ 0, |
+ webrtc::field_trial::FindFullName("WebRTC-SendSideBwe-WithOverhead") |
+ .find("Enabled")); |
tommi
2017/02/28 11:52:41
RTC_DCHECK(webrtc::field_trial::IsEnabled("WebRTC-
sprang_webrtc
2017/02/28 12:18:31
Done.
|
if (config->frame_length_ms) |
frame_length_ms_ = *config->frame_length_ms; |
int overhead_rate_bps = |