Audio capturing with HTML5 [closed]

﹥>﹥吖頭↗ 提交于 2019-11-26 19:46:39
Wouter Dorgelo

You might wanna have a look at HTML Media Capture and its API.

Ericsson labs already achieved this, see: here (Note: Note that the device element and the related APIs are not available in any browser yet, and the APIs may change before this happens.) But it gives you a rough idea about how it's done.

I am currently working on something like this myself, see: here.

This is the only solution within iOS 6 that I've found so far:

Youtube video showing how it works

The source can be found here: GitHub Repository Link

It uses an workaround by using iOS6's camera plugin's record features to record video and audio and uploads that to the server. Then FFMPEG crunches the video and extracts the audio as a .wav file.

With all the limitations and unfinalized HTML 5 specs, I think this is the only way for it to work. I hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!