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

Unified Diff: talk/media/base/mediaengine.h

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: Addressed more comments from the sun. 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
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/mediaengine.h
diff --git a/talk/media/base/mediaengine.h b/talk/media/base/mediaengine.h
index 8468e07293aa6521f5b814a471db50314d815d2e..c5b90962f9730e90965d91a0b585b77b7e256bfd 100644
--- a/talk/media/base/mediaengine.h
+++ b/talk/media/base/mediaengine.h
@@ -121,6 +121,12 @@ class MediaEngineInterface {
// Starts AEC dump using existing file.
virtual bool StartAecDump(rtc::PlatformFile file) = 0;
+
+ // Starts RtcEventLog using existing file.
+ virtual bool StartRtcEventLog(rtc::PlatformFile file) = 0;
+
+ // Stops recording an RtcEventLog.
+ virtual void StopRtcEventLog() = 0;
};
@@ -219,6 +225,12 @@ class CompositeMediaEngine : public MediaEngineInterface {
return voice_.StartAecDump(file);
}
+ virtual bool StartRtcEventLog(rtc::PlatformFile file) {
+ return voice_.StartRtcEventLog(file);
+ }
+
+ virtual void StopRtcEventLog() { voice_.StopRtcEventLog(); }
+
protected:
VOICE voice_;
VIDEO video_;
@@ -251,6 +263,8 @@ class NullVoiceEngine {
}
void SetLogging(int min_sev, const char* filter) {}
bool StartAecDump(rtc::PlatformFile file) { return false; }
+ bool StartRtcEventLog(rtc::PlatformFile file) { return false; }
+ void StopRtcEventLog() {}
private:
std::vector<AudioCodec> codecs_;
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698