无需 Flash 即可访问麦克风
有没有一种可能的方法可以从网络文档(在浏览器中打开)访问计算机麦克风,而无需通过 Adobe Flash?
Is there a possible way to access the computer microphone from a web document (open in a browser) without have to go through Adobe Flash ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以等待几年,让 W3C Media Capture API 实施在浏览器中(并处理您的 Javascript 访问所需的任何用户权限对话框),或者开发您自己的插件以使该数据可用,然后用户必须安装该插件。
除此之外,如果没有现有的插件(例如 Flash),就无法访问该数据。
You could either wait a few years for the W3C Media Capture API to be implemented in browsers (and deal with whatever user permission dialogs are necessary for those to be accessible to your Javascript), or develop your own plugin to make that data available, which the user then has to install.
Other than that, there's no way to access that data without an existing plugin such as Flash.