private void setVideoSource(CameraWindow cameraWindow)
 {
     WindowsFormsHost host = new WindowsFormsHost();
     host.Child = cameraWindow;
     cameraView.CameraHost = host;
 }
 public void openVideoSource(CameraWindow cameraWindow)
 {
     WindowsFormsHost host = new WindowsFormsHost();
     host.Child = cameraWindow;
     cameraView.CameraHost = host;
 }
        private void openVideoSource()
        {
            cameraWindow = videoCameraController.CameraWindow;

            if (cameraWindow != null)
            {
                setVideoSource(cameraWindow);
            }
        }