Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 Bluetooth and Audio

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.

like image 977
pion Avatar asked Jun 17 '10 15:06

pion


People also ask

Can webapps use Bluetooth?

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.

Is Bluetooth an API?

The Web Bluetooth API provides the ability to connect and interact with Bluetooth Low Energy peripherals.

How do I enable Bluetooth on my website?

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.


1 Answers

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.

like image 197
Livingston Samuel Avatar answered Oct 27 '22 00:10

Livingston Samuel