public void OpenCamera() { try { if (opened) { cameraSource.Stop(); } cameraSource.Open(); opened = true; renderer.OnCameraOpened(); } catch (Exception ex) { this.Debug("Unable to open camera"); this.Debug(ex.ToString()); } }