Index: webrtc/api/mediacontroller.cc |
diff --git a/webrtc/api/mediacontroller.cc b/webrtc/api/mediacontroller.cc |
index 71964d52a7e0b5b5bcbadb7ecbcb825eda1910b1..f50da951ee8fb9ce5694b4ae119df2c790eec95f 100644 |
--- a/webrtc/api/mediacontroller.cc |
+++ b/webrtc/api/mediacontroller.cc |
@@ -63,7 +63,8 @@ class MediaController : public webrtc::MediaControllerInterface, |
call_config_.audio_state = media_engine->GetAudioState(); |
call_config_.bitrate_config.min_bitrate_bps = kMinBandwidthBps; |
call_config_.bitrate_config.start_bitrate_bps = kStartBandwidthBps; |
- call_config_.bitrate_config.max_bitrate_bps = kMaxBandwidthBps; |
+ call_config_.bitrate_config.max_bitrate_bps = |
+ rtc::Optional<int>(kMaxBandwidthBps); |
} |
void Close_w() { |
RTC_DCHECK(worker_thread_->IsCurrent()); |