javascript - Best way to record audio with mic and send to server - Stack Overflow

I know there are similar questions but there is no answer for me.What is the best option for recording

I know there are similar questions but there is no answer for me.

What is the best option for recording audio with microphone on website and send to server for some operation.

1) java/javascript

2) red5

3) flash/flex

4) silverlight

5) other(pls specify)

I want to create something like this : .html

I know there are similar questions but there is no answer for me.

What is the best option for recording audio with microphone on website and send to server for some operation.

1) java/javascript

2) red5

3) flash/flex

4) silverlight

5) other(pls specify)

I want to create something like this : http://wami.csail.mit.edu/examples/jsapi/calculator.html

Share asked Mar 24, 2011 at 23:04 Gün KaragözGün Karagöz 7651 gold badge7 silver badges12 bronze badges 1
  • Your question is like 'Best car to buy'. – Samvel Siradeghyan Commented Mar 25, 2011 at 7:01
Add a ment  | 

2 Answers 2

Reset to default 3

Well, your question isn't exactly a good one. There is no 'best technology', only what's best for your project which I know nothing about.

With that being said, there's also the fact that you're bundling both front end and back end technologies together, which doesn't work. And what kind of 'work' do you need done on the audio.

If it was me, I'd use Flash on the front end to record the microphone since it has the most market penetration pared to say Silverlight. Javascript cannot record the microphone. From there, I can then send the audio (streamed or not) to the server, which in this case is really up in the air. I could be any technology and it wouldn't matter all that much unless one language has a better audio library than the other. If you just want to store the recording, you can use something extremely simple like PHP, but if you need something a bit more robust, you'll probably have a better time with using Java.

How Flash sends the audio to the server is up to you. There are several options but if it doesn't need to be streamed, I'd say just upload using http.

The technology you refer to in your example is open-source. It uses a hidden Flash app to perform an HTTP post from client to server. Streaming is simulated by chunking the audio into multiple POSTs. Here's the link:

https://code.google./p/wami-recorder/

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744884316a4599029.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信