iPad iOS12语音识别报错
Ta的回复 :const NSString* APP_ID = @"16708633"; const NSString* API_KEY = @"vx3PdI0VjIz07Fw0XnXknC6l"; const NSString* SECRET_KEY = @"8i7GICpfMEL9tp42nTBGnKAdKPQTEFhF"; iPad中开始唤醒时控制台打印输出: [DEBUG][bds_StatisticsManager.cpp:84]request body: {"error_code":0,"voice_to_text_result":"","pid":1536,"cmd_type":0,"time":1564725081614754,"app_id":16708633,"cmd_id":0,"pkg":"com.baidu.speech.asrdemo","type":"wakeup","decoder":0} [TRACE][MySynchronousConnection.mm:173][Connection Delegate] Will send request!! [DEBUG][bds_StatisticsManager.cpp:108]statistics post url: http://yuyin.baidu.com/voice?osname=voiceopen&action=usereventflow&wise_cuid=c1b005f5a8e7f33d2a1a14fb49bf7a957e13f2a5&sdk_version=3.0&app_name=com.baidu.speech.asrdemo&platform=iOS%26iPad5%252C1%2612.0%260&os=ios&net_type=-1&appid=16708633&screen=667.000000&sdk_name=ASRSDK&app_signature=-1 [DEBUG][bds_openplatform_stat_uploader.cpp:86]jsonContent: {"error_code":0,"voice_to_text_result":"","pid":1536,"cmd_type":0,"time":1564725081614754,"app_id":16708633,"cmd_id":0,"pkg":"com.baidu.speech.asrdemo","type":"wakeup","decoder":0} [TRACE][MySynchronousConnection.mm:203][Connection Delegate] Did send body data [TRACE][MySynchronousConnection.mm:173][Connection Delegate] Will send request!! [TRACE][MySynchronousConnection.mm:203][Connection Delegate] Did send body data [TRACE][MySynchronousConnection.mm:185][Connection Delegate] Did receive response [TRACE][MySynchronousConnection.mm:193][Connection Delegate] Did receive data [TRACE][MySynchronousConnection.mm:216][Connection Delegate] Did finish upload_start [TRACE][AppThread.cpp:84]Default thread stack size: 524288 WAKED_LICENSE: 2 [WARN][AppThread.cpp:86]Default thread stack is too small, trying to increase size upload_end [ERROR][bds_EventManagerWakeup.cpp:220][Wakeup: Wakeup: engine not initialized.] [TRACE][AppThread.cpp:324]Thread start (SP ~ 0x170066f08, threadID: 0x170067000 [TRACE][MySynchronousConnection.mm:173][Connection Delegate] Will send request!! [TRACE][MySynchronousConnection.mm:203][Connection Delegate] Did send body data [TRACE][MySynchronousConnection.mm:185][Connection Delegate] Did receive response [TRACE][MySynchronousConnection.mm:193][Connection Delegate] Did receive data [TRACE][MySynchronousConnection.mm:216][Connection Delegate] Did finish [DEBUG][bds_offline_engine_stat_uploader.cpp:118]Load offline stat, server response: OFFLINE-PV-UPLOADED [DEBUG][bds_stat_db_helper.cpp:119]Remove stat task 1 [TRACE][MySynchronousConnection.mm:185][Connection Delegate] Did receive response [TRACE][MySynchronousConnection.mm:193][Connection Delegate] Did receive data [TRACE][MySynchronousConnection.mm:216][Connection Delegate] Did finish [DEBUG][bds_openplatform_stat_uploader.cpp:115]STAT_RESP: {"errno":0,"errmsg":""} [DEBUG][bds_openplatform_stat_uploader.cpp:126]stat upload success [DEBUG][bds_openplatform_stat_uploader.cpp:150]end of node list [DEBUG][bds_stat_db_helper.cpp:119]Remove stat task 1