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

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

Issue 1374253002: Added functions on libjingle API to start and stop the recording of an RtcEventLog. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: RtcEventLog takes ownership of the rtc::PlatformFile. 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 5930dfd75aa3af16db2fc74fbcd3e52bf8442da4..5caf3c4b575e4e03978ee1ab10f4530f638bdf0d 100644
--- a/talk/session/media/channelmanager.cc
+++ b/talk/session/media/channelmanager.cc
@@ -630,4 +630,14 @@ bool ChannelManager::StartAecDump(rtc::PlatformFile file) {
Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file));
}
+bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) {
+ return worker_thread_->Invoke<bool>(
+ Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file));
+}
+
+void ChannelManager::StopRtcEventLog() {
+ worker_thread_->Invoke<void>(
+ Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get()));
+}
+
} // namespace cricket

Powered by Google App Engine
This is Rietveld 408576698