需要输入“网站上的无缝音频捕获”信息- 目前的技术水平如何?
我的问题的简短版本是:
如何在网站上实现无缝音频捕获并将其保存在服务器上?
“无缝”意味着不必使用外部程序进行录制并随后上传文件。
很少有限制:
1) 没有 Adobe 或其他商业许可的工具
2) 至少在最新版本的 Chrome 或 Firefox 上运行(这意味着浏览器插件也可以发挥作用)对我来说!)
3)没有java
我想知道为什么HTML5还没有实现这个功能,因为据我所知,它是指定的,并且肯定是一个非常理想的功能!?
我对这句话有点困惑:
Flash 将保留的另一个领域是视频会议和录制音频或视频。 HTML5 无法控制用户的麦克风或网络摄像头。这意味着 Flash 将继续用于会议应用程序和视频聊天程序。
因为它指出此功能并未计划用于 HTML5!?
YUI 剧院 — Scott Schiller:“可能,也许,不: HTML5 音频的现状”(51 分钟)
Chrome 14 Beta 添加了本机客户端、Lion 支持、网络音频 < /一>
<一href="http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api-draft.html" rel="nofollow">语音输入 API 规范
< a href="http://www.w3.org/TR/2010/WD-capture-api-20100401/" rel="nofollow">捕获 API - W3C 工作草案 2010 年 4 月 1 日
The short version of my question is:
How may I realize seamless audio capturing on a web-site and save it on the server?
"seamless" means not having to use an external program for recording and afterwards uploading the file.
Few constraints:
1) No Adobe or other commercially licensed tools
2) Runs at least on Chrome or Firefox of most recent version (that means also browser plug-ins come into play for me!)
3) no java
I am wondering why this feature isn't yet realized for HTML5 as it is specified as far as I know and is a very desirable one for sure!?
I am a bit confused regarding this quote:
Another area where Flash will remain is videoconferencing and recording audio or video. HTML5 has no method for controlling a user’s microphone or web cam. This means that Flash will continue to be used for conferencing applications and video chat programs.
http://www.jimcode.org/2011/07/html5-and-flash-why-flash-is-here-to-stay/
as it states that this feature isn't planned for HTML5!?
YUI Theater — Scott Schiller: “Probably, Maybe, No: The State Of HTML5 Audio” (51 min.)
Chrome 14 Beta Adds Native Client, Lion Support, Web Audio
Speech Input API Specification
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有两种方法可以处理此问题
目前支持 HTML5 语音输入的 chrome (也许safari) as
理论上你可以为 firefox 编写一个
webkit-speech
插件,这个会满足你的 chrome & Firefox 支持标准。实际上,编写这样的插件是一项艰巨的工作。WebRTC 由 chromium 并且是实验性的
事实证明 webkit 有
navigator.webkitGetUserMedia
(在WHATWG 规范),但我无法让它执行任何操作。你可能需要铬来做某事There are two methods of handling this
The HTML5 speech input is currently supported by chrome (and maybe safari) as
<input type="text" x-webkit-speech />
In theory you can write a
webkit-speech
plugin for firefox and this would meet your chrome & firefox support criteria. In practice writing such a plugin is a beast of a job.The WebRTC is supported by chromium and is experimental
Also it turns out webkit has
navigator.webkitGetUserMedia
(which is defined in the WHATWG specification) but I can't get it to do anything. You might need chromium for it to do somethingHTML 5 设备 API 目前正在开发中,它将允许本机 HTML/JavaScript 访问输入设备,例如相机和麦克风。
The HTML 5 Device API is currently being developed, and it will allow native HTML/JavaScript access to input devices such as cameras and microphones.