Index: webrtc/video/rtc_event_log.h |
diff --git a/webrtc/video/rtc_event_log.h b/webrtc/video/rtc_event_log.h |
index a6bf2e3d8836d2b7e0ee6f0ca702f56ffc48c366..5cf0a326d6f14881881ff608dcab1c7a66118e62 100644 |
--- a/webrtc/video/rtc_event_log.h |
+++ b/webrtc/video/rtc_event_log.h |
@@ -38,6 +38,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 recent_log_duration_us) = 0; |
ivoc
2015/08/25 08:03:21
How useful is it to be able to change the size of
terelius
2015/08/25 16:41:44
At the moment it is only used for testing purposes
ivoc
2015/08/26 08:15:28
Hmm, I don't really see why there no good way to c
terelius
2015/08/26 08:43:37
Using a function you can choose a new name, e.g. S
ivoc
2015/09/25 15:30:23
How about creating multiple variants of the Create
terelius
2015/10/15 13:28:21
Following the discussions we had last week with Ji
ivoc
2015/10/15 15:52:06
Okay, sounds good.
|
+ |
// 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. |