     public func capturePhotoFromVideo() {
         
         self._sessionQueue.async {
+            guard
+                self._recordingSession != nil
+            else {
+                return
+            }
             
             var photoDict: [String: Any]? = nil
             

    /// The current capture mode of the device.
    public var captureMode: NextLevelCaptureMode {
        didSet {
            guard self.captureMode != oldValue else {
                return
            }


    }

    internal func removeOutputs(session: AVCaptureSession) {
        guard
            let outputs = session.outputs as? [AVCaptureOutput]
        else {
            return
        }

