Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: webrtc/call/rtc_event_log.h

Issue 1303713002: Keep config events in RtcEventLog even if they are old. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase again Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/call/rtc_event_log.cc » ('j') | webrtc/call/rtc_event_log_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/rtc_event_log.h
diff --git a/webrtc/call/rtc_event_log.h b/webrtc/call/rtc_event_log.h
index 02bbdc6001caf3668e53f21fd68490efe92bc82c..85d752575244194a3de9fe20385474cf84e3488b 100644
--- a/webrtc/call/rtc_event_log.h
+++ b/webrtc/call/rtc_event_log.h
@@ -36,6 +36,10 @@ class RtcEventLog {
static rtc::scoped_ptr<RtcEventLog> Create();
+ // Sets the time that events are stored in the internal event buffer
+ // before the user calls StartLogging. The default is 10 000 000 us = 10 s
+ virtual void SetBufferDuration(int64_t buffer_duration_us) = 0;
+
// Starts logging for the specified duration to the specified file.
// The logging will stop automatically after the specified duration.
// If the file already exists it will be overwritten.
« no previous file with comments | « no previous file | webrtc/call/rtc_event_log.cc » ('j') | webrtc/call/rtc_event_log_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698