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

Unified Diff: talk/session/media/channelmanager.cc

Issue 1413483003: Added option to specify a maximum file size when recording an AEC dump. (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 side-by-side diff with in-line comments
Download patch
Index: talk/session/media/channelmanager.cc
diff --git a/talk/session/media/channelmanager.cc b/talk/session/media/channelmanager.cc
index 5caf3c4b575e4e03978ee1ab10f4530f638bdf0d..25580d1b748704229bb274b37b4c17c478c9ea40 100644
--- a/talk/session/media/channelmanager.cc
+++ b/talk/session/media/channelmanager.cc
@@ -630,6 +630,12 @@ bool ChannelManager::StartAecDump(rtc::PlatformFile file) {
Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file));
}
+bool ChannelManager::StartAecDump(rtc::PlatformFile file, int max_size_bytes) {
+ return worker_thread_->Invoke<bool>(Bind(&MediaEngineInterface::StartAecDump,
+ media_engine_.get(), file,
+ max_size_bytes));
+}
+
bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) {
return worker_thread_->Invoke<bool>(
Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file));

Powered by Google App Engine
This is Rietveld 408576698