In my iphone app. i need to check if there is a multisession entry, in every 5 min.
It works great during application except when user starts to play the video/live stream.
Video is pre-payed content so it’s the most important control of the application but timer doesnt work on that process.
I think that’s because of video is running on a different process but i couldnt find the solution.
help please…
thx
It’s not clear what “multisession entry” means.
Are you using
MPMoviePlayerController? Timers should generally fire while this controller is running.If you go into the background, then your code generally won’t run. There are many ways to address this. Start by reading Executing Code in the Background. You probably want a “long-running background task.” That’s only good for about 10 minutes, but that may be sufficient depending on how long your videos are.
But start by making sure you’re using
MPMoviePlayerController.