| Index: webrtc/api/peerconnection.h
|
| diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h
|
| index d715ecdf73d45574a1383a2c66c8f6e5fcaa8af9..c4e77550661d25d80897356aa3c1922454d0bca4 100644
|
| --- a/webrtc/api/peerconnection.h
|
| +++ b/webrtc/api/peerconnection.h
|
| @@ -137,6 +137,10 @@ class PeerConnection : public PeerConnectionInterface,
|
|
|
| void RegisterUMAObserver(UMAObserver* observer) override;
|
|
|
| + bool StartRtcEventLog(rtc::PlatformFile file,
|
| + int64_t max_size_bytes) override;
|
| + void StopRtcEventLog() override;
|
| +
|
| void Close() override;
|
|
|
| // Virtual for unit tests.
|
| @@ -356,6 +360,13 @@ class PeerConnection : public PeerConnectionInterface,
|
| // or nullptr if not found.
|
| DataChannel* FindDataChannelBySid(int sid) const;
|
|
|
| + // Starts recording an Rtc EventLog using the supplied platform file.
|
| + // This function should only be called from the worker thread.
|
| + bool StartRtcEventLog_w(rtc::PlatformFile file, int64_t max_size_bytes);
|
| + // Starts recording an Rtc EventLog using the supplied platform file.
|
| + // This function should only be called from the worker thread.
|
| + void StopRtcEventLog_w();
|
| +
|
| // Storing the factory as a scoped reference pointer ensures that the memory
|
| // in the PeerConnectionFactoryImpl remains available as long as the
|
| // PeerConnection is running. It is passed to PeerConnection as a raw pointer.
|
|
|