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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2695923004: Add logging of delay-based bandwidth estimate. (Closed)
Patch Set: 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
Index: webrtc/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index a9cf2b26dc8edea51bb8d56b57d13a52275e58b2..da046b28ce108890afc5f822e7ed626e57d0983f 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -140,6 +140,14 @@ class RtcEventLogProxy final : public webrtc::RtcEventLog {
}
}
+ void LogBwePacketDelayEvent(int32_t bitrate,
+ BandwidthUsage detector_state) override {
+ rtc::CritScope lock(&crit_);
+ if (event_log_) {
+ event_log_->LogBwePacketDelayEvent(bitrate, detector_state);
+ }
+ }
+
void LogAudioNetworkAdaptation(
const AudioNetworkAdaptor::EncoderRuntimeConfig& config) override {
rtc::CritScope lock(&crit_);

Powered by Google App Engine
This is Rietveld 408576698