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

Side by Side Diff: talk/session/media/channelmanager.cc

Issue 1415733005: Added StopAecDump function to PeerConnectionFactory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Initial version. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 break; 623 break;
624 } 624 }
625 } 625 }
626 } 626 }
627 627
628 bool ChannelManager::StartAecDump(rtc::PlatformFile file) { 628 bool ChannelManager::StartAecDump(rtc::PlatformFile file) {
629 return worker_thread_->Invoke<bool>( 629 return worker_thread_->Invoke<bool>(
630 Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file)); 630 Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file));
631 } 631 }
632 632
633 void ChannelManager::StopAecDump() {
634 worker_thread_->Invoke<void>(
635 Bind(&MediaEngineInterface::StopAecDump, media_engine_.get()));
636 }
637
633 bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) { 638 bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) {
634 return worker_thread_->Invoke<bool>( 639 return worker_thread_->Invoke<bool>(
635 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file)); 640 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file));
636 } 641 }
637 642
638 void ChannelManager::StopRtcEventLog() { 643 void ChannelManager::StopRtcEventLog() {
639 worker_thread_->Invoke<void>( 644 worker_thread_->Invoke<void>(
640 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get())); 645 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get()));
641 } 646 }
642 647
643 } // namespace cricket 648 } // namespace cricket
OLDNEW
« talk/media/base/mediaengine.h ('K') | « talk/session/media/channelmanager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698