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

Unified Diff: webrtc/pc/channel.cc

Issue 1695663003: Drop VideoOptions from VideoSendParameters. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Let WebRtcVideoChannel2 keep construction-time default VideoOptions. Created 4 years, 10 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 1d5d159d05fd786eafc6fb909fb96298d64e3c52..a7c23c4b338687076e03447a0ad631325ab9c2df 100644
--- a/webrtc/pc/channel.cc
+++ b/webrtc/pc/channel.cc
@@ -141,10 +141,10 @@ void RtpParametersFromMediaDescription(
params->rtcp.reduced_size = desc->rtcp_reduced_size();
}
-template <class Codec, class Options>
+template <class Codec>
void RtpSendParametersFromMediaDescription(
const MediaContentDescriptionImpl<Codec>* desc,
- RtpSendParameters<Codec, Options>* send_params) {
+ RtpSendParameters<Codec>* send_params) {
RtpParametersFromMediaDescription(desc, send_params);
send_params->max_bandwidth_bps = desc->bandwidth();
}

Powered by Google App Engine
This is Rietveld 408576698