From 61b4f7489dbda45092973a2d28cc893388ae7bb2 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Fri, 8 Feb 2019 20:01:00 +0100 Subject: [PATCH] Fix PeerConnectionInterface::StartRtcEventLog documentation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Logging will not stop after 10 minutes but after the max size of the file is reached. Bug: None No-Try: True Change-Id: I18c064cc60b52d892d5070b3eddf08749b60604c Reviewed-on: https://webrtc-review.googlesource.com/c/121959 Reviewed-by: Björn Terelius Reviewed-by: Karl Wiberg Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#26625} --- api/peer_connection_interface.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h index c3e5207e96..541a6b4e2e 100644 --- a/api/peer_connection_interface.h +++ b/api/peer_connection_interface.h @@ -1057,9 +1057,9 @@ class PeerConnectionInterface : public rtc::RefCountInterface { // Starts RtcEventLog using existing file. Takes ownership of |file| and // passes it on to Call, 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. + // operation fails the file will be closed. + // The logging will stop when |max_size_bytes| is reached or when the + // StopRtcEventLog function is called. // TODO(eladalon): Deprecate and remove this. virtual bool StartRtcEventLog(rtc::PlatformFile file, int64_t max_size_bytes);