"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Video playback QCAR hanged

Hello,

After debugging for an hour I found out where app is hanging. The code is in QCARutils.mm below

- (void)stopCamera{    // Stop the tracker:    QCAR::TrackerManager& trackerManager = QCAR::TrackerManager::getInstance();    //NSLog(@"%d", targetType);    QCAR::Tracker* tracker = trackerManager.getTracker(targetType == TYPE_FRAMEMARKERS ?                                                       QCAR::Tracker::MARKER_TRACKER :                                                       QCAR::Tracker::IMAGE_TRACKER);    if(tracker != 0)        tracker->stop();    QCAR::CameraDevice::getInstance().stop();    QCAR::CameraDevice::getInstance().deinit();}

 

Application dont move forward and screen hangs when it reaches following line of above code

QCAR::Tracker* tracker = trackerManager.getTracker(targetType == TYPE_FRAMEMARKERS ?                                                       QCAR::Tracker::MARKER_TRACKER :                                                       QCAR::Tracker::IMAGE_TRACKER);

What could be the issue? I did major changes in EAGLView.mm. What could have caused the issue?

"I did major changes in EAGLView.mm. What could have caused the issue?"

I think you just answered your own question.

ayazalavi

Mon, 10/22/2012 - 05:25

well this problem arises when you push new controller in front with presentmodalviewcontroller method.