[module-echo-cancel] webrtc when config the aec_args "voice_detection" fail to start pulseAudio
Steps to reproduce
- add the config in the /etc/pulse/default.pa
load-module module-echo-cancel aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=1 voice_detection=1" source_name=inner_card_echo_cancel_source sink_name=inner_card_echo_cancel_sink channels=2
- pulseaudio --start
- get the error message
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
E: [pulseaudio] main.c: Daemon startup failed.
- the verbose message
( 0.215| 0.006) I: [pulseaudio][modules/echo-cancel/module-echo-cancel.c:1632 init_common()] Using AEC engine: webrtc
( 0.215| 0.000) I: [pulseaudio][modules/echo-cancel/module-echo-cancel.c:1755 module_echo_cancel_LTX_pa__init()] Sample rates of play and out stream differ. Adjusting rate of play stream.
( 0.215| 0.000) E: Failed to parse submodule arguments.
( 0.215| 0.000) E: [pulseaudio][modules/echo-cancel/module-echo-cancel.c:1761 module_echo_cancel_LTX_pa__init()] Failed to init AEC engine
( 0.215| 0.000) E: [pulseaudio][pulsecore/module.c:181 pa_module_load()] Failed to load module "module-echo-cancel" (argument: "aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=1 voice_detection=1" source_name=inner_card_echo_cancel_source sink_name=inner_card_echo_cancel_sink channels=2"): initialization failed.
( 0.215| 0.000) E: [pulseaudio][daemon/main.c:1098 main()] Module load failed.
( 0.215| 0.000) E: [pulseaudio][daemon/main.c:1102 main()] Failed to initialize daemon.
What is the current bug behavior?
Daemon startup failed.
What is the expected correct behavior?
Daemon startup success.