Audio capture based browser, then send to server side

Work on a project that will require cross-compatibility with the browser / device (video is not required, but can use the camera's audio inputs). Thinking of some kind of HTML5 and flash fallback (for idevices / IE / old browsers, etc.).

The HTML5 demos I found do not seem to work. I can confirm that my microphone works in my OS http://webaudiodemos.appspot.com/AudioRecorder/index.html (it seems that the sound does not sound, but the file is saved, but it just does not play the sound) http: //www.html5rocks .com / en / tutorials / getusermedia / intro / (won't even offer me access to the microphone)

I also found a good flash example here ( http://www.jordansthings.com/blog/?p=5 ), but I am not a flash developer.

I wonder if there are any APIs / libraries with backups, which also allowed not only to capture, but also publish this on the server side script for further processing. For example, a user presses a button, starts talking, stops pressing, then sends this file to the server, and does not transfer the file to the client.

So my question (s):

  • Is there an audio capture API / library that handles all this for me, including backups

  • Is it possible to send the captured audio to the server without a clumsy save + download

  • Does anyone have any good working examples of either html5 or flash?

+4
source share
1 answer

It should be easy for you to create your own solution using the following:

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

This is a javascript flash recorder.

Check out SO for examples, alternatives, etc:

https://stackoverflow.com/search?q=https%3A%2F%2Fcode.google.com%2Fp%2Fwami-recorder%2F

0
source

Source: https://habr.com/ru/post/1488514/


All Articles