streaming audio player for background play

喜你入骨 提交于 2019-12-14 04:14:46

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/12339930/streaming-audio-player-for-background-play

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