I found this question from Leandro Costa, but I could not implement the response code.
I found this question from Leandro Costa, but I could not implement the response code.
In the media it is not always easy to make a solution that works across browsers. In addition, in some cases it may be necessary to enable specific flags in Chrome for example. The function you mention is the most widespread API.
A cool source of concepts you can pick up on this post from Eric Bidelman ( original version ).
To begin with, a very interesting live demo is here: link
The author has a blog with more information on Audio Recording via web . W3C has a specification in progress, but is still in draft .
Finally, depending on your needs, WebRTC may be the best alternative: link . There are good examples on the project website such as audio capture by microphone .