diff --git a/src/ios/CameraRenderController.m b/src/ios/CameraRenderController.m index 19d56fd..dc60b13 100644 --- a/src/ios/CameraRenderController.m +++ b/src/ios/CameraRenderController.m @@ -58,7 +58,7 @@ - (void) viewWillAppear:(BOOL)animated { } - (void)onAppWillResignActive { - if (!self.sessionManager.session.running){ + if (self.sessionManager.session.running){ [self.sessionManager stopRecording]; } }