Index: webrtc/media/engine/webrtcvideoengine2.h |
diff --git a/webrtc/media/engine/webrtcvideoengine2.h b/webrtc/media/engine/webrtcvideoengine2.h |
index 9413047cb305ddf440b68a62731d47270ed7a9f2..794b313da5d6f9180334e0ea5b55bfe41d64d0e0 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.h |
+++ b/webrtc/media/engine/webrtcvideoengine2.h |
@@ -248,7 +248,7 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport { |
WebRtcVideoSendStream( |
webrtc::Call* call, |
const StreamParams& sp, |
- const webrtc::VideoSendStream::Config& config, |
+ webrtc::VideoSendStream::Config config, |
const VideoOptions& options, |
WebRtcVideoEncoderFactory* external_encoder_factory, |
bool enable_cpu_overuse_detection, |
@@ -284,7 +284,7 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport { |
// similar parameters depending on which options changed etc. |
struct VideoSendStreamParameters { |
VideoSendStreamParameters( |
- const webrtc::VideoSendStream::Config& config, |
+ webrtc::VideoSendStream::Config config, |
const VideoOptions& options, |
int max_bitrate_bps, |
const rtc::Optional<VideoCodecSettings>& codec_settings); |