Phonegap麦克风流 [英] Phonegap microphone stream

查看:104
本文介绍了Phonegap麦克风流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

是否可以使用麦克风获取音频流? Phonegap的Capture API仅能在访问数据之前保存音频文件.

Is there a possibility to use the microphone to get an audio stream? The capture API from Phonegap is only able to save the audio file before accessing the data.

我想实时分析音频流,找不到解决方法.

I want to analyse the audio stream in real-time and can't find a way to do this.

谢谢你, 克里斯

推荐答案

phonegap- plugin-media-stream 插件会将您的麦克风公开为WebRTC流,因此您可以进行WebRTC支持的任何分析.

The phonegap-plugin-media-stream plugin exposes your microphone as a WebRTC stream, so you can do any analysis WebRTC supports.

这篇关于Phonegap麦克风流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆