微信同声传译bug?
微信同声传译bug?
var manager = plugin.getRecordRecognitionManager() manager.onRecognize = function (res) { console. log ( "current result" , res.result) } manager.onStop = function (res) { console. log ( "record file path" , res.tempFilePath) console. log ( "result" , res.result); } manager.onStart = function (res) { console. log ( "成功开始录音识别" , res) } manager.onError = function (res) { console.error( "error msg" , res.msg) } |
luyin() { manager.start({ lang: 'zh_CN' , }) console.log( '开始录音' ); }, quxiaoluyin() { manager.stop() console.log( '取消录音' ); }, |
刚运行
manager.start 就直接报错了 record failed 只有苹果和开发者工具平台上报错 安卓是好的
1 回复
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)