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

Unified Diff: webrtc/media/engine/nullwebrtcvideoengine_unittest.cc

Issue 2072753002: WebRtcVoiceEngine: Use AudioDecoderFactory to generate recv codecs. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed tommi's comments. Created 4 years, 5 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
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/media/engine/payload_type_mapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/nullwebrtcvideoengine_unittest.cc
diff --git a/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc b/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc
index 38d6e77488632fa32b50fd0e7ec715ce1d1f1f66..52cd0f2a62cd95d7cb380487829732c57e58edb9 100644
--- a/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc
+++ b/webrtc/media/engine/nullwebrtcvideoengine_unittest.cc
@@ -12,6 +12,7 @@
#include "webrtc/media/engine/nullwebrtcvideoengine.h"
#include "webrtc/media/engine/webrtcvoiceengine.h"
+#include "webrtc/modules/audio_coding/codecs/mock/mock_audio_decoder_factory.h"
namespace cricket {
@@ -34,7 +35,9 @@ class WebRtcMediaEngineNullVideo
// Simple test to check if NullWebRtcVideoEngine implements the methods
// required by CompositeMediaEngine.
TEST(NullWebRtcVideoEngineTest, CheckInterface) {
- WebRtcMediaEngineNullVideo engine(nullptr, nullptr, nullptr, nullptr);
+ WebRtcMediaEngineNullVideo engine(
+ nullptr, webrtc::MockAudioDecoderFactory::CreateUnusedFactory(), nullptr,
+ nullptr);
EXPECT_TRUE(engine.Init());
}
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/media/engine/payload_type_mapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698