Index: talk/app/webrtc/peerconnectioninterface.h |
diff --git a/talk/app/webrtc/peerconnectioninterface.h b/talk/app/webrtc/peerconnectioninterface.h |
index ca853385e6327fdcad52014b32abc115685e80c1..5d489a2ca21b4a22d5915f03ccd35d6cf1e0b667 100644 |
--- a/talk/app/webrtc/peerconnectioninterface.h |
+++ b/talk/app/webrtc/peerconnectioninterface.h |
@@ -580,6 +580,16 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface { |
// http://crbug.com/264611. |
virtual bool StartAecDump(rtc::PlatformFile file) = 0; |
+ // Starts RtcEventLog using existing file. Takes ownership of |file| and |
+ // passes it on to VoiceEngine, which will take the ownership. If the |
+ // operation fails the file will be closed. The logging will stop |
+ // automatically after 10 minutes have passed, or when the StopRtcEventLog |
+ // function is called. |
+ virtual bool StartRtcEventLog(rtc::PlatformFile file) = 0; |
+ |
+ // Stops logging the RtcEventLog. |
+ virtual void StopRtcEventLog() = 0; |
+ |
protected: |
// Dtor and ctor protected as objects shouldn't be created or deleted via |
// this interface. |