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

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: Added functions to start and stop logging. Created 5 years, 3 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 1d86241e9d0a67953f6fa91c9242060d7158f99f..000cb3c8769afe9a789721f86a2ab9bb091c33a5 100644
--- a/talk/session/media/channelmanager.cc
+++ b/talk/session/media/channelmanager.cc
@@ -639,4 +639,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