Index: webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
diff --git a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
index cd47bf4265a64a0c164c71e867419956bbd54dad..3b4473a9217072198cd3928dcf65eeccea1528ff 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
+++ b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
@@ -773,4 +773,11 @@ void AudioEncoderOpus::MaybeUpdateUplinkBandwidth() { |
} |
} |
+ANAStats AudioEncoderOpus::GetANAStats() const { |
+ if (audio_network_adaptor_) { |
+ return audio_network_adaptor_->GetStats(); |
+ } |
+ return ANAStats(); |
+} |
+ |
} // namespace webrtc |