要喚醒小丹時,常常會失靈,log顯示錄音設備異常,
如何不用重啟狀態下,讓錄音設備回復正常?
錄音設備異常
只是單純的做喚醒及語音辯識就掛掉了,附上log給您參考:
12-23 01:10:14.694 5793-7143/tw.com.wistrend.market D/dev.anshun.ai_builder.activity.DannySpeechActivity: onTTSComplete:true
12-23 01:10:14.694 5793-5793/tw.com.wistrend.market D/dev.anshun.ai_builder.activity.DannySpeechActivity: call setFaceStandby
12-23 01:10:14.694 5793-5793/tw.com.wistrend.market D/callBackToHTMLByString: playMovie - standby
12-23 01:10:14.694 5793-7143/tw.com.wistrend.market D/textId: null
12-23 01:10:14.696 5793-7143/tw.com.wistrend.market D/xxx_KiwiAgent: internalHandleEvent:[tts, tts_rs_speak_status, tts_rs_type_normal, tts_rs_state_none]
12-23 01:10:14.696 5793-7143/tw.com.wistrend.market D/dev.anshun.ai_builder.activity.DannySpeechActivity: onSpeakState:NORMAL, state:NONE
12-23 01:10:14.699 5793-5805/tw.com.wistrend.market D/xxx_BaseAgent: proxy Svr cmd:[audio, audio_speech_asr_status, asr_listen_type_recognize, asr_state_none], data=null
send2User:[audio, audio_speech_asr_status, asr_listen_type_recognize, asr_state_none], data=null
12-23 01:10:14.699 5793-7143/tw.com.wistrend.market D/xxx_KiwiAgent: internalHandleEvent:[audio, audio_speech_asr_status, asr_listen_type_recognize, asr_state_none]
12-23 01:10:14.699 5793-7143/tw.com.wistrend.market D/dev.anshun.ai_builder.activity.DannySpeechActivity: onSpeechState1:RECOGNIZE, state:NONE
12-23 01:10:14.703 5793-5806/tw.com.wistrend.market D/xxx_BaseAgent: proxy Svr cmd:[audio, audio_speech_asr_status, asr_listen_type_wakeup, asr_state_start], data=null
12-23 01:10:14.704 5793-5806/tw.com.wistrend.market D/xxx_BaseAgent: send2User:[audio, audio_speech_asr_status, asr_listen_type_wakeup, asr_state_start], data=null
12-23 01:10:14.707 5793-7143/tw.com.wistrend.market D/xxx_KiwiAgent: internalHandleEvent:[audio, audio_speech_asr_status, asr_listen_type_wakeup, asr_state_start]
12-23 01:10:14.707 5793-7143/tw.com.wistrend.market D/dev.anshun.ai_builder.activity.DannySpeechActivity: onSpeechState1:WAKE_UP, state:START
12-23 01:10:14.712 5793-5928/tw.com.wistrend.market D/result: undefined
12-23 01:10:15.091 5793-5805/tw.com.wistrend.market D/xxx_BaseAgent: proxy Svr cmd:[audio, audio_wakeup_result, audio_wakeup_result_fail, 启动录音失败.(错误码:20006), 0], data=null
send2User:[audio, audio_wakeup_result, audio_wakeup_result_fail, 启动录音失败.(错误码:20006), 0], data=null
12-23 01:10:15.091 5793-7143/tw.com.wistrend.market D/xxx_KiwiAgent: internalHandleEvent:[audio, audio_wakeup_result, audio_wakeup_result_fail, 启动录音失败.(错误码:20006), 0]
12-23 01:10:15.091 5793-7143/tw.com.wistrend.market D/dev.anshun.ai_builder.activity.DannySpeechActivity: onWakeup:false, score:启动录音失败.(错误码:20006)