diff --git a/audio/audio_state.cc b/audio/audio_state.cc index 9e5b63b999..c564f228d0 100644 --- a/audio/audio_state.cc +++ b/audio/audio_state.cc @@ -104,6 +104,14 @@ void AudioState::AddSendingStream(webrtc::AudioSendStream* stream, if (!adm->Recording()) { if (adm->InitRecording() == 0) { if (recording_enabled_) { +#if defined(WEBRTC_WIN) + if (adm->BuiltInAECIsAvailable() && !adm->Playing()) { + if (!adm->PlayoutIsInitialized()) { + adm->InitPlayout(); + } + adm->StartPlayout(); + } +#endif adm->StartRecording(); } } else {