JayKan / angular2-soundcloud

:fire: A simple SoundCloud API client built with Angular2
https://angular2-soundcloud.firebaseapp.com
MIT License
4 stars 2 forks source link

feat(bluetooth): web audio bluetooth integration #2

Open JayKan opened 7 years ago

JayKan commented 7 years ago

Description: Web audio integration feature integration

Features: There should be a pop window to allow users to either connect to wireless (via bluetooth) or traditional wire headphones.

In a nut shell, both wireless and wire headphones should be working for users to play music!

damnko commented 7 years ago

That's nice!

Just for future reference, here are some useful resources I found while approaching the subject:

damnko commented 7 years ago

@JayKan I am afraid I have to drop this because I don't have a bluetooth dongle so I cannot debug it. I hoped to be able to test it with a mobile device but Chrome blocks anything but https and localhost so I am prevented from using this feature from my mobile phone when the app is running from my desktops' localhost.

If you have any suggestion please let me know. Thanks

JayKan commented 7 years ago

@damnko,

Ahh that's good to know. I will keep this thread open so later on I can come back to look into this further more. Thanks for your initial efforts 👍

damnko commented 7 years ago

I'll share also a link to the issue I've opened in the angular-web-bluetooth repo so maybe by the time we'll get back to this it will be solved. https://github.com/manekinekko/angular-web-bluetooth/issues/17

JayKan commented 7 years ago

@damnko,

Thanks for doing this. Appreciate your help!

manekinekko commented 7 years ago

Hi @JayKan @damnko I'm the author of https://github.com/manekinekko/angular-web-bluetooth

So, I can tell that your issue is probably due to the fact that you're trying to connect to a non-BLE device. Not all current headphones are BLE compatible. With the current BLE specs, you can not transmit audio, since BLE is for Low Energy devices (IoT...). Maybe things will change this year or next one with the release of Bluetooth v5.

Sorry about that.

*BLE= Bluetooth Low Energy

JayKan commented 7 years ago

Thanks for the info @manekinekko :)