Hello
I have a rather strange problem with my App whose code has been derived from the newest VideoPlayback sample code.: if a Image Target has been tracked and I close and reopen the App, the camera freezes when resumed. If no Image Target has been tracked in the current frame, the app pauses and resumes as expected. I debugged the code and it seems that resumeAR doesn't get called, also there is no UIApplicationDidBecomeActiveNotification being sent, pause AR however does get called when the App goes in background state.
Unfortunately I can't replicate this behaviour on the vuforia samples. I have modified EAGLView (mainly I altered the underlying data model for loading the OpenGL textures from static arrays to dynamic vectors) and it's Controller to a certain extent which might cause the problem.
Can anybody give me a hint what might be the problem there?Thank you very much
Camera freezes when app resumes: UIApplicationDidBecomeActiveNot
So I was able to identify at least part of the problem. In renderFrameQCAR I execute a chunk of code on the main thread via GCD queue.
Camera freezes when app resumes: UIApplicationDidBecomeActiveNot
Hi,
Apologies for the delay in replying.
Yes, please bear in mind that RenderFrameQCAR() is called on a background thread, but there is no reason it has to be, so you could experiment with other techniques.
Did you manage to overcome the problems?
N
Camera freezes when app resumes: UIApplicationDidBecomeActiveNot
i think u use pop view controller do not do this every time pust view to eagl view
Camera freezes when app resumes: UIApplicationDidBecomeActiveNot
Thanks for your suggestion, but no, I don't use a navigation controller.
@NalinS: no worries. No, I did't had time to investigate these issues further. If I do, I'll keep this thread updated.