来自iPhone的实时流音频 [英] Live streaming audio from iPhone

查看:94
本文介绍了来自iPhone的实时流音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将音频从iPhone流式传输到远程服务器,但我真的不知道最好的选择是什么. 我在此处尝试了发送小块代码,但是我在音频上有些空白在大块之间.

I would like to stream audio from my iPhone to a remote server but I don't really know what is my best bet. I tried here a code for sending small chunks but I have some some audio gaps between chunks.

所以我考虑了FFmpeg或建议的

So I think about FFmpeg or as suggested here writing my own AAC parser.

任何代码示例或建议都将不胜感激,因为我很难上手

Any code sample or advices would be appreciated because I have hard time to get started

推荐答案

另一个基于核心音频的音频播放器: https://github.com/douban/DOUAudioStreamer .

Another core audio based Audio Player: https://github.com/douban/DOUAudioStreamer .

仅查看要使用的示例.

Just see the examples to use.

我认为,这一设计比马特·加拉格尔(Matt Gallagher)的设计更好.

In my opinion, this one is better designed than Matt Gallagher's one.

这篇关于来自iPhone的实时流音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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