AVPlayer & AVAudioSession

馋奶兔 提交于 2019-12-25 08:58:11

问题


I'm going insane with one issue when trying to stream audio from a radio service. I get it to run in the background fine, setting the required background mode in my .plist file.

However, as soon as the audio is interrupted (or if i exit the application before the stream has successfully started) my application (i presume) is supended, as it no longer gives me feedback on e.g a change in connection.

I'd like to accomplish this, so that i can manage stream quality etc even when the application is in the background.

Anyone have any tips for me?

Gratefully David

来源:https://stackoverflow.com/questions/10639194/avplayer-avaudiosession

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