| Index: webrtc/media/base/mediaengine.h
|
| diff --git a/webrtc/media/base/mediaengine.h b/webrtc/media/base/mediaengine.h
|
| index dd1f5272a067dc21599eef469e71364ef9035ac7..0e2b7efa86e2dd8e1769e384dfd27d50a7cc3652 100644
|
| --- a/webrtc/media/base/mediaengine.h
|
| +++ b/webrtc/media/base/mediaengine.h
|
| @@ -88,6 +88,15 @@
|
|
|
| // Stops recording AEC dump.
|
| virtual void StopAecDump() = 0;
|
| +
|
| + // Starts RtcEventLog using existing file. A maximum file size in bytes can be
|
| + // specified. Logging is stopped just before the size limit is exceeded.
|
| + // If max_size_bytes is set to a value <= 0, no limit will be used.
|
| + virtual bool StartRtcEventLog(rtc::PlatformFile file,
|
| + int64_t max_size_bytes) = 0;
|
| +
|
| + // Stops recording an RtcEventLog.
|
| + virtual void StopRtcEventLog() = 0;
|
| };
|
|
|
|
|
| @@ -166,6 +175,13 @@
|
| voice_.StopAecDump();
|
| }
|
|
|
| + virtual bool StartRtcEventLog(rtc::PlatformFile file,
|
| + int64_t max_size_bytes) {
|
| + return voice_.StartRtcEventLog(file, max_size_bytes);
|
| + }
|
| +
|
| + virtual void StopRtcEventLog() { voice_.StopRtcEventLog(); }
|
| +
|
| protected:
|
| VOICE voice_;
|
| VIDEO video_;
|
|
|