Comments (7)
That's nice!
- since most of the people looking at this example will not have bluetooth/bluetooth devices active or available, what do you think about adding a button to activate paring with a device rather than always showing a notification?
- once paired I think the audio will be automatically streamed through the bluetooth headset, were you considering doing something else after pairing?
Just for future reference, here are some useful resources I found while approaching the subject:
- https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web
- https://www.bluetooth.com/specifications/gatt
- https://medium.com/google-developer-experts/the-web-bluetooth-module-for-angular-9336c9535d04
from angular2-soundcloud.
@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
from angular2-soundcloud.
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 👍
from angular2-soundcloud.
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.
manekinekko/angular-web-bluetooth#17
from angular2-soundcloud.
Thanks for doing this. Appreciate your help!
from angular2-soundcloud.
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
from angular2-soundcloud.
Thanks for the info @manekinekko :)
from angular2-soundcloud.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-soundcloud.