Bug 1279009

Summary: Activating echo cancellation kills pulseaudio
Product: [Fedora] Fedora Reporter: Matthias <keller1976>
Component: webrtc-audio-processingAssignee: Wim Taymans <wtaymans>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: bdpepple, bugzilla, cschalle, debarshir, rdieter, uraeus
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-23 01:54:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias 2015-11-07 03:53:59 UTC
Description of problem:
Working echo cancellation setup in F22:

Add following to /etc/pulse/default.pa :

load-module module-echo-cancel source_name=echosource aec_method=webrtc source_master=alsa_input.usb-046d_HD_Webcam_C615_7574E640-00-C615.analog-mono sink_master=alsa_output.pci-0000_00_14.2.analog-stereo

.nofail


Same setting in F23 kills pulseaudio with following error message:

pulseaudio: Failed to load module "module-echo-cancel" (argument: "source_name=echosource aec_method=webrtc source_master=alsa_input.usb-046d_HD_Webcam_C615_7574E640-00-C615.analog-mono sink_master=alsa_output.pci-0000_00_14.2.analog-stereo"): initialization failed.
pulseaudio: Module load failed.
pulseaudio: Konnte Daemon nicht initialisieren. (Couldn't initialize daemon)


Version-Release number of selected component (if applicable):
pulseaudio: 7.1-1.fc23
webrtc-audio-processing: 0.1-10.fc23

How reproducible:
Always.

Steps to Reproduce:
1. Enable settings mentioned above
2. Start pulseaudio by login in or with pulseaudio -k, pulseaudio --start

Actual results:
Everything works as expected as long as the two lines in default.pa are commented out. Once they are active starting pulseaudio fails. Thus no sound at all.

In F22 it worked nicely, adding another sound source and sink with "Echo cancelled with Webcam HD615 Mono Analog" behind the name.

Expected results:
Same as in F22

Additional info:

Comment 1 Matthias 2015-12-23 01:54:38 UTC
I finally got echo cancellation working.

One of the issues was that the string for the webcam microphone has changed slightly between F22 and F23. Therefore the source_master was not recognized.

This fixed the issue on one out of two computers.

On the 2nd computer the ".nofail" line for load-module module-echo-cancel ... caused the pulseaudio crash. Once ".nofail" is commented out it works.