Best way to stream MP3 from an iPhone app?

五迷三道 提交于 2019-12-02 05:03:31

问题


I am working on an application that will stream music from a server of mine from an iPhone application.

This is my first iPhone app so I am a bit confused :

  1. What would be the best way to do this?

  2. Is there something already built in that I could use, like a MP3 player that I just need to point toward the correct server?

  3. Do I need a streaming server to do so?


回答1:


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.

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 :(

(edit: Here's the link: Streaming and playing an MP3 stream)



来源:https://stackoverflow.com/questions/893263/best-way-to-stream-mp3-from-an-iphone-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!