         self.prapareVideoScreen()
     }
     
-    // image
-    var captureSession:AVCaptureSession!
-    var videoStillImageOutput:AVCaptureStillImageOutput!
-    
-    // movie
-    var videoMovieFileOutput:AVCaptureMovieFileOutput!
-
     func prapareVideoScreen() {
 
         let displayID = CGMainDisplayID()

     
        }
        
        
        
        // initialize default setting
        NotificationCenter.default.addObserver(self, selector: #selector(self.recordButtonDidClick(_:)), name: NSNotification.Name(rawValue: "CaptureViewRecordButtonDidClick"), object: nil)


        
    }

}

// MARK: - Notifications

extension AppDelegate {

    func recordButtonDidClick(_ button:NSButton) {
        
        self.statusItem = NSStatusBar.system().statusItem(withLength: NSSquareStatusItemLength)
