MPMoviePlayerController playback problem

Posted by Fahri on Stack Overflow See other posts from Stack Overflow or by Fahri
Published on 2010-12-21T15:31:23Z Indexed on 2010/12/21 15:54 UTC
Read the original article Hit count: 239

Hello all, I'm having trouble with playing audio stream using MPMoviePlayerController in the background. On the foreground it's playing the audio just fine, but when the application goes to the background, sound disappears and the time keeps going. I have initialized the AVAudioSession with AVAudioSessionCategoryPlayback and have put the required background modes to audio in info.plist file. Also I have set player.useApplicationAudioSession = YES;. What could be the possible problem here? Thanks in advance :)

© Stack Overflow or respective owner

Related posts about iphone

Related posts about mpmovieplayercontroller