Skip to content

bluez5: cleanup hfp/hsp backend handling + config file option

P V requested to merge pvir/pipewire:hfp-backend-sel into master

It seems not uncommon that people have not properly configured ofono running, which results to loss of HFP/HSP functionality. It's less surprising if the backend selection is fixed in the configuration file, and (by default) does not depend on running services.

Add a configuration file option for selecting HFP/HSP backend, and set the default value to the native backend. Emit warnings if conflicting backend services are detected to be running.

Also cleanup hfp/hsp backend handling a bit, now that it's mostly abstracted behind an interface.


Closes #1026 (closed)

Breaks backward compatibility for people using ofono/hsphfpd as the HFP/HSP backend, they'll need to change the configuration setting.

Edited by P V

Merge request reports