如何录制的声音在浏览器? [英] How to record voice in a browser?

查看:729
本文介绍了如何录制的声音在浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要用户记录上的浏览器自己的声音,然后自动生成的MP3上传到网络服务器。

I need users to record their voice on a browser and then automatically upload the resulting mp3 to a webserver.

我想用户presses一块大肥肉开始记录/停止记录按钮来做到这一点。

I am thinking the user presses a big fat start record/stop record button to do this.

这将然后保存用户硬盘上的文件。
那么这将是有效的COM pressed并自动ftp'd到一个网站。

This would then save a file on the users hard disk. Then it would be efficiently compressed and automatically ftp'd up to a website.

是否有可能做到这一点使用ActiveX或者Java的?
还是有库中可用的帮助?

Is it possible to do this using ActiveX or perhaps Java? Or are there libraries available that help?

该应用程序是为谁可以安装软件的用户如果需要的话,因此将有可能安装的exe或什么的。

The application is for users who can install software if need be so it will be possible to install exe's or whatever.

任何建议,最AP preciated。

Any suggestions are most appreciated.

推荐答案

理想的解决方案将是 getUserMedia 和流API。不幸的是,它目前没有跨现代浏览器很好的支持。截至2012年6月14日,唯一的浏览器确认根据 caniuse.com 有支持是Chrome浏览器21。 <一href=\"http://blogs.msdn.com/b/ie/archive/2012/03/16/media-capture-prototype-improved-support-for-real-world-web-apps.aspx\"相对=nofollow>其他似乎工作坚实的实现。

The ideal solution would be getUserMedia and the Stream API. Unfortunately, it is currently not well-supported across modern browsers. As of June 14, 2012 the only browser confirmed to have support according to caniuse.com is Chrome 21. Others appear to be working on solid implementations.

直到原生支持到达时,Flash可以访问和记录这两个音频和<一个href=\"http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000526.html\"相对=nofollow>视频。

Until native support arrives, Flash can access and record both audio and video.

这篇关于如何录制的声音在浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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