| 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_;
|
|
|