提交 b2406730 编写于 作者: M mali

Correction of writing errors in camera data

Signed-off-by: Nmali <mali81@huawei.com>
上级 8338ddf0
......@@ -815,8 +815,8 @@ cameraManager.on('cameraMute', (err, cameraStatusInfo) => {
```js
async function getCameraInfo("cameraId") {
let cameraManager = await camera.getCameraManager(context);
let cameras = await cameraManager.getSupportedCameras();
let cameraManager = camera.getCameraManager(context);
let cameras = cameraManager.getSupportedCameras();
let cameraObj = cameras[0];
let cameraId = cameraObj.cameraId;
let cameraPosition = cameraObj.cameraPosition;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册