简体   繁体   English

将麦克风与javascript一起使用

[英]Using Microphone with javascript

I'm creating a web-app which needs an audio recording from the user's computer, How do I accomplish this using JavaScript? 我正在创建一个需要从用户计算机进行录音的Web应用程序,如何使用JavaScript完成此操作? I've heard about the getusermedia utilities but that's not very stable and I'm looking for a better alternative. 我听说过getusermedia实用程序,但这不是很稳定,我正在寻找更好的替代方法。 Can someone suggest me anything? 有人可以建议我什么吗?

scriptcam offers a flash alternative instead of using getusermedia . scriptcam提供了Flash替代方法,而不是使用getusermedia It is very stable for now. 目前它非常稳定。 https://www.scriptcam.com/ https://www.scriptcam.com/

getusermedia is quite stable and simple. getusermedia非常稳定和简单。 check out this jsfiddle i made much earlier: http://jsfiddle.net/XHzT6/ (warning:might only work on chrome.) Hopefully, you might change your mind. 请查看我之前做的jsfiddle: http//jsfiddle.net/XHzT6/ (警告:可能仅适用于chrome。)希望您可能会改变主意。

cheers! 干杯!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM