When setting up my new laptop, using Wayland/Sway, I noticed that whenever my bluetooth headset would connect, my microphone didn’t work.
This comes from an audio profile being selected which doesn’t work as a source.
You can see the configured profile using pavucontrol.
Moreover, If you check the configured profiles in the terminal using pactl, you can see that all the a2dp profiles don’t support any “input”, meaning microphones won’t work.
Manually changing the profile in pavucontrol did work, but it did not remember when reconnecting with bluetooth again.
However there is a package which will persist the selected configuration for you called wireplumber.