iPhone SDK SDL_openAudio with Multitasking Support

Posted by brokedid on Stack Overflow See other posts from Stack Overflow or by brokedid
Published on 2011-01-14T16:30:46Z Indexed on 2011/01/14 16:53 UTC
Read the original article Hit count: 167

Hello,

I'm playing audio from a Online Live RTPS Stream with ffmpeg(because Apple doesn't support rtsp live streaming).

Now I would play my Stream in the background. I started a thread in the background and registered the music for Background support.

When the Application is entering in Background the NSThread is paused, and then Resuming after returning from background.

If I start playing a Music (MP3-Stream) in the Application which use official Apple Frameworks then when the App is entering Background both Streams are played.

What can I do to fix this?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c