需要输入“网站上的无缝音频捕获”信息- 目前的技术水平如何?

发布于 2024-11-29 17:46:14 字数 1453 浏览 0 评论 0原文

我的问题的简短版本是:

如何在网站上实现无缝音频捕获并将其保存在服务器上?

“无缝”意味着不必使用外部程序进行录制并随后上传文件。

很少有限制:

1) 没有 Adob​​e 或其他商业许可的工具

2) 至少在最新版本的 Chrome 或 Firefox 上运行(这意味着浏览器插件也可以发挥作用)对我来说!)

3)没有java

我想知道为什么HTML5还没有实现这个功能,因为据我所知,它是指定的,并且肯定是一个非常理想的功能!?

我对这句话有点困惑:

Flash 将保留的另一个领域是视频会议和录制音频或视频。 HTML5 无法控制用户的麦克风或网络摄像头。这意味着 Flash 将继续用于会议应用程序和视频聊天程序。

http://www.jimcode.org/2011/07/html5-and-flash-why-flash-is-here-to-stay/" jimcode.org/2011/07/html5-and-flash-why-flash-is-here-to-stay/

因为它指出此功能并未计划用于 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 日

HTML 媒体捕获 - W3C 工作草案 2011 年 4 月 14 日

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

The Capture API - W3C Working Draft 01 April 2010

HTML Media Capture - W3C Working Draft 14 April 2011

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

何必那么矫情 2024-12-06 17:46:14

有两种方法可以处理此问题

目前支持 HTML5 语音输入的 chrome (也许safari) as

理论上你可以为 firefox 编写一个 webkit-speech 插件,这个会满足你的 chrome & Firefox 支持标准。实际上,编写这样的插件是一项艰巨的工作。

WebRTCchromium 并且是实验性的

事实证明 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 something

苏大泽ㄣ 2024-12-06 17:46:14

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文