长语音时多次尝试后异常
loscrop 发布于2019-06 浏览:8126 回复:18
0
收藏
最后编辑于2022-04

1.现象描述:

     长语音状态下,多次尝试后 出现异常,异常后识别被中断。输入参数:

2.输入参数:

   识别参数(反馈请带上此行日志){"vad.endpoint-timeout":0,"grammar":"assets:\/\/\/baidu_speech_grammar.bsg","nlu":"enable-all","vad":"dnn","decoder":2,"accept-audio-volume":false}​
3.机型:华为荣耀 v20(pct-al10)

 

4 .用户日志:

 

 D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
 D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@3bbad7a,com.baidu.aip.asrwakeup3.recog.ActivityNlu@907537d
 D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
 I/MyRecognizer.Debug: 离线命令词初始化参数(反馈请带上此行日志):{"slot-data":{"name":["妈妈","老伍"],"appname":["手百","度秘"]},"grammar":"assets:\/\/\/baidu_speech_grammar.bsg","decoder":2}
 E/ASREngine: VAD Model=dnn
 I/[BDASR_LOG] Policy: use custom galaxy = false
 D/Device: read deviceID:16DC43CB4E9137AB8B9DFF62B1171FD5|669928240780068
 D/BDSHttpRequestMaker: Begin request, url is https://openapi.baidu.com/oauth/2.0/token &7322ad0, 
 D/ActivityThread: add activity client record, r= ActivityRecord{cd0c5ce token=android.os.BinderProxy@bbb1f27 {com.baidu.speech.recognizerdemo/com.baidu.aip.asrwakeup3.recog.ActivityNlu}} token= android.os.BinderProxy@bbb1f27
 D/ZrHung.AppEyeUiProbe: notify runnable to start.
 D/OpenGLRenderer: HWUI Binary is enabled
 D/OpenGLRenderer: disableOutlineDraw is true
 E/HwCustAudioRecordImpl: isOpenEC : false
 E/HwCustAudioRecordImpl: isOpenEC : false
 W/System: A resource failed to call end. 
 W/System: A resource failed to call end. 
 I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
 V/ASREngine: ASRCallBack :9
 D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
 D/HwAppInnerBoostImpl: asyncReportData com.baidu.speech.recognizerdemo,1,2,1,4 interval=1287
 D/OpenGLRenderer: HWUI Binary is enabled
 D/OpenGLRenderer: disableOutlineDraw is true
 I/RecogEventAdapter: name:asr.loaded; params:null
 W/InputMethodManager: startInputReason = 1
 D/BDSHttpRequestMaker: hostname : openapi.baidu.com verifyUrl : openapi.baidu.com &7322ad0, 
 D/HwAppInnerBoostImpl: asyncReportData com.baidu.speech.recognizerdemo,1,1,2,0 interval=1416
 W/libEGL: EGLNativeWindowType 0x7e0161f010 disconnect failed
 D/OpenGLRenderer: endAllActiveAnimators on 0x7e19a47c00 (ListView) with handle 0x7df84f9e60
 D/ViewRootImpl[ActivityMain]: surface should not be released
 D/BDSHttpRequestMaker: Receive response, data: {"access_token":"24.0b9cc0c5f85b4de90153acb6364a99d9.2592000.1564236752.282335-15590577","session_key":"9mzdC3rBWZdTV+lBDzsTlfGd18olzJ5L6SyFgYmTwExnTlorbQqAgTb9I5WeI\/IboCZ4WazrL8MKAgzlbD7EczCFJGcwQw==","scope":"brain_enhanced_asr audio_voice_assistant_get audio_tts_post public brain_all_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","refresh_token":"25.df2ad0ade6a01342d9f49aa54d935aa9.315360000.1877004752.282335-15590577","session_secret":"6fe6ac167881b677d7f183faac4ed419","expires_in":2592000}

 D/HwAppInnerBoostImpl: asyncReportData com.baidu.speech.recognizerdemo,1,1,3,0 interval=2763
 D/HwAppInnerBoostImpl: asyncReportData com.baidu.speech.recognizerdemo,1,1,4,0 interval=3015
 V/AudioManager: playSoundEffect effectType: 0
 V/AudioManager: querySoundEffectsEnabled...
 I/ActivityAbstractRecog: 设置的start输入参数:{vad.endpoint-timeout=0, grammar=assets:///baidu_speech_grammar.bsg, nlu=enable-all, vad=dnn, decoder=2, accept-audio-volume=false}
 I/MyRecognizer.Debug: 识别参数(反馈请带上此行日志){"vad.endpoint-timeout":0,"grammar":"assets:\/\/\/baidu_speech_grammar.bsg","nlu":"enable-all","vad":"dnn","decoder":2,"accept-audio-volume":false}
 E/ASREngine: VAD Model=dnn
 I/AutoCheck: Url is http://openapi.baidu.com/oauth/2.0/token?client_id=q2uPyBe6LmWTZlvb0g1dzcHV&client_secret=y7S7hAI894BB3LF1yHYmvQEus1B6wPvj&grant_type=client_credentials
 I/[BDASR_LOG] Policy: use custom galaxy = false
 D/Device: read deviceID:16DC43CB4E9137AB8B9DFF62B1171FD5|669928240780068
 D/HwAppInnerBoostImpl: asyncReportData com.baidu.speech.recognizerdemo,2,1,1,0 interval=42
 I/[BDASR_LOG] MicrophoneServer: add wrap socket, mRemoteOutputStreams size = 1 firstStart = true
 V/ASREngine: ASRCallBack :0
 E/HwCustAudioRecordImpl: isOpenEC : false
 I/RecogEventAdapter: name:asr.ready; params:{"pid":1536,"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d"}
 I/[BDASR_LOG] audioSource :: 1
 I/[BDASR_LOG] MicInputStream: startRecordingAndCheckStatus recorder status is 1
 D/AudioRecordPermission: AudioRecordPermission
 I/AudioRecordPermission: remindWithResult:false
 I/HwAudioRecordImpl: sendStateChangedIntent, state=3
 I/MicrophoneServer: audio mills is 0
 D/HwAppInnerBoostImpl: asyncReportData com.baidu.speech.recognizerdemo,2,1,2,0 interval=301
 V/ASREngine: ASRCallBack :1
 I/RecogEventAdapter: name:asr.sn; params:{"sn":"cuid=16DC43CB4E9137AB8B9DFF62B1171FD5|669928240780068&sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d&nettype=4"}
 I/RecogEventAdapter: name:asr.begin; params:null
 I/BDSHttpRequestMaker: url = http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 D/BDSHttpRequestMaker: url: http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 mHostIp: vop.baidu.com &23b9f56, 
 I/BDSHttpRequestMaker: url = http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 D/BDSHttpRequestMaker: url: http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 mHostIp: vop.baidu.com &733bd7, 
 I/BDSHttpRequestMaker: AudioData : mType = 3 | mIsLast = true | mData = 5 &733bd7, 
 I/BDSHttpRequestMaker: DownloadThread mData[0] = 1 &733bd7, 
 I/BDSHttpRequestMaker: DownloadThread mData[1] = 0 &733bd7, 
 I/BDSHttpRequestMaker: DownloadThread mData[2] = 0 &733bd7, 
 I/BDSHttpRequestMaker: DownloadThread mData[3] = 0 &733bd7, 
 I/BDSHttpRequestMaker: DownloadThread mData[4] = 3 &733bd7, 
 I/BDSHttpRequestMaker: sendData dataType : 0 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: readData dataType : 244 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: readData dataType : 248 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: response : {"gather_suspected":false,"gather_suspected_int":0,"gather_type":0,"gather_wake":false,"gather_wake_int":0,"suspected_cache":0,"suspected_upload":0}
d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: readData dataType : 240 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: response : {"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0"}
d_s-0 &733bd7, 
 V/ASREngine: ASRCallBack :4
 I/RecogEventAdapter: name:asr.partial; params:{"results_recognition":["选择"],"result_type":"partial_result","best_result":"选择","origin_result":{"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0"},"results_nlu":"{\"raw_text\":\"选择\",\"results\":[]}","error":0}
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: readData dataType : 240 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: response : {"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择第"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0"}
d_s-0 &733bd7, 
 V/ASREngine: ASRCallBack :4
 I/RecogEventAdapter: name:asr.partial; params:{"results_recognition":["选择第"],"result_type":"partial_result","best_result":"选择第","origin_result":{"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择第"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0"},"results_nlu":"{\"raw_text\":\"选择第\",\"results\":[]}","error":0}
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: readData dataType : 240 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: response : {"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择第一"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0"}
d_s-0 &733bd7, 
 V/ASREngine: ASRCallBack :4
 I/RecogEventAdapter: name:asr.partial; params:{"results_recognition":["选择第一"],"result_type":"partial_result","best_result":"选择第一","origin_result":{"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择第一"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0"},"results_nlu":"{\"raw_text\":\"选择第一\",\"results\":[]}","error":0}
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: sendData dataType : 3 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &23b9f56, 
 I/BDSHttpRequestMaker: readData dataType : 241 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: response : {"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择第一项"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0","voice_energy":19920.7089843750}
d_s-0 &733bd7, 
 I/BDSHttpRequestMaker: readData dataType : 243 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0 &733bd7, 
 W/BDSHttpRequestMaker: Download connection stauts has already been closed. &733bd7, 
 V/ASREngine: ASRCallBack :5
 I/RecogEventAdapter: name:asr.end; params:null
 V/ASREngine: ASRCallBack :14
 I/RecogEventAdapter: name:asr.partial; params:{"results_recognition":["选择第一项"],"result_type":"final_result","best_result":"选择第一项","origin_result":{"corpus_no":6707213158567949325,"err_no":0,"result":{"word":["选择第一项"]},"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0","voice_energy":19920.708984375},"results_nlu":"{\"raw_text\":\"选择第一项\",\"results\":[{\"domain\":\"action\",\"intent\":\"select\",\"parser\":\"bsg\",\"object\":{\"order\":\"一\"}}]}","error":0}
 I/RecogEventAdapter: name:asr.finish; params:{"origin_result":{"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-0\",\"voice_energy\":19920.708984375},\"results_nlu\":\"{\\\"raw_text\\\":\\\"选择第一项\\\",\\\"results\\\":[{\\\"domain\\\":\\\"action\\\",\\\"intent\\\":\\\"select\\\",\\\"parser\\\":\\\"bsg\\\",\\\"object\\\":{\\\"order\\\":\\\"一\\\"}}]}\",\"error","error":"Speech Recognize success.","err_no":0},"error":0,"desc":"Speech Recognize success."}
 I/BDSHttpRequestMaker: url = http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 D/BDSHttpRequestMaker: url: http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 mHostIp: vop.baidu.com &c962cc4, 
 I/BDSHttpRequestMaker: url = http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &12cf7ad, 
 D/BDSHttpRequestMaker: url: http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 mHostIp: vop.baidu.com &12cf7ad, 
 I/BDSHttpRequestMaker: AudioData : mType = 3 | mIsLast = true | mData = 5 &12cf7ad, 
 I/BDSHttpRequestMaker: DownloadThread mData[0] = 1 &12cf7ad, 
 I/BDSHttpRequestMaker: DownloadThread mData[1] = 0 &12cf7ad, 
 I/BDSHttpRequestMaker: DownloadThread mData[2] = 0 &12cf7ad, 
 I/BDSHttpRequestMaker: DownloadThread mData[3] = 0 &12cf7ad, 
 I/BDSHttpRequestMaker: DownloadThread mData[4] = 3 &12cf7ad, 
 I/BDSHttpRequestMaker: sendData dataType : 0 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: readData dataType : 244 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &12cf7ad, 
 I/BDSHttpRequestMaker: readData dataType : 248 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &12cf7ad, 
 I/BDSHttpRequestMaker: response : {"gather_suspected":false,"gather_suspected_int":0,"gather_type":0,"gather_wake":false,"gather_wake_int":0,"suspected_cache":0,"suspected_upload":0}
d_s-1 &12cf7ad, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 1 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: sendData dataType : 3 http://vop.baidu.com/v2/up?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &c962cc4, 
 I/BDSHttpRequestMaker: readData dataType : 241 http://vop.baidu.com/v2/down?sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1 &12cf7ad, 
 I/BDSHttpRequestMaker: response : {"corpus_no":0,"err_msg":"asr server not find effective speech[info: -4]","err_no":-3005,"sn":"b2220070-9ba3-4b8b-98a6-ad3742374f4d_s-1"}
d_s-1 &12cf7ad, 
 I/BDSHttpRequestMaker: Exception &12cf7ad, 
 W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.net.URL java.net.HttpURLConnection.getURL()' on a null object reference
 W/System.err: at com.baidu.speech.core.BDSHttpRequestMaker.readData(Unknown Source:145)
 V/ASREngine: ASRCallBack :8
 E/ASREngine: EVoiceRecognitionClientWorkStatusError errorDomain : 34 errorCode : 12 desc : [KWS] failed to recognition. mLastRecognitionResult: 
 D/ASREngine: generateErrorResult errDomain = 34 errCode = 12
 I/RecogEventAdapter: name:asr.finish; params:{"origin_result":{"sn":"cuid=16DC43CB4E9137AB8B9DFF62B1171FD5|669928240780068&sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d&nettype=4","error":10,"desc":"Offline engine recognize fail","sub_error":10012},"error":10,"desc":"Offline engine recognize fail","sub_error":10012}
 E/RecogEventAdapter: asr error:{"origin_result":{"sn":"cuid=16DC43CB4E9137AB8B9DFF62B1171FD5|669928240780068&sn=b2220070-9ba3-4b8b-98a6-ad3742374f4d&nettype=4","error":10,"desc":"Offline engine recognize fail","sub_error":10012},"error":10,"desc":"Offline engine recognize fail","sub_error":10012}
 V/ASREngine: ASRCallBack :18
 I/RecogEventAdapter: name:asr.exit; params:null
 W/System.err: java.util.concurrent.ExecutionException: java.io.IOException: Broken pipe
 W/System.err: at java.util.concurrent.FutureTask.report(FutureTask.java:123)
 W/System.err: at java.util.concurrent.FutureTask.get(FutureTask.java:207)
 W/System.err: at com.baidu.speech.audio.MicrophoneServer.run(Unknown Source:94)
 W/System.err: at java.lang.Thread.run(Thread.java:784)
 W/System.err: Caused by: java.io.IOException: Broken pipe
 W/System.err: at android.net.LocalSocketImpl.writeba_native(Native Method)
 W/System.err: at android.net.LocalSocketImpl.access$500(LocalSocketImpl.java:36)
 W/System.err: at android.net.LocalSocketImpl$SocketOutputStream.write(LocalSocketImpl.java:144)
 W/System.err: at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:17)
 W/System.err: at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:0)
 W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
 W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
 W/System.err: ... 1 more
 I/[BDASR_LOG] MicrophoneServer: finally, mRemoteOutputStreams size = 0 firstStart = true
 E/HwCustAudioRecordImpl: isOpenEC : false
 I/HwAudioRecordImpl: sendStateChangedIntent, state=1

收藏
点赞
0
个赞
共18条回复 最后由用户已被禁言回复于2022-04
#19用户已被禁言回复于2019-09
#18 rose20135188回复
多谢,学习了。

不客气,有问题欢迎继续反馈,也可以在官方QQ交流群:910926227 讨论交流。感谢使用百度语音技术。

0
#18rose20135188回复于2019-09
#17 用户已被禁言回复
声音不符合识别要求,通常是语音质量问题或采样率设的不对 。如果确认那块(报错的句子所处的音频位置段)音频没问题,可再检查采样率和别的识别参数有误问题。 音频质量问题,自查对应位置的音频
展开

多谢,学习了。

0
#17用户已被禁言回复于2019-08
#15 rose20135188回复
问题解决了么?如果已经解决了,能分享出来给大家学习一下吗?

声音不符合识别要求,通常是语音质量问题或采样率设的不对 。如果确认那块(报错的句子所处的音频位置段)音频没问题,可再检查采样率和别的识别参数有误问题。 音频质量问题,自查对应位置的音频

0
#16用户已被禁言回复于2019-08
#14 这个死脑筋回复
我遇到了和这个题主一样的问题?请问你知道他怎么解决的么?

声音不符合识别要求,通常是语音质量问题或采样率设的不对 。如果确认那块(报错的句子所处的音频位置段)音频没问题,可再检查采样率和别的识别参数有误问题。 音频质量问题,自查对应位置的音频。

0
#15rose20135188回复于2019-08

问题解决了么?如果已经解决了,能分享出来给大家学习一下吗?

0
#14这个死脑筋回复于2019-08
#13 用户已被禁言回复
你好,请问你目前遇到了什么问题呢?

我遇到了和这个题主一样的问题?请问你知道他怎么解决的么?

0
#13用户已被禁言回复于2019-08
#12 kpano回复
请问最后怎么解决的?

你好,请问你目前遇到了什么问题呢?

0
#12kpano回复于2019-08

请问最后怎么解决的?

0
#11loscrop回复于2019-07

#10  这个是在项目上的新问题。

0
#10loscrop回复于2019-07
#8 用户已被禁言回复
下载了demo之后没有修改过代码?
2019-07-04 00:44:31.416 7303-7383/com.kobais.ipt W/System.err: java.util.concurrent.ExecutionException: java.io.IOException: Broken pipe
2019-07-04 00:44:31.416 7303-7383/com.kobais.ipt W/System.err:     at java.util.concurrent.FutureTask.report(FutureTask.java:123)
2019-07-04 00:44:31.416 7303-7383/com.kobais.ipt W/System.err:     at java.util.concurrent.FutureTask.get(FutureTask.java:207)
2019-07-04 00:44:31.416 7303-7383/com.kobais.ipt W/System.err:     at com.baidu.speech.audio.MicrophoneServer.run(Unknown Source:94)
2019-07-04 00:44:31.417 7303-7383/com.kobais.ipt W/System.err:     at java.lang.Thread.run(Thread.java:784)
2019-07-04 00:44:31.417 7303-7383/com.kobais.ipt W/System.err: Caused by: java.io.IOException: Broken pipe
2019-07-04 00:44:31.417 7303-7383/com.kobais.ipt W/System.err:     at android.net.LocalSocketImpl.writeba_native(Native Method)
2019-07-04 00:44:31.417 7303-7383/com.kobais.ipt W/System.err:     at android.net.LocalSocketImpl.access$500(LocalSocketImpl.java:36)
2019-07-04 00:44:31.417 7303-7383/com.kobais.ipt W/System.err:     at android.net.LocalSocketImpl$SocketOutputStream.write(LocalSocketImpl.java:144)
2019-07-04 00:44:31.418 7303-7383/com.kobais.ipt W/System.err:     at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:17)
2019-07-04 00:44:31.418 7303-7383/com.kobais.ipt W/System.err:     at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:0)
2019-07-04 00:44:31.418 7303-7383/com.kobais.ipt W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2019-07-04 00:44:31.418 7303-7383/com.kobais.ipt W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2019-07-04 00:44:31.418 7303-7383/com.kobais.ipt W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
0
#9loscrop回复于2019-07
#8 用户已被禁言回复
下载了demo之后没有修改过代码?

是的,而且为了确认问题,我还是重新加载的项目 。

0
#8用户已被禁言回复于2019-07
#7 loscrop回复
这个就是demo上的。另外,我也无法使用离线引擎。按你们上面的说明,首次连下网,然后断网,会提示离线引擎 异常。不知道是不是跟这个也是有关系的。
展开

下载了demo之后没有修改过代码?

0
#7loscrop回复于2019-06
#6 用户已被禁言回复
哦,demo也这样吗?

这个就是demo上的。另外,我也无法使用离线引擎。按你们上面的说明,首次连下网,然后断网,会提示离线引擎 异常。不知道是不是跟这个也是有关系的。

0
#6用户已被禁言回复于2019-06
#5 loscrop回复
我看日志 是有一个网络请求错误了。  

哦,demo也这样吗?

0
#5loscrop回复于2019-06

我看日志 是有一个网络请求错误了。

 

0
#4loscrop回复于2019-06
#2 用户已被禁言回复
模拟器吗?看到你报错是离线引擎问题

是华为荣耀v20。

 

0
#3guoguanghulian回复于2019-06

不是。上面有写了机型 啊,是荣耀v20。

0
#2用户已被禁言回复于2019-06

模拟器吗?看到你报错是离线引擎问题

0
TOP
切换版块