语音合成TTS 错误编码:-15 网络超时错误
cysinlake 发布于2018-05 浏览:19875 回复:12
1
收藏
您好,
         tts官方sdk,精简版合成功能, 联通宽带WIFI环境,文字较多时,报超时错误,请协助解决,多谢!      
  
         我直接下载运行百度语音合成tts官方SDK(Baidu-TTS-Android-2.3.3-2018-03-27)
 
         在androidStudio 2.3.1上运行,对官方sdk代码不做任何修改的情况下,
 
         使用“精简版合成”功能(即MiniActivity.java),点击播放是正常的。
          文本为默认的“欢迎使用百度语音合成,请在代码中修改合成文本” private static final String TEXT = "欢迎使用百度语音合成,请在代码中修改合成文本“;
 
         然后我仅把文字加长如下:
private static final String TEXT = "欢迎使用百度语音合成,请在代码中修改合成文本欢迎使用百度语音合成,请在代码中修改合成文本欢迎使用百度语音合成,请在代码中修改合成文本欢迎使用百度语音合成,请在代码中修改合成文本欢迎使用百度语音合成,请在代码中修改合成文本";
 
          再次运行,就会出错。 系统只会读出部分语句,就超时报错,停止语音合成了。注意:此问题只发生在WIFI环境下,联通3G 4G网络下,无此问题
 
          关键错误日志:
05-05 23:37:07.489 12681-12899/com.baidu.tts.sample E/MessageListener: 错误发生: (-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0
05-05 23:37:07.489 12681-12899/com.baidu.tts.sample I/UiMessageListener: 错误发生:(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0
05-05 23:37:07.489 12681-12681/com.baidu.tts.sample I/MiniActivity: 错误发生:(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0
          全量错误日志:
 
          05-05 23:37:01.489 12681-12931/com.baidu.tts.sample D/bdtts-OnlineSynthesizer: timeout=6000
05-05 23:37:01.489 12681-12931/com.baidu.tts.sample W/AsyncHttpRH: Current thread has not called Looper.prepare(). Forcing synchronous mode.
05-05 23:37:01.489 12681-12931/com.baidu.tts.sample D/bdtts-OnlineSynthesizer: before post
05-05 23:37:01.489 12681-12931/com.baidu.tts.sample I/System: core_booster, getBoosterConfig = false
05-05 23:37:01.489 12681-12931/com.baidu.tts.sample I/System.out: [socket][3] connection /202.108.23.94:443;LocalPort=43194(6000)
05-05 23:37:01.489 12681-12931/com.baidu.tts.sample I/System.out: [CDS]connect[/202.108.23.94:443] tm:6
05-05 23:37:01.499 12681-12931/com.baidu.tts.sample I/System.out: [socket][/192.168.0.107:43194] connected
05-05 23:37:01.499 12681-12931/com.baidu.tts.sample I/System.out: [CDS]rx timeout:6000
05-05 23:37:01.499 12681-12931/com.baidu.tts.sample I/System: core_booster, getBoosterConfig = false
05-05 23:37:01.549 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:01.549 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:01.549 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:01.549 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:01.549 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:01.549 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=12800--mCurrentAllUtteranceLenght=12800--percent=1.0
05-05 23:37:01.549 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=1--progress=1
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:01.609 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:01.729 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:01.729 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:01.729 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:01.729 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:01.729 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:01.729 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=19200--mCurrentAllUtteranceLenght=19200--percent=1.0
05-05 23:37:01.729 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=2--progress=2
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:01.849 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:01.909 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:01.909 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:01.909 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:01.909 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:01.909 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:01.909 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=25600--mCurrentAllUtteranceLenght=25600--percent=1.0
05-05 23:37:01.909 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=3--progress=3
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.029 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.149 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.149 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.149 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.149 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.149 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.149 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=32000--mCurrentAllUtteranceLenght=32000--percent=1.0
05-05 23:37:02.149 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=4--progress=4
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.209 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.339 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.339 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.339 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.339 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.339 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.339 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=38400--mCurrentAllUtteranceLenght=38400--percent=1.0
05-05 23:37:02.339 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=5--progress=5
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.459 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.509 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.509 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.509 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.509 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.509 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.509 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=44800--mCurrentAllUtteranceLenght=44800--percent=1.0
05-05 23:37:02.509 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=5--progress=5
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.639 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.749 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.749 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.749 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.749 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.749 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.749 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=51200--mCurrentAllUtteranceLenght=51200--percent=1.0
05-05 23:37:02.749 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=6--progress=6
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.819 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:02.929 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:02.929 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:02.929 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:02.929 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:02.929 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:02.929 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=57600--mCurrentAllUtteranceLenght=57600--percent=1.0
05-05 23:37:02.929 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=7--progress=7
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.049 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.109 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.109 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.109 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.109 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.109 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.109 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=64000--mCurrentAllUtteranceLenght=64000--percent=1.0
05-05 23:37:03.109 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=8--progress=8
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.229 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.349 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.349 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.349 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.349 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.349 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.349 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=70400--mCurrentAllUtteranceLenght=70400--percent=1.0
05-05 23:37:03.349 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=9--progress=9
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.409 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.529 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.529 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.529 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.529 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.539 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.539 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=76800--mCurrentAllUtteranceLenght=76800--percent=1.0
05-05 23:37:03.539 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=10--progress=10
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.659 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.709 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.709 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.709 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.709 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.709 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.709 12681-12900/com.baidu.tts.sample D/bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=83200--mCurrentAllUtteranceLenght=83200--percent=1.0
05-05 23:37:03.709 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: before write
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: percent=1.0--currentProgress=10--progress=10
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-AInterceptorHandler: afterResult=0
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: enter run
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: enter put
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-AudioTrackPlayer: end put
05-05 23:37:03.839 12681-12900/com.baidu.tts.sample D/bdtts-PlayQueueMachine: end run
05-05 23:37:07.489 12681-12899/com.baidu.tts.sample D/bdtts-OnlineSynthesizer: startOnceHttpRequest timeout
05-05 23:37:07.489 12681-12899/com.baidu.tts.sample V/AsyncHttpRH: Request got cancelled
05-05 23:37:07.489 12681-12899/com.baidu.tts.sample E/MessageListener: 错误发生:(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0
05-05 23:37:07.489 12681-12899/com.baidu.tts.sample I/UiMessageListener: 错误发生:(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0
05-05 23:37:07.489 12681-12681/com.baidu.tts.sample I/MiniActivity: 错误发生:(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0
05-05 23:37:07.489 12681-12931/com.baidu.tts.sample I/System.out: [CDS]close[43194]
05-05 23:37:07.489 12681-12931/com.baidu.tts.sample I/System.out: close [socket][/0.0.0.0:43194]
05-05 23:37:07.489 12681-12931/com.baidu.tts.sample D/bdtts-OnlineSynthesizer: after post
收藏
点赞
1
个赞
共12条回复 最后由用户已被禁言回复于2022-04
#13用户已被禁言回复于2019-03
#12 快乐人生1937回复
这个版本依旧有这个问题 com.baidu.tts_2.3.2.20180713_6101c2a.jar
展开

具体为什么问题?

0
#12快乐人生1937回复于2019-03

这个版本依旧有这个问题 com.baidu.tts_2.3.2.20180713_6101c2a.jar

0
#11fujiayi1984回复于2019-01

目前是网络请求超时,可以换下网络试下

0
#10ObEN_Developer回复于2019-01

这个问题还存在

0
#9hefeitest回复于2018-08

数据量也不大,不像是网络超时

0
#8fujiayi1984回复于2018-08
#7 东光晖阴回复
我下载的的官方sdk demo 2.3.4.20180419版本,离在线合成语音只使用在线,也会报这种错误: 错误发生:(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0
展开

这个是网络请求超时,

0
#7东光晖阴回复于2018-07

我下载的的官方sdk demo 2.3.4.20180419版本,离在线合成语音只使用在线,也会报这种错误:

错误发生:(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0

0
#6卡农LLLL回复于2018-06

我还没更新到新版本.

0
#5回首_时光消逝回复于2018-06

这问题 我现在还能遇到 ....难道是没有修复的吗

0
#4本地菜头2013回复于2018-05

有没有做智能语音的伙伴? 入我们的群交流下?

754563416

0
#3fujiayi1984回复于2018-05

新版本修正一系列错误。本周更新,麻烦重新测试下。再有问题可以QQ群中找“测试“

0
#2cysinlake回复于2018-05

补充说明一下:

3G 4G网络下, 也会发生这个问题,报错(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException],错误编码:-15,序列号:0

只是出错几率小。 首次运行90%几率会出错,第二次运行就正常不报错了

WIFI环境下,100%永远报错

--------------------------------------

我用于测试的手机为:三星note8 android 8.0

                                  和 华为pad FDR-A03L  android 5.1.1

0
TOP
切换版块