从麦克风移动Safari音频录制

从麦克风移动Safari音频录制

本文介绍了从麦克风移动Safari音频录制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了很多搜索。我知道PhoneGap提供了许多解决方案,允许人们从麦克风录制音频。但我正在寻找的是一个简单的例子,说明如何通过Mobile Safari从用户麦克风录制音频。

I've done quite the searching. I know there's a lot of solutions from PhoneGap that allow people to record audio from the microphone. But what I'm looking for is a solid and simple example of how to record audio via Mobile Safari from a users microphone.

那里有任何例子吗? HTML5中有相当多的发展。

Any examples out there? There's been quite the developments in HTML5.

推荐答案

您现在可以使用iOS6访问相机。只需使用

You can - with iOS6 now - access the camera. Just use

<input type="file" capture="camera" accept="image/*" id="takePictureField">

我尝试过音频,但到目前为止还没有运气。我有一篇完整的博客文章(是的,我知道Stackoverflow皱眉)在这里演示摄像头访问:

I've tried with audio but so far haven't had any luck. I've got a full blog post (which yes, I know Stackoverflow frowns on) demonstrating camera access here: http://www.raymondcamden.com/index.cfm/2013/5/20/Capturing-camerapicture-data-without-PhoneGap

这篇关于从麦克风移动Safari音频录制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 17:04