如何实现相机关闭
========

实现相机关闭的参考代码如下：

_// Stop the current session_
  photoSession.stop();

_// Release camera input stream_
  cameraInput.close();

_// Release preview output stream_
  previewOutput.release();

_// Release the photo output stream_
  photoOutput.release();

_// Release session_
  photoSession.release();

_// Session left blank_
  photoSession = undefined;

#### 参考链接

[拍照实践(ArkTS)](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/camera-shooting-case)