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

Unified Diff: webrtc/media/base/videoengine_unittest.h

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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/media/base/videoengine_unittest.h
diff --git a/webrtc/media/base/videoengine_unittest.h b/webrtc/media/base/videoengine_unittest.h
index 1b2aedf6b76f80796fdc416bb7898c2c9c075f68..f8415c519eda627caccdca0ea23c5cea729913b9 100644
--- a/webrtc/media/base/videoengine_unittest.h
+++ b/webrtc/media/base/videoengine_unittest.h
@@ -42,6 +42,9 @@
#include "webrtc/media/base/streamparams.h"
#include "webrtc/media/webrtc/fakewebrtccall.h"
+// TODO(nisse): Improper include? Move declaration of MediaConfig elsewhere?
+#include "talk/app/webrtc/mediacontroller.h"
+
#define EXPECT_FRAME_WAIT(c, w, h, t) \
EXPECT_EQ_WAIT((c), renderer_.num_rendered_frames(), (t)); \
EXPECT_EQ((w), renderer_.width()); \
@@ -143,7 +146,9 @@ class VideoMediaChannelTest : public testing::Test,
cricket::Device device("test", "device");
engine_.Init();
channel_.reset(
- engine_.CreateChannel(call_.get(), cricket::VideoOptions()));
+ engine_.CreateChannel(call_.get(),
+ webrtc::MediaConfig(),
+ cricket::VideoOptions()));
EXPECT_TRUE(channel_.get() != NULL);
network_interface_.SetDestination(channel_.get());
channel_->SetInterface(&network_interface_);

Powered by Google App Engine
This is Rietveld 408576698