1

I am using AVQueuePlayer for playing media from internet. I set proper AVAudioSessionCategoryPlayback, added UIBackgroundModes *audio* and I used UIBackgroundTask for making playback continue working in background (start background task after track has ended and end it upon next track is ready to play). And everything works, both active and background mode. But sometimes playback in background stops for no reason. And everything I have is a message in console:

Jun 1 13:36:01 unknown mediaserverd[646] : 13:36:01.921 <0x5063000> AudioQueue: Error -12985 from AudioSessionSetClientPlayState(1215)

So what does it mean?

mashe
  • 89
  • 1
  • 7
  • 1
    Possible dup: http://stackoverflow.com/questions/4349173/audioqueuestart-fail-12985 – nhahtdh Jun 01 '12 at 10:48
  • it is a bit different problem, because i use AVQueuePlayer and not AudioQueue. But this gave me fresh information to look at. Thanks. – mashe Jun 01 '12 at 16:06

0 Answers0