Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
483 views
in Technique[技术] by (71.8m points)

html - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...