Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Unified Diff: webrtc/api/mediacontroller.cc

Issue 1813763005: Updated structures and functions for setting the max bitrate limit to take rtc::Optional<int> Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/api/rtpparameters.h » ('j') | webrtc/base/optional_ios.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | webrtc/api/rtpparameters.h » ('j') | webrtc/base/optional_ios.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698