ios12.1语音合成不能播放
天蝎精致小姑娘 发布于2019-08 浏览:1860 回复:3
0
收藏

问题描述:手机不安装手机卡,只连接 WiFi 情况下,语音合成不能播放。手机安装了手机卡,未打开流量,能正常播放。怎么解决不安装手机卡,只连接 WiFi 时,能正常播放?

从 log 看当前网络在 WiFi 不安装手机卡下是 none,这个不能理解

1.手机只连接 WiFi(不安装手机卡),不能播放

不安装手机卡,连接 WiFi 情况下,Current net = NONE,不能播放
[NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor:
1565950509.798214 Began synthesizing sentence 0
[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: bds.cmd.platform.custom.command

[INFO][bds_EventManagerTTS.cpp:330]Internet connectivity type changed to 1
2019-08-16 18:11:47.778214+0800 DianJingNet[35060:4946441] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor:
1565950307.778519 Began synthesizing sentence 0
[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: bds.cmd.platform.custom.command

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1066]_testLicenseDeclare =
[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:194]Embedded engine received message: bds.cmd.platform.custom.command
[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1178]Current net = NONE
[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1180]current net is not wifi, skip stats
[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
1565950307.787556 0.000000
[TRACE][BDSSpeechSynthesizer.mm:2001]TTS出错通知

 

2.手机连接 WiFi,也安装手机卡,能播放

[NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor:
[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: bds.cmd.platform.custom.command

[INFO][bds_EventManagerTTS.cpp:330]Internet connectivity type changed to 1
2019-08-16 18:15:09.564968+0800 DianJingNet[35060:4946441] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor:
[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: bds.cmd.platform.custom.command

[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1066]_testLicenseDeclare =
[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:194]Embedded engine received message: bds.cmd.platform.custom.command
[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1178]Current net = G4
[DEBUG][bds_EventManagerTTSEngineOffline_Impl.cpp:1180]current net is not wifi, skip stats
[DEBUG][bds_EventManagerTTS.cpp:87]TTS RECEIVE: tts.cmd.queue_sentence

[ERROR][bds_EventManagerTTS.cpp:178]processSynthesizerCmd_AddSentence
[DEBUG][bds_character_coding_iconv.cpp:49]+iconv_open
[DEBUG][bds_character_coding_iconv.cpp:51]-iconv_open handle=0x281504cf0
[DEBUG][bds_character_coding_iconv.cpp:21]+iconv
[DEBUG][bds_character_coding_iconv.cpp:23]-iconv ret=0
[DEBUG][bds_EventManagerTTS.cpp:218]GBLEN: 595 890
[DEBUG][bds_EventManagerTTS.cpp:1239]+beginSynthesisNextSentence
[DEBUG][bds_EventManagerTTS.cpp:1259]_usableEngines=0x283dffa00
[DEBUG][bds_EventManagerTTS.cpp:1268]-beginSynthesisNextSentence
[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_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_EventManagerTTSEngineOnline_Impl.cpp:137]Online engine received event tts.engine.cmd.start
[DEBUG][bds_EventManagerTTSEngineOnline_Impl.cpp:137]Online engine received event tts.engine.cmd.synthesize
reqTimeout = 10000[TRACE][bds_EventManagerTTSEngineOnline_Impl.cpp:405][doSynthesizeText:]start cost: 1565950509578977
[TRACE][bds_AddressResolver_getaddrinfo.cpp:194]PROTO: http:// HOST: tsn.baidu.com PATH: /text2audio?sn=34AB6DB4-49ED-41D3-B684-BA5FCD7369DE

收藏
点赞
0
个赞
共3条回复 最后由用户已被禁言回复于2022-04
#4用户已被禁言回复于2019-08
#3 天蝎精致小姑娘回复
我连接了 WiFi呀,正常上网请求数据都可以的呀

可以两次都skip了,可以在控制台内提交工单咨询。另外请问你这边是什么场景嗯,需要不装sim卡的手机来进行语音合成?

0
#3天蝎精致小姑娘回复于2019-08
#2 用户已被禁言回复
检查你的wifi,这里看到 current net is not wifi, skip stats
展开

我连接了 WiFi呀,正常上网请求数据都可以的呀

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

检查你的wifi,这里看到 current net is not wifi, skip stats

0
TOP
切换版块