Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit a0292e8

Browse files
committed
Fix adm init error on server which has no audio device
1 parent 3eaa630 commit a0292e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

talk/owt/sdk/base/customizedaudiodevicemodule.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ int CustomizedAudioDeviceModule::GetRecordAudioParameters(
587587
void CustomizedAudioDeviceModule::CreateOutputAdm(){
588588
if(_outputAdm==nullptr){
589589
_outputAdm = webrtc::AudioDeviceModuleImpl::Create(
590-
AudioDeviceModule::kPlatformDefaultAudio, task_queue_factory_.get());
590+
AudioDeviceModule::kDummyAudio, task_queue_factory_.get());
591591
}
592592
}
593593
}

0 commit comments

Comments
 (0)