barrierc -n Laptop -f --enable-crypto 192.168.0.106
Laptop - Screen Name
192.168.0.106 - Main Computer(Server) Local IP Address
Uncomment lines
local_enable=YES
write_enable=YES
Add line if error - 500 OOPS: priv_sock_get_cmd
seccomp_sandbox=NO
sudo apt install bluez
sudo systemctl enable bluetooth
sudo systemctl start bluetooth
sudo apt install pulseaudio pulseaudio-utils pavucontrol pulseaudio-module-bluetooth
If you add the pulseaudio-bluetooth package, then open /etc/pulse/system.pa
or ~/.config/pulse/system.pa
(for logged in user only) and add the following two lines:
load-module module-bluetooth-policy
load-module module-bluetooth-discover
sudo systemctl restart bluetooth
then all you have to do is pair your phone to your computer. Then, when you play audio from your phone, it automatically plays on your computer as long as they're connected via bluetooth. It also seems to route call audio through your computer.
Detailed Article