Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I believe that the answer was really "use flash or maybe a java applet" and not a "java servlet". For your problem you must implement two things:</p> <ul> <li>A client application running in the user's browser that captures audio and then connects to a remote server to upload files.</li> <li>A web application that accepts the uploaded files.</li> </ul> <p>The client application must be implemented in a browser's plug-in technology, as it is impossible to record audio from the browser directly. This could be done with flash or a Java Applet. These aren't the only options, but they are the most common ones. </p> <p>See this <a href="http://russellgreenspan.blogspot.com/2009/01/microphone-access-in-silverlight-via.html" rel="nofollow noreferrer">link</a> for ActionScript code that access the microphone. The blogspot also interestingly describes what are your options with Silverlight.</p> <p>For Java, this is a <a href="http://www.developer.com/java/other/article.php/2105421" rel="nofollow noreferrer">tutorial</a> for audio recording. You would need to create an applet, which isn't very hard. A tricky issue is that you'd probably need to "sign" your applet in order to be able to access the microphone at the user's machine.</p> <p>For the server side you can use any server technology and adobe media server is by no means required. Examples are PHP, Java (Tomcat), ASP.NET. The file uploading part you could even do it with just an Apache Web Server. All you need is to configure it to allow file uploads.</p> <p><strong>Update:</strong></p> <p>I agree with your comment that flash will be the best solution. You can find many examples in the net for accessing the microphone with ActionScript. This is what I have quickly found:</p> <ul> <li><a href="http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary479.html" rel="nofollow noreferrer">Microphone object</a> </li> <li><a href="http://www.kirupa.com/developer/actionscript/microphone.htm" rel="nofollow noreferrer">Using the Microphone tutorial</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload