Question

I want to develop a music player for iPhone/iPad with the functionality:

-Buffer and Play MP3 songs from server(no downloading). -Play. -Pause. -Stop. -Adjust Volume(Slider). -Song Status/ Playing time for Song(slider). -Repeat Song. -Shuffle Songs. -In the center of the Music Player there must be eq like dancing bars with song etc.

I am using AVPlayer for this but it is giving me trouble with Adjust Volume,Stop,Song Timers etc. With AVPlayer only play/pause and buffering is working. Even i have used AVAudioPlayer also and it was working fine with all the functionality i needed but with local files only, may be i don't know any method play songs from server in AVAudioPlayer.

Help me with any suggestions,examples,sample code or tutorial.

Était-ce utile?

La solution

Playing an MP3 stream seems like it should be a straightforward task that the Cocoa APIs would handle easily.

see this post Live streaming

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top