ios通知扩展中添加离线语音合成报内存警告挂掉
liuxin2010912 发布于2018-11 浏览:2539 回复:2
0
收藏

REGISTERING LOADER FOR MODULE TTSCore

REGISTERING LOADER FOR MODULE OnlineTTS

REGISTERING LOADER FOR MODULE AudioPlayer

REGISTERING LOADER FOR MODULE OfflineTTS

REGISTERING LOADER FOR MODULE ETTSModelManager

[TRACE][AppThread.cpp:84]Default thread stack size: 524288

[WARN][AppThread.cpp:86]Default thread stack is too small, trying to increase size

[TRACE][AppThread.cpp:84]Default thread stack size: 524288

[WARN][AppThread.cpp:86]Default thread stack is too small, trying to increase size

[TRACE][AppThread.cpp:84]Default thread stack size: 524288

[WARN][AppThread.cpp:86]Default thread stack is too small, trying to increase size

[TRACE][AppThread.cpp:324]Thread start (SP ~ 0x16fe76f08, threadID: 0x16fe77000

 


[TRACE][AppThread.cpp:324]Thread start (SP ~ 0x16ff82f08, threadID: 0x16ff83000

 


[TRACE][AppThread.cpp:324]Thread start (SP ~ 0x17008ef08, threadID: 0x17008f000

 


[DEBUG][bds_EventManagerPlayer.cpp:180]EventManagerPlayer::send name=player.cmd.start

[DEBUG][bds_EventManagerPlayer.cpp:182]BDS_PLAYER_CMD_START

[ERROR][AudioBufPlayer.mm:905]Player status = 0 from AudioPropertyFoundForStream

[ERROR][AudioBufPlayer.mm:905]Player status = 0 from AudioPropertyFoundForStream

[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: bds.cmd.platform.custom.command

 


[DEBUG][bds_EventManagerPlayer.cpp:180]EventManagerPlayer::send name=bds.cmd.platform.custom.command

[DEBUG][bds_EventManagerPlayer.cpp:193]CMD_NAME: ios.custom.cmd.av_management_params

[DEBUG][bds_EventManagerTTSEngineOnline_Impl.cpp:137]Online engine received event bds.cmd.platform.custom.command

[DEBUG][bds_EventManagerTTSEngineOnline_Impl.cpp:148]COMMAND_SUB_NAME: ios.custom.cmd.av_management_params

[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: tts.cmd.load_config

 


[INFO][BDSSpeechSynthesizer.mm:657]updatePlatformInfos ConnectionType: 4

[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: bds.cmd.get_event_manager_version

 


[DEBUG][bds_EventManagerTTS.cpp:128]+processSynthesizerCmd_VersionQuery

[DEBUG][bds_EventManagerTTS.cpp:142]-processSynthesizerCmd_VersionQuery

[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: tts.cmd.get_offline_engine_version

 


[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1068]_testLicenseDeclare =

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:194]Embedded engine received message: tts.cmd.get_offline_engine_version

[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: bds.cmd.platform.custom.command

 


[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1068]_testLicenseDeclare =

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:194]Embedded engine received message: bds.cmd.platform.custom.command

[DEBUG][bds_EventManagerPlayer.cpp:180]EventManagerPlayer::send name=bds.cmd.platform.custom.command

[DEBUG][bds_EventManagerPlayer.cpp:193]CMD_NAME: bds.custom.subcommand.plat_info.string

[DEBUG][bds_EventManagerTTSEngineOnline_Impl.cpp:137]Online engine received event bds.cmd.platform.custom.command

[DEBUG][bds_EventManagerTTSEngineOnline_Impl.cpp:148]COMMAND_SUB_NAME: bds.custom.subcommand.plat_info.string

[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: tts.cmd.load_offline_engine

 


[DEBUG][bds_EventManagerTTS.cpp:442]+processSynthesizerCmd_LoadOfflineEngine

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1068]_testLicenseDeclare =

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:194]Embedded engine received message: tts.cmd.load_offline_engine

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:818]Verify license file , appcode: 14875747

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:827]Failed open license file!

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:818]Verify license file /var/mobile/Containers/Data/PluginKitPlugin/156AC4D3-34DA-4C1A-B20B-2CB6B7EC5E29/Library/offlineLicense.dat, appcode: 14875747

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:824]LICENSE_CONTENT: 0afaf068a3149fc995ee24a7792852e7d51895a434be1b341bf95b230bca5ae82185dc1d108a0127686fdcf29e6f5835be045cd1231eb71cc36b51673716d75eee92880fb2ffd073cf4cef1e4a1f4ca40b3c49e4d3680e9d21e14e34e2f398d893a3bf75f2d34e6960b1d5c292104d1b54ee30e498fb1556ed192e3f5939b16702f6988d3d572678cb9cb546ff8526bfd0f06ffa5c85dec2bbf453f04846621ecdb14eec85b4194cdf99556aaf2494785c0357fff81bcfdd28f32f20c3c8663a05dc91dc328fac730e303b0a3cc7469aba2dfcd9db12d294118f2fbda51ba9de58da1c70d9b93ccf2860aa5ccd49007653fab8cb11f1de4abd31e57f0fd56dba

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:962]VerifyLicense ret 0, appCode: 14875747

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1181]Current net = WIFI

generateStatUploadURL appid: 14875747upload_start

upload_end

---------node.dbID: 1

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:839]Verify license file RET: 0

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:841]Verify license from file success

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:843]_testLicenseDeclare =

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1201]Upload stat URL: [https://upl.baidu.com/voice?osname=voiceopen&action=usereventflow&wise_cuid=689688ef02105553a3637cb412ae9aa3b5128803&sdk_version=SDK%20version%3A%202.2.8%20%28Core%3A%20CoreTTS_1.1.0%20etts%3A%20ETTS_UNIQUE%3A3.2.5_c3c5913%29&app_name=pandapush&package_name=com.duxing.dodopay.pandapush&platform=iOS%26iPhone%2612.1%261&os=iOS&net_type=1&appid=14875747&screen=375%2A667&sdk_name=BDSSpeechSynthesizer&app_signature=c8d1f00a735d1822c1666b651b38d0f6]

error of end of list, notify callback

------uploadEntryCount:0

[TRACE][MySynchronousConnection.mm:173][Connection Delegate] Will send request!!

[TRACE][MySynchronousConnection.mm:203][Connection Delegate] Did send body data

 

这是开发百度语音日志走到这直接就断掉了,也没有播放语音?

收藏
点赞
0
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#3liuxin2010912回复于2018-11

这就尴尬了,主要是iOS 12.1使用在线合成无法播放,iOS 12.1之前的系统版本才可以合成后播放

0
#2chenxiaoyu3回复于2018-11

iOS 对通知扩展的内存限制很大,目前可能无法使用离线合成

0
TOP
切换版块