diff options
Diffstat (limited to 'video_engine/test')
-rw-r--r-- | video_engine/test/full_stack.cc | 5 | ||||
-rw-r--r-- | video_engine/test/loopback.cc | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/video_engine/test/full_stack.cc b/video_engine/test/full_stack.cc index b19d20ab..626da309 100644 --- a/video_engine/test/full_stack.cc +++ b/video_engine/test/full_stack.cc @@ -284,7 +284,10 @@ TEST_P(FullStackTest, NoPacketLoss) { params.avg_ssim_threshold, static_cast<uint64_t>(FLAGS_seconds * params.clip.fps)); - scoped_ptr<newapi::VideoCall> call(video_engine->CreateCall(&analyzer)); + newapi::VideoCall::Config call_config; + call_config.send_transport = &analyzer; + + scoped_ptr<newapi::VideoCall> call(video_engine->CreateCall(call_config)); analyzer.receiver_ = call->Receiver(); transport.SetReceiver(&analyzer); diff --git a/video_engine/test/loopback.cc b/video_engine/test/loopback.cc index 5040799e..b298b1af 100644 --- a/video_engine/test/loopback.cc +++ b/video_engine/test/loopback.cc @@ -42,7 +42,10 @@ TEST_F(LoopbackTest, Test) { newapi::VideoEngine::Create(webrtc::newapi::VideoEngineConfig())); test::DirectTransport transport(NULL); - scoped_ptr<newapi::VideoCall> call(video_engine->CreateCall(&transport)); + newapi::VideoCall::Config call_config; + call_config.send_transport = &transport; + call_config.overuse_detection = true; + scoped_ptr<newapi::VideoCall> call(video_engine->CreateCall(call_config)); // Loopback, call sends to itself. transport.SetReceiver(call->Receiver()); |