diff --git a/media/engine/webrtc_voice_engine.cc b/media/engine/webrtc_voice_engine.cc index 3e4c6bda60..3b85064dd8 100644 --- a/media/engine/webrtc_voice_engine.cc +++ b/media/engine/webrtc_voice_engine.cc @@ -586,16 +586,6 @@ bool WebRtcVoiceEngine::StartAecDump(rtc::PlatformFile file, return true; } -void WebRtcVoiceEngine::StartAecDump(const std::string& filename) { - RTC_DCHECK(worker_thread_checker_.IsCurrent()); - - auto aec_dump = webrtc::AecDumpFactory::Create( - filename, -1, low_priority_worker_queue_.get()); - if (aec_dump) { - apm()->AttachAecDump(std::move(aec_dump)); - } -} - void WebRtcVoiceEngine::StopAecDump() { RTC_DCHECK(worker_thread_checker_.IsCurrent()); apm()->DetachAecDump(); diff --git a/media/engine/webrtc_voice_engine.h b/media/engine/webrtc_voice_engine.h index f03bdfb823..eb9f3ad4f5 100644 --- a/media/engine/webrtc_voice_engine.h +++ b/media/engine/webrtc_voice_engine.h @@ -90,7 +90,6 @@ class WebRtcVoiceEngine final : public VoiceEngineInterface { // easily at any time. bool ApplyOptions(const AudioOptions& options); - void StartAecDump(const std::string& filename); int CreateVoEChannel(); webrtc::TaskQueueFactory* const task_queue_factory_;