Two machines: Server and Media Player
On Server:
- Requires pipewire, wireplumber, bluez
- Related Resources:
- Edit
/etc/bluetooth/main.conf:
[General]
# Turn server into a speaker
Class = 0x200428
AlwaysPairable = true
ControllerMode = dual # default
# optional but I did it anyways
Experimental = true
KernelExperimental = true
- Make sure wireplumber is up, and
wpctl statuscan see that there's a sink. - In case
wpctl statusshows no sink, plug in the audio output device and restart pipewire
systemctl restart --user pipewire.service
- Run
bluetoothctland set the following varibles:
bluetoothctl
[server] power on
[server] agent off
[server] agent NoInputNoOutput
[server] pairable on
[server] discoverable on
- Now, on media player device, connect to the bluetooth server. It will show the device as a speaker.