未验证 提交 812f5db5 编写于 作者: O openharmony_ci 提交者: Gitee

!9571 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update...

!9571 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update zh-cn/application-dev/reference/apis/js-apis-media.md.
Merge pull request !9571 from 李书明/N/A
...@@ -2484,6 +2484,7 @@ on(type: 'error', callback: ErrorCallback): void ...@@ -2484,6 +2484,7 @@ on(type: 'error', callback: ErrorCallback): void
videoRecorder.on('error', (error) => { // 设置'error'事件回调 videoRecorder.on('error', (error) => { // 设置'error'事件回调
console.info(`audio error called, error: ${error}`); console.info(`audio error called, error: ${error}`);
// 当获取videoRecordState接口出错时通过此订阅事件上报 // 当获取videoRecordState接口出错时通过此订阅事件上报
});
``` ```
## VideoRecordState<sup>9+</sup> ## VideoRecordState<sup>9+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册