Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding a way to send sound to bluetooth headset #73

Open
robertlarousso opened this issue Aug 12, 2017 · 0 comments
Open

Finding a way to send sound to bluetooth headset #73

robertlarousso opened this issue Aug 12, 2017 · 0 comments

Comments

@robertlarousso
Copy link

Hello,
First of all, I just want to say thank you for all your work on this package.
I'm using a customised version of your package to listen all my songs and sound from youtube videos on my raspberry.
I installed a bluetooth headset on my raspberry. I want to switch all playing song from my speakers to my bluetooth headset when I leave my main room.
My asound.conf
pcm.!default { type plug slave { pcm { type bluetooth device XX:XX:XX:XX:XX:XX profile "auto" } } hint { show on description "BT Headset" } }
It works with aplayer and mplayer.
But when i'm using player with nodejs, I get this error message :
bt_audio_service_open: connect() failed: Connection refused (111) [../deps/mpg123/src/output/alsa.c:165] error: cannot open device default node: pcm_params.c:2286: snd_pcm_hw_refine: Assertion pcm && params' failed.`

I think it's because the speaker module that you use is not made for bluetooth.

Do you know a bluetooth audio package like speaker ?
I want to share the music ReadStream to it.

Thank you
Rémi Bruyère

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant