Record voice from IPhone using HTML5

前端 未结 4 730
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 19:32

I have been working on a mobile web application just for my own enjoyment and research. Everything seemed to be working pretty slick with HTML5/CSS and JavaScript for the cl

4条回答
  •  广开言路
    2020-12-02 19:50

    This will not work on a website, but if you want to rework your web-app into a mobile app using Cordova this will let you use the microphone input. Takes some knowledge of web audio api to get working.

    https://github.com/edimuj/cordova-plugin-audioinput

    And RecorderJS to record its output:

    https://github.com/mattdiamond/Recorderjs

    Someone above mentioned RecorderJS not working on mobile but it does, it's just the mic input that doesn't work.

    There is not currently any way I'm aware of to record mic input in a browser on mobile

提交回复
热议问题