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

Unified Diff: webrtc/media/engine/fakewebrtccall.h

Issue 2351633002: Let ViEEncoder handle resolution changes. (Closed)
Patch Set: Fix perf test Created 4 years, 3 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/media/engine/fakewebrtccall.h
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h
index 29142c18b777f3c6d3816cd8e22dc6bde8cf50e4..f53dcc4401726c1d90c51622a7fa17a10bdca58c 100644
--- a/webrtc/media/engine/fakewebrtccall.h
+++ b/webrtc/media/engine/fakewebrtccall.h
@@ -21,6 +21,7 @@
#define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
#include <memory>
+#include <string>
#include <vector>
#include "webrtc/api/call/audio_receive_stream.h"
@@ -108,7 +109,7 @@ class FakeVideoSendStream final
~FakeVideoSendStream() override;
const webrtc::VideoSendStream::Config& GetConfig() const;
const webrtc::VideoEncoderConfig& GetEncoderConfig() const;
- std::vector<webrtc::VideoStream> GetVideoStreams();
+ const std::vector<webrtc::VideoStream>& GetVideoStreams() const;
bool IsSending() const;
bool GetVp8Settings(webrtc::VideoCodecVP8* settings) const;
@@ -138,6 +139,7 @@ class FakeVideoSendStream final
bool sending_;
webrtc::VideoSendStream::Config config_;
webrtc::VideoEncoderConfig encoder_config_;
+ std::vector<webrtc::VideoStream> video_streams_;
bool codec_settings_set_;
union VpxSettings {
webrtc::VideoCodecVP8 vp8;
@@ -257,4 +259,4 @@ class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver {
};
} // namespace cricket
-#endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_
+#endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_

Powered by Google App Engine
This is Rietveld 408576698