HTML5 蓝牙和音频 [英] HTML5 Bluetooth and Audio

查看:56
本文介绍了HTML5 蓝牙和音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTML 5 提到了蓝牙和音频.但没有关于蓝牙的详细信息.

HTML 5 mentions Bluetooth and audio. But no details on Bluetooth.

我正在尝试连接到流式传输音频的蓝牙设备.

I am trying to connect to a Bluetooth device that streams audio.

无论如何可以通过浏览器上的蓝牙捕获音频流?HTML+Javascript?插件?还有其他技巧吗?

Is there anyway to capture the audio streams via Bluetooth on browser? HTML+Javascript? Plug-ins? Any other technique?

预先感谢您的帮助.

推荐答案

您提到的链接是规范的旧草案,未包含在当前版本的 HTML5 草案中.

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 设备 API 要求 指定了可以获取可用的网络接口,并且无法控制它们.

HTML5 Device API Requirements specifies about interfaces that can get the information of the available network interfaces and provides no way to control them.

因此您不能使用 HTML5 连接到流式传输音频的蓝牙设备.

So you cannot use HTML5 to connect to a Bluetooth device that streams audio.

您可以通过编写自己的 ActiveX 组件(仅适用于 IE)或 Applet 来实现这一点.

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.

这篇关于HTML5 蓝牙和音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆