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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2693213005: Rename some variables and methods in RTC event log. (Closed)
Patch Set: Unset-upstream Created 3 years, 10 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 | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index a9cf2b26dc8edea51bb8d56b57d13a52275e58b2..25c0ee3e811d311b1435ff3e62ffbba7eced5247 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -131,12 +131,21 @@ class RtcEventLogProxy final : public webrtc::RtcEventLog {
}
}
- void LogBwePacketLossEvent(int32_t bitrate,
+ void LogLossBasedBweUpdate(int32_t bitrate_bps,
uint8_t fraction_loss,
int32_t total_packets) override {
rtc::CritScope lock(&crit_);
if (event_log_) {
- event_log_->LogBwePacketLossEvent(bitrate, fraction_loss, total_packets);
+ event_log_->LogLossBasedBweUpdate(bitrate_bps, fraction_loss,
+ total_packets);
+ }
+ }
+
+ void LogDelayBasedBweUpdate(int32_t bitrate_bps,
+ BandwidthUsage detector_state) override {
+ rtc::CritScope lock(&crit_);
+ if (event_log_) {
+ event_log_->LogDelayBasedBweUpdate(bitrate_bps, detector_state);
}
}
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698