You are not logged in.

#1 2024-03-12 19:40:12

brownpaperbag
Member
Registered: 2024-02-07
Posts: 10

[SOLVED] Pipewire doesnt auto switch to HSP/HFP

Hi everyone!

So I noticed that Pipewire doesnt automatically switch to HSP/HFP when I try to record voice in KDE Recorder or accept call in Telegram.
Interestingly enough when I go to any site in Chrome where you can check your mic everything is fine.
Chrome switches to bluetooth headset mic and Im sure its HSP cause I compared it to built in mic.

KDE: 6.0.1-1
Pipewire: 1:1.0.3-1
Arch: 6.7.9-arch1-1

Bluetooth headset: Sony WH-1000XM3

Here I read that auto-switching enabled by default.
https://wiki.archlinux.org/title/PipeWi … _selection

So, maybe I need something else to install.

Thanks for your time!

Last edited by brownpaperbag (2024-03-26 08:22:56)

Offline

#2 2024-03-12 23:55:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,820

Re: [SOLVED] Pipewire doesnt auto switch to HSP/HFP

The main thing is that these applications need to  actively ask for a mic for this to work, if they check whether you have a mic, surmise you don't and then not try to access one that "doesn't yet exist" the heuristic will fail.

... And even then they need to be present in a hardcoded whitelist: https://gitlab.freedesktop.org/pipewire … =heads#L37 -- which you can at least edit in the relevant wireplumber config folder.

Improvements to this situations are slated for the upcoming 0.5.0 release: https://pipewire.pages.freedesktop.org/ … ber-0-4-82

Last edited by V1del (2024-03-12 23:55:33)

Offline

#3 2024-03-13 07:23:22

brownpaperbag
Member
Registered: 2024-02-07
Posts: 10

Re: [SOLVED] Pipewire doesnt auto switch to HSP/HFP

Thanks for the answer!

I see Telegram in the whitelist so no need here.
Guess Ill wait till upcoming release and post update.

Offline

#4 2024-03-26 08:20:02

brownpaperbag
Member
Registered: 2024-02-07
Posts: 10

Re: [SOLVED] Pipewire doesnt auto switch to HSP/HFP

Wireplumber 0.5.0-1 solved issue with Telegram calls but KDE Recorder still doesnt work properly.
When I record sound with Recorder I see that it actually switches to HSP/HFP but no sound is recorded.

I guess its a bug for another topic.

Offline

Board footer

Powered by FluxBB