Cannot connect to two a2dp sinks at the same time
The version is pulseaudio-13.99.1-3.fc32.aarch64
I have two bluetooth audio devices: A speaker and a headphone. I would like to have both connected to a raspberrypi 4. Either device works perfectly on its own, but I cannot get both at the same time.
If I connect first to the headphone, connecting the speaker with bluetoothctl causes pulseaudio to print:
D: [pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/hci0/dev_EC_81_93_4A_C7_7E
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Introspectable found, skipping
D: [pulseaudio] bluez5-util.c: Unknown interface org.bluez.MediaEndpoint1 found, skipping
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Properties found, skipping
D: [pulseaudio] bluez5-util.c: Properties changed in adapter /org/bluez/hci0
but nothing else happens.
If the the speaker is connected first, the headphone can be connected, but the a2dp profile is not available:
profiles: headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown) a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: no) off: Off (priority 0, available: yes)
And the log has
D: [pulseaudio] bluez5-util.c: Timeout expired, and device /org/bluez/hci0/dev_C0_2A_A5_00_B3_65 still has disconnected profiles: a2dp_sink
D: [pulseaudio] module-bluez5-discover.c: Loading module-bluez5-device path=/org/bluez/hci0/dev_C0_2A_A5_00_B3_65 autodetect_mtu=0
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card bluez_card.C0_2A_A5_00_B3_65.
D: [pulseaudio] card.c: Looking for initial profile for card bluez_card.C0_2A_A5_00_B3_65
D: [pulseaudio] card.c: headset_head_unit availability unknown
D: [pulseaudio] card.c: a2dp_sink availability no