codema.in

Echo cancellation for calls with pipewire on Librem 5

PP Pirate Praveen Wed 21 Aug 2024 11:22AM Public Seen by 12

Other side hearing echo when calling is a big issue to be solved. This affects Librem 5 and PinePhone. Current work around is using a headphone always. This also affects other calling apps like GNU Jami.

More technical details about the problem and possible solutions are tracked in https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4170

Bounty for this issue https://opencollective.com/dephcom/projects/pipewire-echo

PP

Pirate Praveen Fri 29 Aug 2025 9:56AM

I am reaching out to someone who can potentially help us implement this https://social.masto.host/@praveen/115111428396587819

PP

Pirate Praveen Sat 30 Aug 2025 8:02AM

Richard has an employment contract now, so cannot work for next 4 months on any paid projects.

PP

Pirate Praveen Thu 9 Oct 2025 4:13PM

I reached out to Arun Raghavan as suggested by https://social.masto.host/@pabloyoyoista@treehouse.systems but they are unable to take up this task at the moment but gave two options that would help anyone interested to implement this.

There are two options:

  1. Do what was suggested in https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4170#note_2518968, which is basically to write a WirePlumber Lua script to load the echo cancel module based on a filter.want property, and route to that instead of the intended sink/source

  2. Statically load module-echo-cancel in your device config, and just route to the virtual sink/source based on the filter.want property (this would be even simpler than (1))

Have you considered asking on the PipeWire Matrix channel if someone wants to step up to do this? Might get more eyeballs there.