语音识别错误,-3004,4004
陈崇宇 发布于2020-06 浏览:6045 回复:11
0
收藏

RT,错误日志如下,appkey等皆配置正确,包名未修改,且是正确的:

I/AsrManager.Debug( 4693): 识别参数(反馈请带上此行日志){}
I/MicrophoneServer( 4693): infile: audioSource:1
E/ASREngine( 4693): VAD Model=dnn
I/[BDASR_LOG] Policy( 4693): use custom galaxy = false
W/DeviceId( 4693): galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
I/chatty ( 4693): uid=10089(com.zdy_flutter) identical 1 line
W/DeviceId( 4693): galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
V/ASREngine( 4693): ASRCallBack :0
I/RecogEventAdapter( 4693): name:asr.ready; params:{"pid":1536,"sn":"b8a5347c-57d1-4756-a512-dc4a735cf3d3"}
I/[BDASR_LOG] MicrophoneServer( 4693): add wrap socket, mRemoteOutputStreams size = 1 firstStart = true
D/NetworkSecurityConfig( 4693): Using Network Security Config from resource network_security_config debugBuild: true
D/BDSHttpRequestMaker( 4693): Begin request, url is https://openapi.baidu.com/oauth/2.0/token &d2ffd9c,
I/BDSHttpRequestMaker( 4693): url = https://vop.baidu.com/v2/up?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 &f5cb3a5,
D/BDSHttpRequestMaker( 4693): url: https://vop.baidu.com/v2/up?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 mHostIp: vop.baidu.com &f5cb3a5,
I/[BDASR_LOG] audioSource : ( 4693): 1
I/[BDASR_LOG] MicInputStream( 4693): startRecordingAndCheckStatus recorder status is 1
I/MicrophoneServer( 4693): audio mills is 0
V/ASREngine( 4693): ASRCallBack :6
I/chatty ( 4693): uid=10089(com.zdy_flutter) Thread-13 identical 1 line
V/ASREngine( 4693): ASRCallBack :6
D/BDSHttpRequestMaker( 4693): hostname : vop.baidu.com verifyUrl : vop.baidu.com &f5cb3a5,
V/ASREngine( 4693): ASRCallBack :6
I/BDSHttpRequestMaker( 4693): url = https://vop.baidu.com/v2/down?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 &755770b,
D/BDSHttpRequestMaker( 4693): url: https://vop.baidu.com/v2/down?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 mHostIp: vop.baidu.com &755770b,
D/BDSHttpRequestMaker( 4693): hostname : openapi.baidu.com verifyUrl : openapi.baidu.com &d2ffd9c,
D/BDSHttpRequestMaker( 4693): hostname : vop.baidu.com verifyUrl : vop.baidu.com &755770b,
V/ASREngine( 4693): ASRCallBack :6
I/RecogEventAdapter( 4693): name:asr.volume; params:{"volume":0,"volume-percent":0}
I/BDSHttpRequestMaker( 4693): AudioData : mType = 3 | mIsLast = true | mData = 5 &755770b,
I/BDSHttpRequestMaker( 4693): DownloadThread mData[0] = 1 &755770b,
I/BDSHttpRequestMaker( 4693): DownloadThread mData[1] = 0 &755770b,
I/BDSHttpRequestMaker( 4693): DownloadThread mData[2] = 0 &755770b,
I/BDSHttpRequestMaker( 4693): DownloadThread mData[3] = 0 &755770b,
I/BDSHttpRequestMaker( 4693): DownloadThread mData[4] = 3 &755770b,
I/BDSHttpRequestMaker( 4693): sendData dataType : 0 https://vop.baidu.com/v2/up?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 &f5cb3a5,
D/BDSHttpRequestMaker( 4693): Receive response, data: {"access_token":"24.629d4e6516220a7e1afadbc2cacfb4bd.2592000.1593573378.282335-16948781","session_key":"9mzdDcS65k6A6iGN96X7soGmkzEkMt+SUXCr3W88++19L223a4ufIlQT3saqeGMspoO08Jr6+nEMeR98HCSkyObCVntqDw==","scope":"audio_voice_assistant_get brain_enhanced_asr audio_tts_post public brain_all_scope picchain_test_picchain_api_scope wise_adapt lebo_resource_base lightservice_public hetu_basic lightcms_map_poi kaidian_kaidian ApsMisTest_Test\u6743\u9650 vis-classify_flower lpq_\u5f00\u653e cop_helloScope ApsMis_fangdi_permission smartapp_snsapi_base iop_autocar oauth_tp_app smartapp_smart_game_openapi oauth_sessionkey smartapp_swanid_verify smartapp_opensource_openapi smartapp_opensource_recapi fake_face_detect_\u5f00\u653eScope vis-ocr_\u865a\u62df\u4eba\u7269\u52a9\u7406 idl-video_\u865a\u62df\u4eba\u7269\u52a9\u7406","refresh_token":"25.144e4813fc74a0571ab01938a3d214a6.315360000.1906341378.282335-16948781","session_secret":"80ae7018e58eddb81bd0b8a7694e741a","expires_in":2592000}
D/BDSHttpRequestMaker( 4693): httpStatus: 200 &d2ffd9c,
V/ASREngine( 4693): ASRCallBack :6
I/BDSHttpRequestMaker( 4693): readData dataType : 244 https://vop.baidu.com/v2/down?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 &755770b,
V/ASREngine( 4693): ASRCallBack :6
I/chatty ( 4693): uid=10089(com.zdy_flutter) Thread-25 identical 2 lines
V/ASREngine( 4693): ASRCallBack :6
I/RecogEventAdapter( 4693): name:asr.volume; params:{"volume":0,"volume-percent":0}
V/ASREngine( 4693): ASRCallBack :6
I/chatty ( 4693): uid=10089(com.zdy_flutter) Thread-30 identical 2 lines
V/ASREngine( 4693): ASRCallBack :6
I/BDSHttpRequestMaker( 4693): readData dataType : 241 https://vop.baidu.com/v2/down?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 &755770b,
I/BDSHttpRequestMaker( 4693): response : {"err_msg":"4: Open api request limit reached","err_no":-3004,"sn":"b8a5347c-57d1-4756-a512-dc4a735cf3d3"}
I/BDSHttpRequestMaker( 4693): https://vop.baidu.com/v2/down?sn=b8a5347c-57d1-4756-a512-dc4a735cf3d3 &755770b,
I/BDSHttpRequestMaker( 4693): Exception &755770b,
W/System.err( 4693): java.lang.NullPointerException: Attempt to invoke virtual method 'java.net.URL java.net.HttpURLConnection.getURL()' on a null object reference
W/System.err( 4693): at com.baidu.speech.core.BDSHttpRequestMaker.readData(Unknown Source:145)
V/ASREngine( 4693): ASRCallBack :8
E/ASREngine( 4693): EVoiceRecognitionClientWorkStatusError errorDomain : 33 errorCode : -3004 desc : Server app name unknown. mLastRecognitionResult:
D/ASREngine( 4693): generateErrorResult errDomain = 33 errCode = -3004
I/RecogEventAdapter( 4693): name:asr.finish; params:{"origin_result":{"sn":"","error":4,"desc":"App name unknown","sub_error":4004},"error":4,"desc":"App name unknown","sub_error":4004}
E/RecogEventAdapter( 4693): asr error:{"origin_result":{"sn":"","error":4,"desc":"App name unknown","sub_error":4004},"error":4,"desc":"App name unknown","sub_error":4004}

收藏
点赞
0
个赞
共11条回复 最后由用户已被禁言回复于2022-04
#12dead___gone回复于2021-06

这个问题还没解决吗?? 升级了最新版本也出现的这个问题, 降低版本就没问题了

0
#11用户已被禁言回复于2020-09
#10 超哥一切向钱看回复
我也遇到同样的问题,请问怎么解决?

先看下控制台,是否没有额度了,或者免费额度未领取。

0
#10超哥一切向钱看回复于2020-09

我也遇到同样的问题,请问怎么解决?

0
#9用户已被禁言回复于2020-06
#8 dutaxibest回复
pid是什么?在哪里配置?

dev_pid,可以先参照即成文档。

0
#8dutaxibest回复于2020-06
#7 用户已被禁言回复
请尝试将pid修改至1537,看是否还有此问题。

pid是什么?在哪里配置?

0
#7用户已被禁言回复于2020-06
#4 dutaxibest回复
用的是  bdasr_V3_20190515_c9eed5d.jar 
展开

请尝试将pid修改至1537,看是否还有此问题。

0
#6用户已被禁言回复于2020-06
#5 陈崇宇回复
 你好,用的是  bdasr_V3_20190515_c9eed5d.jar 
展开

请尝试将pid修改至1537,看是否还有此问题。

0
#5陈崇宇回复于2020-06
#3 用户已被禁言回复
你好,请问现在测试的哪个sdk?

 你好,用的是  bdasr_V3_20190515_c9eed5d.jar 

0
#4dutaxibest回复于2020-06
#3 用户已被禁言回复
你好,请问现在测试的哪个sdk?

用的是  bdasr_V3_20190515_c9eed5d.jar 

0
#3用户已被禁言回复于2020-06
#2 陈崇宇回复
之前是好使的,最近突然不行了

你好,请问现在测试的哪个sdk?

0
#2陈崇宇回复于2020-06

之前是好使的,最近突然不行了

2
TOP
切换版块