Hooking up first simple CPU adaptation version.
BUG= R=pbos@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1767004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4384 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -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());
|
||||
|
||||
Reference in New Issue
Block a user