Capturing a microphone in HTML5

Is there another way to access the microphone in HTML5 / JavaScript?

Planned for audio streaming, not recording. So nothing with file recording etc., but just streaming microphone input.

There is an audio API and getUserMedia (). At this point, getting sound seems to be impossible. Is there a way or workaround?

+3


source to share


1 answer


If you add "x-webkit-speech" to your input field, I believe all webkit browsers will add an HTML5 audio icon that will enable audio input.



<input type="text" name="query" spellcheck="false" placeholder="Search the Site" tabindex="1" x-webkit-speech>

      

+1


source







All Articles