ubuntu bluetooth audio sink problem
today i bought new speaker and tried to use it with bluetooth amplifier but my ubuntu couldn’t connect and gave this error -> "Connection Failed: Stream setup failed". i have this problem with 14.04 , but i tried with 16.04 there is no problem with connection
i found a solution after googling. first you should install pavucontrol
sudo apt-get install pavucontrol
then you need to run this command after booting and finally you can connect
pactl load-module module-bluetooth-discover
i don’t want to write whole command , so i created an alias for it like that
run -> gedit ~/.bashrc
add -> alias blue-sound='pactl load-module module-bluetooth-discover'
run -> . ~/.bashrc
now you can start from terminal with ’blue-sound’ then connect your device and listen your song :p