hb007
hb007
  • 发布:2024-12-04 12:06
  • 更新:2024-12-04 12:06
  • 阅读:36

使用fy-speech-recog使用百度语音唤醒报错

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows10 版本 22H2(操作系统内部版本 19045.5131)

HBuilderX类型: 正式

HBuilderX版本号: 4.36

手机系统: Android

手机系统版本号: Android 12

手机厂商: 一加

手机机型: GM1910

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

this.recogHandle && this.recogHandle.startWakeUp({
WP_WORDS_FILE: plus.io.convertLocalFileSystemURL("/static/WakeUp.bin")
}, {
success: function(res) {
console.log(res)
},
fail: function(res) {
console.log(res)
},
stop: function(res) {
console.log(res)
},

            });

操作步骤:

开启语音唤醒

预期结果:

唤醒成功

实际结果:

java.lang.IllegalArgumentException callable expects 3 arguments,but 2 were provided.

bug描述:

使用fy-speech-recog使用百度语音唤醒报错;报错信息如下:java.lang.IllegalArgumentException callable expects 3 arguments,but 2 were provided.

2024-12-04 12:06 负责人:无 分享
已邀请:

要回复问题请先登录注册