从麦克风获取的音频并将它写入套接字上的iOS [英] Get audio from microphone and write it to socket on iOS

查看:211
本文介绍了从麦克风获取的音频并将它写入套接字上的iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我想做些什么:


  • 获取来自麦克风音频

  • 恩code它AAC,G.711或G.726

  • 写的EN codeD帧套接字。

我发现很多例子,但他们都写入文件。你可以联系我的任何教程/文档/例子/库,它有一个输出缓冲器或回调呢?

I found many examples but they all write to file. Can you link me to any tutorial/documentation/example/library that has an output buffer or a callback instead?

推荐答案

我解决我的问题由苹果公司修改从SpeakHere例子AQRecorder类。

I solved my problem by modifying the AQRecorder class from the SpeakHere example by Apple.

该项目可以在这里 https://github.com/robovm /苹果IOS-样本/树/主/ SpeakHere

这篇关于从麦克风获取的音频并将它写入套接字上的iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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