PipeWire  0.3.33
Media Session Module: BlueZ Auto-Switch

Switch profiles of Bluetooth devices trying to enable an input route, if input streams are active while default output is directed to the device.

Profiles are restored once there are no active input streams.

Not all input streams are considered, with behavior depending on configuration file settings.