         
         self.setupDevices()
         self.setupUI()
-        self.beginSession()
+        self.setupSession()
         
         self.setupMotionManager()
     }

    }
}

@objc
public enum DKCameraDeviceSourceType : Int {
    case front, rear

        return true
    }
    
    // MARK: - Setup
    
    let bottomView = UIView()
    open func setupUI() {
        self.view.backgroundColor = UIColor.black
        self.view.addSubview(self.contentView)
