Search code examples
iphoneiosipadmpmediaplayercontroller

MPMusicPlayerController buffering / preloading


Is there a way to make MPMusicPlayerController buffer content before I call -play? Or does it do this by default when you set a queue? AVAudioPlayer has the -prepareToPlay method and I've heard that AVQueuePlayer starts buffering the next item automatically, but does MPMusicPlayerController have the same behaviour?


Solution

  • The answer to this question is in the iOS 6 beta docs, if anyone is wondering. Can't say much more because of NDA.

    EDIT: As requested, since the NDA has been lifted, here's the answer: As of iOS 6, MPMusicPlayerController, like MPMoviePlayerController implements the MPMediaPlayback protocol, which has methods like -prepareToPlay.