Index: webrtc/media/engine/webrtcvoiceengine.cc |
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc |
index 47ed43e82efa6fe6add97738d6fe45a97015914e..41c3176338b476f3db5a6eb59f46fe2e4b1e6283 100644 |
--- a/webrtc/media/engine/webrtcvoiceengine.cc |
+++ b/webrtc/media/engine/webrtcvoiceengine.cc |
@@ -1056,11 +1056,12 @@ void WebRtcVoiceEngine::StopAecDump() { |
} |
} |
-bool WebRtcVoiceEngine::StartRtcEventLog(rtc::PlatformFile file) { |
+bool WebRtcVoiceEngine::StartRtcEventLog(rtc::PlatformFile file, |
+ int64_t max_size_bytes) { |
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
webrtc::RtcEventLog* event_log = voe_wrapper_->codec()->GetEventLog(); |
if (event_log) { |
- return event_log->StartLogging(file); |
+ return event_log->StartLogging(file, max_size_bytes); |
} |
LOG_RTCERR0(StartRtcEventLog); |
return false; |