未验证 提交 1b860858 编写于 作者: S supeng 提交者: Gitee

modify context

Signed-off-by: Nsupeng <supeng13@huawei.com>
上级 ca4ff2eb
...@@ -245,9 +245,6 @@ function getVideoRecorderSurface() { ...@@ -245,9 +245,6 @@ function getVideoRecorderSurface() {
##### 创建会话 ##### 创建会话
```typescript ```typescript
// 创建Context对象
let context = featureAbility.getContext()
//创建会话 //创建会话
let captureSession = await camera.createCaptureSession() let captureSession = await camera.createCaptureSession()
if (!captureSession) { if (!captureSession) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册