| Index: webrtc/call/call_perf_tests.cc
|
| diff --git a/webrtc/call/call_perf_tests.cc b/webrtc/call/call_perf_tests.cc
|
| index a31cb23922e4aecd82a96a7f71a0b2c971de0238..a2ce2bb2a5e53575850709cd62f8a633f05fd3de 100644
|
| --- a/webrtc/call/call_perf_tests.cc
|
| +++ b/webrtc/call/call_perf_tests.cc
|
| @@ -19,6 +19,7 @@
|
| #include "webrtc/call/call.h"
|
| #include "webrtc/config.h"
|
| #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
|
| +#include "webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h"
|
| #include "webrtc/modules/audio_coding/include/audio_coding_module.h"
|
| #include "webrtc/modules/audio_mixer/audio_mixer_impl.h"
|
| #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
|
| @@ -221,8 +222,10 @@ void CallPerfTest::TestAudioVideoSync(FecMode fec,
|
| AudioSendStream::Config audio_send_config(&audio_send_transport);
|
| audio_send_config.voe_channel_id = send_channel_id;
|
| audio_send_config.rtp.ssrc = kAudioSendSsrc;
|
| - audio_send_config.send_codec_spec.codec_inst =
|
| - CodecInst{103, "ISAC", 16000, 480, 1, 32000};
|
| + audio_send_config.send_codec_spec =
|
| + rtc::Optional<AudioSendStream::Config::SendCodecSpec>(
|
| + {103, {"ISAC", 16000, 1}});
|
| + audio_send_config.encoder_factory = CreateBuiltinAudioEncoderFactory();
|
| AudioSendStream* audio_send_stream =
|
| sender_call_->CreateAudioSendStream(audio_send_config);
|
|
|
|
|