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 103ec9b33f4188dc242f00d73d5e8600933b1b05..ba9e36067de6549bf16d8445496c95883eacb077 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
+++ b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
@@ -16,6 +16,7 @@ |
#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/base/numerics/exp_filter.h" |
+#include "webrtc/base/protobuf_utils.h" |
#include "webrtc/base/safe_conversions.h" |
#include "webrtc/base/timeutils.h" |
#include "webrtc/common_types.h" |
@@ -192,7 +193,7 @@ AudioEncoderOpus::AudioEncoderOpus( |
audio_network_adaptor_creator_( |
audio_network_adaptor_creator |
? std::move(audio_network_adaptor_creator) |
- : [this](const std::string& config_string, |
+ : [this](const ProtoString& config_string, |
RtcEventLog* event_log, |
const Clock* clock) { |
return DefaultAudioNetworkAdaptorCreator(config_string, |
@@ -548,7 +549,7 @@ void AudioEncoderOpus::ApplyAudioNetworkAdaptor() { |
std::unique_ptr<AudioNetworkAdaptor> |
AudioEncoderOpus::DefaultAudioNetworkAdaptorCreator( |
- const std::string& config_string, |
+ const ProtoString& config_string, |
RtcEventLog* event_log, |
const Clock* clock) const { |
AudioNetworkAdaptorImpl::Config config; |