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

Unified Diff: webrtc/pc/channel.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
Index: webrtc/pc/channel.cc
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc
index d9aa8512aac0f29f50d685c27852224558b1031a..b928b6ce11e8dc463c9877a505fb7d6ddf8b5ee2 100644
--- a/webrtc/pc/channel.cc
+++ b/webrtc/pc/channel.cc
@@ -138,7 +138,7 @@ void RtpSendParametersFromMediaDescription(
const MediaContentDescriptionImpl<Codec>* desc,
RtpSendParameters<Codec>* send_params) {
RtpParametersFromMediaDescription(desc, send_params);
- send_params->max_bandwidth_bps = desc->bandwidth();
+ send_params->max_bitrate_bps = desc->bandwidth();
}
BaseChannel::BaseChannel(rtc::Thread* thread,

Powered by Google App Engine
This is Rietveld 408576698