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: Assertionpcm && 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.
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