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:
mflodman@webrtc.org
2013-07-23 11:35:00 +00:00
parent 5c280ecd57
commit 6879c8adad
20 changed files with 239 additions and 52 deletions

View File

@ -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());