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); |
} |
} |