HTML 5 mentions Bluetooth and audio. But no details on Bluetooth.
I am trying to connect to a Bluetooth device that streams audio.
Is there anyway to capture the audio streams via Bluetooth on browser? HTML+Javascript? Plug-ins? Any other technique?
Thanks in advance for your help.
Can I use Web Bluetooth? As of November 2018, Web Bluetooth works on Chrome for Android 6+, Windows 10, Mac OS X, Linux and Chrome OS.
The Web Bluetooth API provides the ability to connect and interact with Bluetooth Low Energy peripherals.
Open the Google Chrome browser. Type the following text in the address bar: chrome://flags/#enable-web-bluetooth-new-permissions-backend . Select Enabled from the drop-down list next to the Use the new permissions backend for Web Bluetooth. Restart the browser when prompted.
The link that you've referred to is an old draft of the specification, and it's not included in the current version of the HTML5 draft.
HTML5 Device API Requirements specifies about interfaces that can get the information of the available network interfaces and provides no way to control them.
So you cannot use HTML5 to connect to a Bluetooth device that streams audio.
You might be able to achieve this by writing your own ActiveX Component (works only in IE) or an Applet.
You'll need desktop application to connect and stream data through Bluetooth.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With