Capture microphone audio browser (methods)


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
49 views
In the future you may want to save on the server a short (up to 30 seconds) recording speech with a microphone (not chat), preferably directly from your browser.

So, what comes to mind about the variants of implementation:

1. Flash clear: the Microphone.get(); attachAudio...

The server part only FMS/Red5? No media server can not do? The case seems to be the simplest, streaming is not needed, you can do something simple with php/perl do?

2. Silverlight — something, well, or a crutch.

3. The ActiveX Object?

4. HTML5 — while in any way or something somewhere experimentally supported?

5. Java-applets?

6. Browser plugins media players — QuickTime, VLC, WMP, etc. for playback only or some of them can record sound?

7. What else?

Please unsubscribe code samples/thematic references, thank you.


UPD. With Java that don't add up: record sound from microphone, sending to the server is not a problem, but for use as applet on the page will have to sign the certificate. Or is there any way to get around?
by | 49 views

7 Answers

0 like 0 dislike
Judging by Google, VLC somehow can be made to record audio/video. But how to organize its interaction with the browser for this, I have no idea.
\r
To me Java seems to be the most convenient solution. Think you need something like this: www.hotscripts.com/listing/clipstream-playerless-java-media-streaming/
by
0 like 0 dislike
Flash in version 8 (and even earlier) encode the captured microphone sound propietary and closed Nellymoser codec, it decodes the flash itself of course, but to legally convert it to mp3 wanted to buy the SDK for 30 Grand. Work on decoding it in libavcodec was conducted, I think the Red5 developers even offered 5 thousand those who do opencarry decoder. Wikipedia saysthat FFMPEG is now able to decode Nellymoser.
In flash 10 it seems like there is an opportunity to choose the Speex codec, while the default is still the same Nellymoser
With all this, the sending flow is possible only in FMS/Red5/Wowza, etc rtmp media servers. There are still erlyvideo, there is a implementation of rtmp in Python — not sure, however, that they are able to receive streams. In any case, Ntrim POST-request do not potrebuet process, constantly ready to accept connections and write streams
by
0 like 0 dislike
An example of how to record audio using microphone and flash player, you can see here:
\ractive.tutsplus.com/tutorials/actionscript/create-a-useful-audio-recorder-app-in-actionscript-3/
\r
How to send file to server from flash can be read here:
\rlivedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_7.html
\r
I'm sure that combining the code from the above two links, you can easily solve Your problem.
by
0 like 0 dislike
If flash, media server is not required. Inside the flash signal from the microphone is stored in the bit array. Continue to look for suitable libraries encoding. Offhand Google gave:
\r
\rblog.debit.nl/2009/03/mp3-encoder-in-flash-with-alchemy/
\rgithub.com/kikko/Shine-MP3-Encoder-on-AS3-Alchemy
\r
By the way, you can do without coding, or coding on the server side.
In the nuances do not tell, because the microphone did not have to work, but generally so.
by
0 like 0 dislike
Personally I do record with a microphone using flash media server is not used. Flash is able to get a byte array from microphone, then this byte array is converted to wav and stored on the server.
\r
\rtikhop.com/temp/hollur/br/
by
0 like 0 dislike
by
0 like 0 dislike
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
7 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,101 users