streaming audio player for background play

Currently, I am developing an app in which there is need of play an streaming audio. I am using mpmovieplayercontroller to play streaming audio. It is working fine for me. However, the audio is stopping when the device goes into sleeping mode or enters into background mode. I want to play audio also in these two mode condition. How can I play streaming audio in these two modes? I am also open to another player.

Answers


I'd check out Matt Gallagher's Audio Streamer. I use it in an audio streaming application and it works fantastically. It also supports background streaming, like what you're looking for: https://github.com/mattgallagher/AudioStreamer


Need Your Help

How to retrieve the list of all installed keyboards in Swift?

ios swift custom-keyboard

I am trying to write a simple function that will check to see if a specific keyboard is installed.

Instances of my class don't want to act properly as dictionary keys interchangeably with strings

c# dictionary wrapper equals gethashcode

I created a sort of string wrapper class and want to use its instances as dictionary keys interchangeably with usual strings. I overrode GetHashCode and Equals and got results that seem strange. I've

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.