                 }
                 
                 self.session.commitConfiguration()
+                self.configureFrameRate()
                 completion(CameraSetupResult.videoSuccess)
                 break
             case .denied:

            if oldOutput == self.videoDataOutput || oldOutput == self.photoOutput || oldOutput == self.metadataOutput || oldOutput == self.videoFileOutput  {
                self.session.removeOutput(oldOutput)
            }
        }
    }
    

                if self.session.canSetSessionPreset(self.resolution.foundationPreset()) {
                    self.session.sessionPreset = self.resolution.foundationPreset()
                }
 
                if self.capturesHighResolutionImages && self.photoOutput.isHighResolutionCaptureEnabled {
                    self.photoOutput.isHighResolutionCaptureEnabled = true
