音频流从服务器到iPhone [英] Streaming audio from server to iPhone

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

问题描述

我期待我的流服务器我正在写一个iPhone客户端应用程序上的一些音频文件,我有。一些音频文件的大小可能相当大,即使在COM pression。我的问题是,是否有一个Cocoa框架,可以帮助我与缓冲音频所以其余的被放倒管道成为提供给用户?如果没有,任何人都可以点我在正确的方向更多地了解做出这样的事情发生使用Objective-C所需的技术/可可?

I'm looking to stream some audio files I have on my server to an iPhone-client application I'm writing. Some of the audio files can be rather large in size, even after compression. My question is, is there a Cocoa framework that helps me with buffering the audio so it becomes available to the user while the rest is being brought down the pipes? If not, can anyone point me in the right direction to learn more about the technologies required to make such a thing happen using Objective-C/Cocoa?

在音频缓冲和COM pression一个明确的资源从服务器< - >客户端基础架构将是理想

A definitive resource on buffering and compression of audio from a server<->client infrastructure would be ideal.

推荐答案

布拉德提到的一个职位,我写流通过HTTP音频。这是这一个:流和播放MP3 。我的意思并不是要链接到自己的博客的人,但它那种解决您的问题。

Brad mentioned a post that I wrote to stream audio via HTTP. That was this one: Streaming and playing an MP3. I don't mean to be the person that links to his own blog but it does kind of address your question.

在关于这个问题有多难解决,你会发现我做了4更新该职(方法比我已经为别的做),固定线程错误,内存泄漏和网络缓冲问题。有很多得到precisely正确的。

In regards to how hard the problem is to solve, you'll notice I've made 4 updates to that post (way more than I've done for anything else), fixing threading errors, memory leaks and network buffering issues. There is a lot to get precisely correct.

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

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