从iPhone应用程序流式传输MP3的最佳方式? [英] Best way to stream MP3 from an iPhone app?
问题描述
我正在开发一个应用程序,它将从iPhone应用程序中传输来自我的服务器的音乐。
I am working on an application that will stream music from a server of mine from an iPhone application.
这是我的第一个iPhone应用程序,所以我有点困惑:
This is my first iPhone app so I am a bit confused :
-
什么是最好的方式来做这个
?
What would be the best way to do this?
我可以使用
内置的东西,就像一个MP3播放器
,我只需要指向
正确的服务器?
Is there something already built in that I could use, like a MP3 player that I just need to point toward the correct server?
我是否需要一台流服务器来做
so?
Do I need a streaming server to do so?
推荐答案
我对Objective-相对较新C / Cocoa(触摸),但我在cocoawithlove网站上读到了一篇名为流媒体和播放MP3流的文章,并在我的iPhone上测试了示例代码,它运行良好。我不知道许可证或任何东西,如果你能够使用它,但我相信有人甚至你可以解决这个问题。
I'm relatively new to Objective-C/Cocoa (touch), but I have read an article on the cocoawithlove site titled "Streaming and playing an MP3 stream" and tested the sample code on my iPhone and it works perfectly. I don't know about the licensing or anything, if you would be able to use it, but I'm sure someone or even you can figure that out.
对不起再次因为无法提供任何更多信息甚至链接。这是我在SO上的第一个答案,无法发布超链接:(
Sorry again for not being able to provide any more information or even a link. This is my first answer on SO and cannot post hyperlinks :(
(编辑:这是链接:流媒体播放MP3流)
这篇关于从iPhone应用程序流式传输MP3的最佳方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!