Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您可能想看看 HTML 媒体捕获 和 其 API。
爱立信实验室已经实现了这一目标,请参阅:此处< /a> (注意:请注意,设备元素和相关的 API 在任何浏览器中尚不可用,并且在此之前 API 可能会发生变化。)但它可以让您大致了解它是如何完成的。
我目前正在自己做类似的事情,请参阅:此处< /a>.
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.
这是迄今为止我在 iOS 6 中找到的唯一解决方案:
Youtube 视频展示了它是如何实现的作品
来源可以在这里找到:
GitHub Repository Link
它使用了一种解决方法,使用 iOS6 的相机插件的录制功能来录制视频和音频并将其上传到服务器。然后 FFMPEG 处理视频并将音频提取为 .wav 文件。
由于存在所有限制和未最终确定的 HTML 5 规范,我认为这是它发挥作用的唯一方法。我希望这有帮助。
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.