Index: webrtc/pc/rtcstats_integrationtest.cc |
diff --git a/webrtc/pc/rtcstats_integrationtest.cc b/webrtc/pc/rtcstats_integrationtest.cc |
index 922e07c12a6bdb0a58363920e27fb5da86affeb4..a2bfb3ee6a8bd12b42285d02bcee0279b458e8ff 100644 |
--- a/webrtc/pc/rtcstats_integrationtest.cc |
+++ b/webrtc/pc/rtcstats_integrationtest.cc |
@@ -11,6 +11,7 @@ |
#include <set> |
#include <vector> |
+#include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" |
#include "webrtc/api/datachannelinterface.h" |
#include "webrtc/api/peerconnectioninterface.h" |
#include "webrtc/api/stats/rtcstats_objects.h" |
@@ -52,8 +53,12 @@ class RTCStatsIntegrationTest : public testing::Test { |
PeerConnectionInterface::IceServer ice_server; |
ice_server.uri = "stun:1.1.1.1:3478"; |
config.servers.push_back(ice_server); |
- EXPECT_TRUE(caller_->CreatePc(nullptr, config)); |
- EXPECT_TRUE(callee_->CreatePc(nullptr, config)); |
+ EXPECT_TRUE(caller_->CreatePc(nullptr, config, |
+ CreateBuiltinAudioEncoderFactory(), |
+ CreateBuiltinAudioDecoderFactory())); |
+ EXPECT_TRUE(callee_->CreatePc(nullptr, config, |
+ CreateBuiltinAudioEncoderFactory(), |
+ CreateBuiltinAudioDecoderFactory())); |
PeerConnectionTestWrapper::Connect(caller_.get(), callee_.get()); |
// Get user media for audio and video |