赞
踩
我使用的服务是:语音合成
调用的接口是:
SpeechSynthesizer
参数设置情况:包名和APPID APIkey Secret key 都检查了配置的是正确的
开发平台和机型:Android 5.1
SDK版本号:V2.0
代码或日志截图(上传截图能帮助您更快解决问题):
配置信息:
应用启动时候有个异常:
无法播报的日志:
/bdtts-OnlineSynthesizer(14836): startOnceHttpRequest timeout
03-11 13:19:28.520: I/System.out(14836): [CDS]close[36366]
03-11 13:19:28.520: V/AsyncHttpRH(14836): Request got cancelled
03-11 13:19:28.521: D/bdtts-MixSynthesizer(14836): online synthesize ttserror=(-15)online synthesize get was timeout[(cause)java.util.concurrent.TimeoutException]
03-11 13:19:28.523: I/System.out(14836): [socket][4:36366] exception
03-11 13:19:28.525: D/bdtts-OnlineSynthesizer(14836): after post
03-11 13:19:28.546: D/bdtts-AuthClient(14836): appCode=9377208
03-11 13:19:28.548: D/bdtts-AuthClient(14836): licenseFilePath=/data/data/com.inn.dmoinn/files/baidu_tts_license
03-11 13:19:28.550: D/bdtts-Memorizer(14836): + get f=java.util.concurrent.FutureTask@16573e90
03-11 13:19:28.550: D/bdtts-Memorizer(14836): - get f=java.util.concurrent.FutureTask@16573e90
03-11 13:19:28.551: D/bdtts-Memorizer(14836): arg invalid r=com.baidu.tts.auth.b$a@b95b389
03-11 13:19:28.552: D/bdtts-Memorizer(14836): + run f=java.util.concurrent.FutureTask@3b10b59b
03-11 13:19:28.552: D/bdtts-OfflineAuth(14836): + downloadLicense
03-11 13:19:28.558: D/OpenSSLLib(14836): OpensslErr:Module:13(114:155); file:external/openssl/crypto/asn1/asn1_lib.c ;Line:145;Function:ASN1_get_object
03-11 13:19:28.561: D/libc-netbsd(14836): [getaddrinfo]: hostname=upl.baidu.com; servname=(null); cache_mode=(null), netid=0; mark=0
03-11 13:19:28.561: D/libc-netbsd(14836): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=0; ai_family=0
03-11 13:19:28.585: D/NativeCrypto(14836): ssl=0x7fa5699380 NativeCrypto_SSL_interrupt
03-11 13:19:28.586: D/NativeCrypto(14836): sslNotify, appData=0x7fa57a0420 ret=1
03-11 13:19:28.586: D/NativeCrypto(14836): sslNotify, appData=0x7fa57a0420 ret=1
03-11 13:19:28.586: D/NativeCrypto(14836): ssl=0x7fa5699380 info_callback where=0x4008 ret=256
03-11 13:19:28.586: D/NativeCrypto(14836): ssl=0x7fa5699380 SSL3 alert write:W:CN warning close notify
03-11 13:19:28.586: D/NativeCrypto(14836): ssl=0x7fa5699380 info_callback ignored
03-11 13:19:28.586: I/System.out(14836): [CDS]close[37301]
03-11 13:19:28.586: D/NativeCrypto(14836): ssl=0x7fa5697400 NativeCrypto_SSL_interrupt
03-11 13:19:28.586: D/NativeCrypto(14836): sslNotify, appData=0x7fa579ffc0 ret=1
03-11 13:19:28.586: D/NativeCrypto(14836): sslNotify, appData=0x7fa579ffc0 ret=1
03-11 13:19:28.586: D/NativeCrypto(14836): ssl=0x7fa5697400 info_callback where=0x4008 ret=256
03-11 13:19:28.586: D/NativeCrypto(14836): ssl=0x7fa5697400 SSL3 alert write:W:CN warning close notify
03-11 13:19:28.586: D/NativeCrypto(14836): ssl=0x7fa5697400 info_callback ignored
03-11 13:19:28.587: I/System.out(14836): [CDS]close[43626]
03-11 13:19:28.587: D/NativeCrypto(14836): ssl=0x7fab603300 NativeCrypto_SSL_interrupt
03-11 13:19:28.587: D/NativeCrypto(14836): sslNotify, appData=0x7fa167c240 ret=1
03-11 13:19:28.587: D/NativeCrypto(14836): sslNotify, appData=0x7fa167c240 ret=1
03-11 13:19:28.587: D/NativeCrypto(14836): ssl=0x7fab603300 info_callback where=0x4008 ret=256
03-11 13:19:28.587: D/NativeCrypto(14836): ssl=0x7fab603300 SSL3 alert write:W:CN warning close notify
03-11 13:19:28.587: D/NativeCrypto(14836): ssl=0x7fab603300 info_callback ignored
03-11 13:19:28.587: I/System.out(14836): [CDS]close[48952]
03-11 13:19:28.598: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:29.091: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:29.595: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:30.101: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:30.591: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:31.096: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:31.601: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.098: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.504: D/FeatureProxyBase(14836): FeatureProxyBase class constructor
03-11 13:19:32.504: D/FeatureProxyBase(14836): getService(), serviceName = multiwindow_service_v1
03-11 13:19:32.523: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.538: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.555: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.572: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.573: V/SettingsInterface(14836): from settings cache , name = sound_effects_enabled , value = 0
03-11 13:19:32.574: D/bdtts-ArgsCheckInterceptor(14836): text=你好!欢迎使用T700
03-11 13:19:32.574: D/bdtts-StatisticsInterceptor(14836): statistics
03-11 13:19:32.574: D/bdtts-OfflineAuthNotificationInterceptor(14836): currentCount=3
03-11 13:19:32.574: D/bdtts-AInterceptorHandler(14836): afterResult=0
03-11 13:19:32.590: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.604: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.620: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.636: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.653: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.669: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.685: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.702: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.721: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.737: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.754: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.770: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.786: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.803: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.819: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.835: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.852: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.868: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.885: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.901: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.917: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.934: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:32.947: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:33.093: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:33.572: D/libc-netbsd(14836): getaddrinfo: upl.baidu.com NO result from proxy
03-11 13:19:33.599: D/Surface(14836): Surface::setBuffersDimensions(this=0x7fab60aa00,w=1080,h=1920)
03-11 13:19:33.671: D/OpenSSLLib(14836): OpensslErr:Module:13(114:155); file:external/openssl/crypto/asn1/asn1_lib.c ;Line:145;Function:ASN1_get_object
03-11 13:19:33.672: D/libc-netbsd(14836): [getaddrinfo]: hostname=upl.baidu.com; servname=(null); cache_mode=(null), netid=0; mark=0
03-11 13:19:33.672: D/libc-netbsd(14836): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=0; ai_family=0
03-11 13:19:33.679: D/libc-netbsd(14836): getaddrinfo: upl.baidu.com NO result from proxy
03-11 13:19:33.772: D/bdtts-OfflineAuth(14836): - downloadLicense ret = -5
03-11 13:19:33.772: D/bdtts-OfflineAuth(14836): this=com.baidu.tts.auth.b$a@3d0bd111--error=(-102)offline engine download license failure[(-5)appCode=9377208--licensePath=/data/data/com.inn.dmoinn/files/baidu_tts_license]
03-11 13:19:33.772: D/bdtts-Memorizer(14836): - run f=java.util.concurrent.FutureTask@3b10b59b
03-11 13:19:33.773: D/DMOApp(14836): onError arg0=0arg1=(-102)(-102)offline engine download license failure[(-5)appCode=9377208--licensePath=/data/data/com.inn.dmoinn/files/baidu_tts_license]
03-11 13:19:33.773: D/DMOApp(14836): onSynthesizeStart arg0=0
03-11 13:19:33.773: D/bdtts-PlayQueueMachine(14836): enter run
03-11 13:19:33.773: D/bdtts-AudioTrackPlayer(14836): enter pu
复现步骤、现象及其他描述:用移动数据卡连接网络后可以离线播报,但是用WIFI连接网络后无法离线播报
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。