piemonte/PBJVision

change device back and front delay badly

youxigit opened this issue · 1 comments

  • (void)setCameraDevice
    {
    PBJVision *vision = [PBJVision sharedInstance];
    vision.cameraDevice = vision.cameraDevice == PBJCameraDeviceBack ? PBJCameraDeviceFront : PBJCameraDeviceBack;
    }
    delay more than 3S

Hey @youxigit thanks for the note. i recommend checking out http://github.com/nextlevel/nextlevel

It's more resilient when it comes to switching devices.