Chromium Code Reviews| 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); |
| } |
|
pthatcher1
2016/03/17 21:51:28
Can this be unset?
If not, why have it be optiona
skvlad
2016/03/18 00:49:17
This value will become unset if a video stream is
|
| void Close_w() { |
| RTC_DCHECK(worker_thread_->IsCurrent()); |