为啥调用CameraContext.stopRecord 报错?
发布于 6 年前 作者 olai 6808 次浏览 来自 官方Issues

报错msg:“operateCamera:fail:stop error”。

手机型号华为p30 pro

一会可以一会又不行,昨天还可以,今天就不行了。。。

部分代码:

//开始录像

that.ctxstartRecord({

success: (res) => {

thisintervalTimeStopRecord =setTimeoutfunction () {

that.stopRecord();

}, 1700

},

})

//结束录像

stopRecord() {

this.ctxs.topRecord({

success: (res) => {

},

fail: (res) => {

},

})

},

结束录像就会走fail,返回错误信息:operateCamera:fail:stop error

2 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

我的也是报这个错误,华为nova 5i pro。还有一个华为手机nova也是报这个错误,有时候报有时候没事

回到顶部