如何使用HTML5在ios6中录制和播放语音 [英] How to record and play voice in ios6 using HTML5
问题描述
我们正在开发HTML5和Javascript中的Web应用程序。
We are developing web application in HTML5 and Javascript.
我们需要实现录音功能。
我们使用了 Wami Api ,但它不支持iPad作为其支持使用闪光灯进行录制。
We need to implement voice recording functionality. We have used Wami Api but it is not supporting on iPad as its using flash for recording.
您能否在网页应用中为iPad录制语音提供最佳选择?
Can you please give idea which is best option for recording voice in iPad in web application ?
是否有API或库?
请建议..
谢谢
推荐答案
媒体捕获和流规范,但它是新的,实验性的和 iOS 6不支持。
The (draft) standard for this is described in the Media Capture and Streams specification, but it is new, experimental and iOS 6 does not support it.
如果您想录制声音,那么我认为您必须查看本机应用程序而不是Web应用程序。
If you want to record sound, then I think you will have to look at native applications rather than web applications.
您可以使用各种包装器API继续为您的应用程序使用HTML 5 / JavaScript,这些API将接口添加到移动设备上的本机功能。例如,来自Apache Cordova的媒体API 或 Titanium的AudioRecorder 。
You can continue to use HTML 5 / JavaScript for your application by using one of the various wrapper APIs that add interfaces to native features on mobile devices. For example, the Media API from Apache Cordova or Titanium's AudioRecorder.
这篇关于如何使用HTML5在ios6中录制和播放语音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!