Index: webrtc/media/engine/fakewebrtccall.h |
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h |
index 8581d829d659de1c50fb2aeb51007744c44cc5d9..6c687ef6d2d8d2a1f58051fd3aa3825d75217aa2 100644 |
--- a/webrtc/media/engine/fakewebrtccall.h |
+++ b/webrtc/media/engine/fakewebrtccall.h |
@@ -102,10 +102,10 @@ class FakeAudioReceiveStream final : public webrtc::AudioReceiveStream { |
class FakeVideoSendStream final : public webrtc::VideoSendStream, |
public webrtc::VideoCaptureInput { |
public: |
- FakeVideoSendStream(const webrtc::VideoSendStream::Config& config, |
- const webrtc::VideoEncoderConfig& encoder_config); |
- webrtc::VideoSendStream::Config GetConfig() const; |
- webrtc::VideoEncoderConfig GetEncoderConfig() const; |
+ FakeVideoSendStream(webrtc::VideoSendStream::Config config, |
+ webrtc::VideoEncoderConfig encoder_config); |
+ const webrtc::VideoSendStream::Config& GetConfig() const; |
+ const webrtc::VideoEncoderConfig& GetEncoderConfig() const; |
std::vector<webrtc::VideoStream> GetVideoStreams(); |
bool IsSending() const; |
@@ -128,8 +128,7 @@ class FakeVideoSendStream final : public webrtc::VideoSendStream, |
void Start() override; |
void Stop() override; |
webrtc::VideoSendStream::Stats GetStats() override; |
- void ReconfigureVideoEncoder( |
- const webrtc::VideoEncoderConfig& config) override; |
+ void ReconfigureVideoEncoder(webrtc::VideoEncoderConfig config) override; |
webrtc::VideoCaptureInput* Input() override; |
bool sending_; |
@@ -208,8 +207,8 @@ class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver { |
webrtc::AudioReceiveStream* receive_stream) override; |
webrtc::VideoSendStream* CreateVideoSendStream( |
- const webrtc::VideoSendStream::Config& config, |
- const webrtc::VideoEncoderConfig& encoder_config) override; |
+ webrtc::VideoSendStream::Config config, |
+ webrtc::VideoEncoderConfig encoder_config) override; |
void DestroyVideoSendStream(webrtc::VideoSendStream* send_stream) override; |
webrtc::VideoReceiveStream* CreateVideoReceiveStream( |