diff --git a/zh-cn/application-dev/media/camera.md b/zh-cn/application-dev/media/camera.md index 2b3ae2fba5874f4db7f73b44195b6b110adf5905..60f0348ee1442aba10a477226a3effd969151c98 100644 --- a/zh-cn/application-dev/media/camera.md +++ b/zh-cn/application-dev/media/camera.md @@ -245,9 +245,6 @@ function getVideoRecorderSurface() { ##### 创建会话 ```typescript -// 创建Context对象 -let context = featureAbility.getContext() - //创建会话 let captureSession = await camera.createCaptureSession() if (!captureSession) {