Make WebRTC-EventLogNewFormat default.
This makes WebRTC-EventLogNewFormat the default Event logging format.
Bug: chromium:1433664
Change-Id: Ic35d7ed0e88b0cbe7af3003007a4e21d9b349a64
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/310480
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Lionel Koenig <lionelk@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40358}
diff --git a/pc/peer_connection.cc b/pc/peer_connection.cc
index 08d3a8a..d697f65 100644
--- a/pc/peer_connection.cc
+++ b/pc/peer_connection.cc
@@ -1780,9 +1780,9 @@
bool PeerConnection::StartRtcEventLog(
std::unique_ptr<RtcEventLogOutput> output) {
- int64_t output_period_ms = webrtc::RtcEventLog::kImmediateOutput;
- if (trials().IsEnabled("WebRTC-RtcEventLogNewFormat")) {
- output_period_ms = 5000;
+ int64_t output_period_ms = 5000;
+ if (trials().IsDisabled("WebRTC-RtcEventLogNewFormat")) {
+ output_period_ms = webrtc::RtcEventLog::kImmediateOutput;
}
return StartRtcEventLog(std::move(output), output_period_ms);
}