Unable to transmit sound in Bluetooth LE audio connected with pipewire.
- PipeWire version (
master commit
42418bec): - Distribution and distribution version (
Ubuntu 23.04
): - Desktop Environment: ubuntu:GNOME
- Kernel version (
6.5.0-rc7+
): - BlueZ version (bluez master on Github 0c757e8eeef69ff2b1eefa59e590f171c9fe1c88):
Description of Problem:
I have a setup of Bluetooth LE audio connected with PipeWire.
Central is configured as bap_sink, peripheral as bap_source.
The problem is that after I create the connection, I'm unable to send sound from the peripheral(bap_source) to the central(bap_sink) because I'm unable to see the bluez_output sink on the peripheral.
$ pactl list short sinks 52 alsa_output.pci-0000_00_1f.3.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
From my investigation, the problem is stated from the way the pipe wire node is created on peripheral in the function emit_nodes from bluez5-device.c where the node is created as a dynamic node.
How Reproducible:
Is always reproducible
Steps to Reproduce:
- On the central set ["bluez5.roles"] = "[bap_sink]", on peripheral ["bluez5.roles"] = "[bap_source]"
- Create the connection between central and peripheral.
- After the connection is created the endpoint and transports are created.
Actual Results:
The problem is that after I create the connection, I'm unable to send sound from the peripheral(bap_source) to the central(bap_sink) because I'm unable to see the bluez_output sink on the peripheral.
$ pactl list short sinks
52 alsa_output.pci-0000_00_1f.3.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
Expected Results:
I expect to see the bluez_output... node with pactl list short sinks command
Attached pipewire_log:
The same problem appears if on central, peripheral both bap_sink and bap_source are configured. From the peripheral, I'm unable to see the output Bluez connection to the central.