跳过导航链接
A B C D E F G H I J L M N O P R S T U V W 

A

after() - 类 中的方法com.tencent.asr.service.HttpStreamService
请求后置方法
after() - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
请求后置方法
after() - 接口 中的方法com.tencent.core.service.TCall
已过时。
appId - 类 中的变量com.tencent.core.model.TConfig
用户在腾讯云注册账号的 AppId,可以进入 API 密钥管理页面 获取。
AppInfo() - 类 的构造器com.tencent.asr.model.AsrLogInfo.AppInfo
 
AppInfo() - 类 的构造器com.tencent.core.model.ReportInfo.AppInfo
 
appVerCode - 类 中的静态变量com.tencent.core.model.GlobalConfig
 
appVerName - 类 中的静态变量com.tencent.core.model.GlobalConfig
 
asrAsyncHttp(String, String, String, String, AsrRequestContent, FutureCallback<HttpResponse>) - 类 中的方法com.tencent.asr.service.HttpClientService
ASR 异步http请求
AsrClient - com.tencent.asr.service中的类
Asr客户端
AsrClient(AsrConfig, ThreadPoolExecutor) - 类 的构造器com.tencent.asr.service.AsrClient
构造方法
AsrConfig - com.tencent.asr.model中的类
全局配置
AsrConfig(String, String, String, Long, String, String, String, String, String) - 类 的构造器com.tencent.asr.model.AsrConfig
 
asrConfig - 类 中的变量com.tencent.asr.service.HttpBaseService
全局配置
asrConfig - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
全局配置
AsrConstant - com.tencent.asr.constant中的类
 
AsrConstant() - 类 的构造器com.tencent.asr.constant.AsrConstant
 
AsrConstant.Code - com.tencent.asr.constant中的枚举
 
AsrConstant.DataType - com.tencent.asr.constant中的枚举
请求类型
AsrConstant.HttpFrame - com.tencent.asr.constant中的枚举
已过时。
AsrConstant.RequestWay - com.tencent.asr.constant中的枚举
语音识别的方式 http:采用http协议进行语音识别 websocket:采用ws协议实现语音识别
AsrConstant.ResponseEncode - com.tencent.asr.constant中的枚举
返回值数据的编码
AsrConstant.ReturnType - com.tencent.asr.constant中的枚举
返回类型:实时返回或者尾包返回
AsrConstant.VoiceFormat - com.tencent.asr.constant中的枚举
声音类型 mp3仅仅16k_0模型支持,其它的则都能支持。
AsrLogInfo - com.tencent.asr.model中的类
 
AsrLogInfo() - 类 的构造器com.tencent.asr.model.AsrLogInfo
 
AsrLogInfo.AppInfo - com.tencent.asr.model中的类
 
AsrLogInfo.Log - com.tencent.asr.model中的类
 
AsrRequest - com.tencent.asr.model中的类
 
AsrRequest() - 类 的构造器com.tencent.asr.model.AsrRequest
 
asrRequest - 类 中的变量com.tencent.asr.service.HttpBaseService
请求参数
asrRequest - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
请求参数
AsrRequestContent - com.tencent.asr.model中的类
 
AsrRequestContent() - 类 的构造器com.tencent.asr.model.AsrRequestContent
 
asrRequestContent - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
请求内容
AsrResponse - com.tencent.asr.model中的类
 
AsrResponse(int, String, String, int) - 类 的构造器com.tencent.asr.model.AsrResponse
 
AsrResponse(AsrConstant.Code, String, int) - 类 的构造器com.tencent.asr.model.AsrResponse
 
AsrUtils - com.tencent.asr.utils中的类
 
AsrUtils() - 类 的构造器com.tencent.asr.utils.AsrUtils
 
asrWebSocket(String, String, String, WebSocketListener) - 类 中的方法com.tencent.asr.service.WsClientService
 

B

base64_hmac_sha1(String, String) - 类 中的静态方法com.tencent.core.utils.SignBuilder
使用HMAC-SHA1算法对拼接字符串签名,并将生成的签名串 使用Base64进行编码,返回编码结果。
BaseEventListener<T> - com.tencent.core.handler中的类
 
BaseEventListener() - 类 的构造器com.tencent.core.handler.BaseEventListener
 
baseEventListeners - 类 中的变量com.tencent.asr.service.HttpBaseService
回调监听器
beginTraction(String) - 类 中的方法com.tencent.asr.service.TractionManager
 
BytesReader - com.tencent.tts.utils中的类
 
BytesReader() - 类 的构造器com.tencent.tts.utils.BytesReader
 
bytesToHexStringWithSpace(byte[]) - 类 中的静态方法com.tencent.tts.utils.TempUtils
 
ByteUtils - com.tencent.core.utils中的类
 
ByteUtils() - 类 的构造器com.tencent.core.utils.ByteUtils
 

C

cacheStatus - 类 中的变量com.tencent.asr.service.HttpBaseService
缓存状态
cancel() - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
 
client - 类 中的变量com.tencent.asr.service.WsClientService
 
close() - 类 中的方法com.tencent.asr.service.AsrClient
正常关闭请求线程池
close() - 接口 中的方法com.tencent.core.service.TClient
 
closeClient() - 类 中的方法com.tencent.asr.service.HttpBaseService
关闭httpClient
closeClient() - 类 中的方法com.tencent.asr.service.HttpClientService
 
closeThreadPool(ThreadPoolExecutor) - 类 中的静态方法com.tencent.core.utils.Tutils
关闭线程池
com.tencent - 程序包 com.tencent
 
com.tencent.asr.constant - 程序包 com.tencent.asr.constant
 
com.tencent.asr.model - 程序包 com.tencent.asr.model
 
com.tencent.asr.service - 程序包 com.tencent.asr.service
 
com.tencent.asr.utils - 程序包 com.tencent.asr.utils
 
com.tencent.core.handler - 程序包 com.tencent.core.handler
 
com.tencent.core.help - 程序包 com.tencent.core.help
 
com.tencent.core.intercept - 程序包 com.tencent.core.intercept
 
com.tencent.core.model - 程序包 com.tencent.core.model
 
com.tencent.core.service - 程序包 com.tencent.core.service
 
com.tencent.core.utils - 程序包 com.tencent.core.utils
 
com.tencent.tts.model - 程序包 com.tencent.tts.model
 
com.tencent.tts.service - 程序包 com.tencent.tts.service
 
com.tencent.tts.utils - 程序包 com.tencent.tts.utils
 
concat(byte[], byte[]) - 类 中的静态方法com.tencent.core.utils.ByteUtils
合并两个byte[]
connectionRequestTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
连接池获取连接超时时间
connectNum - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
连接数
connectTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
连接超时时间
convert2Wav(String, String, int, int, int) - 类 中的静态方法com.tencent.tts.utils.PcmUtils
PCM文件转WAV文件
convert2Wav(File, File, int, int, int) - 类 中的静态方法com.tencent.tts.utils.PcmUtils
PCM文件转WAV文件
convertGoByte2Int(byte[]) - 类 中的静态方法com.tencent.tts.utils.OpusUtils
这里需要注意golang的byte是uint8 java是int8 不能使用BytesReader的toInt方法转换
convertNumMode - 类 中的变量com.tencent.asr.model.AsrRequest
是否进行阿拉伯数字智能转换。
convertNumMode - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
是否进行阿拉伯数字智能转换。
copy(byte[]) - 类 中的静态方法com.tencent.core.utils.ByteUtils
 
createBytes(byte[], int) - 类 中的方法com.tencent.asr.service.HttpBaseService
处理语音数据
createGetSign(String, String, TRequest) - 类 中的静态方法com.tencent.core.utils.SignBuilder
对Get请求创建签名。
createLogStatistics() - 类 中的静态方法com.tencent.core.model.LogStatistics
 
createPostSign(String, String, TRequest) - 类 中的静态方法com.tencent.core.utils.SignBuilder
对Post请求创建签名。
createSign(String, String, String, TRequest) - 类 中的静态方法com.tencent.core.utils.SignBuilder
对Get请求创建签名。
createSignAndUrlEncode(String, String, String, AsrRequest) - 类 中的静态方法com.tencent.core.utils.SignBuilder
出现鉴权失败时,可尝试调用本方法,创建签名并做一次URL encode操作。
createUrl(Map<String, Object>) - 类 中的静态方法com.tencent.core.help.SignHelper
 
Credential - com.tencent.asr.model中的类
 
Credential() - 类 的构造器com.tencent.asr.model.Credential
 
cutLength - 类 中的变量com.tencent.asr.model.AsrRequest
语音切片字节长度,如果是8k引擎则长度区间为0-3200*5 如果16K引擎则长度区间为0-6400*5.如果超出区间则设置默认值,8k对应默认值为3200, 16k对应默认值为6400。

D

dealHttpClientResponse(HttpResponse, String) - 类 中的方法com.tencent.asr.service.HttpClientService
处理httpClient请求结果
defaultMaxPerRoute - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 
dispatcherRequest(byte[], Boolean) - 类 中的方法com.tencent.asr.service.HttpBaseService
请求分发
doReportError(String, String, String, String, Object) - 类 中的静态方法com.tencent.core.service.ReportService
错误上报

E

end() - 类 中的方法com.tencent.asr.service.HttpStreamService
 
end() - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
兼容1.0.0版本
end() - 接口 中的方法com.tencent.core.service.TCall
1.0.4版本后不再使用该方法,替换为stop方法
endFlag - 类 中的变量com.tencent.asr.service.HttpBaseService
结束标志
endFlag - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
结束标志
endTraction(String) - 类 中的方法com.tencent.asr.service.TractionManager
 
engineModelType - 类 中的变量com.tencent.asr.model.AsrRequest
引擎模型类型。
engineType - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
引擎模型类型。
error(String) - 类 中的方法com.tencent.core.service.SdkLogInterceptor
error
execute(InputStream) - 类 中的方法com.tencent.asr.service.HttpStreamService
 
execute(byte[]) - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
兼容1.0.0版本
execute(T) - 接口 中的方法com.tencent.core.service.TCall
1.0.4版本后不再使用该方法,替换为write方法
expired - 类 中的变量com.tencent.asr.model.AsrRequest
签名的有效期,是一个符合 UNIX Epoch 时间戳规范的数值,单位为秒;Expired 必须大于 Timestamp 且 Expired - Timestamp 小于90天。
expireTime - 类 中的变量com.tencent.asr.service.HttpBaseService
过期时间,用于判断请求间隔是否超时
extendsParam - 类 中的变量com.tencent.asr.model.AsrRequest
扩展字段
extendsParam - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
扩展字段

F

fail(T, Exception) - 类 中的方法com.tencent.core.handler.BaseEventListener
失败
fill(InputStream, byte[]) - 类 中的静态方法com.tencent.tts.utils.Ttsutils
填充数据
filterDirty - 类 中的变量com.tencent.asr.model.AsrRequest
是否过滤脏词(目前支持中文普通话引擎)。
filterDirty - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
是否过滤脏词(目前支持中文普通话引擎)。
filterModal - 类 中的变量com.tencent.asr.model.AsrRequest
是否过滤语气词(目前支持中文普通话引擎)。
filterModal - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
是否过滤语气词(目前支持中文普通话引擎)。
filterPunc - 类 中的变量com.tencent.asr.model.AsrRequest
是否过滤句末的句号(目前支持中文普通话引擎)。
filterPunc - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
是否过滤句末的句号(目前支持中文普通话引擎)。
filterRepeatError(TConfig, String, Object, Object, String, String, long) - 类 中的静态方法com.tencent.core.service.ReportService
过滤重复的错误,避免请求过多
filterRepeatError(TConfig, String, Object, Object, String, String) - 类 中的静态方法com.tencent.core.service.ReportService
 
finishFlag - 类 中的变量com.tencent.asr.service.HttpBaseService
 
flashConnectionRequestTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 
flashConnectTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 
FlashRecognitionRequest - com.tencent.asr.model中的类
 
FlashRecognitionRequest() - 类 的构造器com.tencent.asr.model.FlashRecognitionRequest
 
FlashRecognitionResponse - com.tencent.asr.model中的类
 
FlashRecognitionResponse() - 类 的构造器com.tencent.asr.model.FlashRecognitionResponse
 
FlashRecognitionResponse.FlashRecognitionResult - com.tencent.asr.model中的类
 
FlashRecognitionResponse.FlashRecognitionSentence - com.tencent.asr.model中的类
 
FlashRecognitionResponse.FlashWordData - com.tencent.asr.model中的类
 
FlashRecognitionResult() - 类 的构造器com.tencent.asr.model.FlashRecognitionResponse.FlashRecognitionResult
 
FlashRecognitionSentence() - 类 的构造器com.tencent.asr.model.FlashRecognitionResponse.FlashRecognitionSentence
 
FlashRecognizer - com.tencent.asr.service中的类
 
FlashRecognizer(AsrConfig) - 类 的构造器com.tencent.asr.service.FlashRecognizer
 
flashSocketTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 
FlashWordData() - 类 的构造器com.tencent.asr.model.FlashRecognitionResponse.FlashWordData
 
fromJson(String, Class<T>) - 类 中的静态方法com.tencent.core.utils.JsonUtil
将JSON转为POJO

G

getAppInfo(String, String) - 类 中的静态方法com.tencent.core.model.ReportInfo
 
getAsrStatistics() - 类 中的静态方法com.tencent.core.service.StatService
 
getAuthenticator() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getCode() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.Code
 
getCode() - 异常错误 中的方法com.tencent.asr.service.SdkRunException
 
getCodeByCode(int) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.Code
 
getExecutorService() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getFormatId() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.VoiceFormat
 
getFormatIdByName(String) - 枚举 中的方法com.tencent.asr.constant.AsrConstant.VoiceFormat
 
getFormatName() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.VoiceFormat
 
getFormatNameById(int) - 枚举 中的方法com.tencent.asr.constant.AsrConstant.VoiceFormat
 
getId() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.ResponseEncode
 
getInstance() - 类 中的静态方法com.tencent.asr.service.HttpClientService
 
getMessage() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.Code
 
getMessage() - 异常错误 中的方法com.tencent.asr.service.SdkRunException
 
getName() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.ResponseEncode
 
getNowData() - 类 中的静态方法com.tencent.core.utils.Tutils
 
getProxyHost() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getProxyPort() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getProxySelector() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getSdk() - 类 中的静态方法com.tencent.core.model.GlobalConfig
 
getSdkVer() - 类 中的静态方法com.tencent.core.model.GlobalConfig
 
getStackTrace(Throwable) - 类 中的静态方法com.tencent.core.utils.Tutils
获取异常的堆栈信息
getStackTraceAsString(Exception) - 类 中的静态方法com.tencent.core.utils.Tutils
 
getType() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.DataType
 
getTypeId() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.ReturnType
 
getUint8(short) - 类 中的静态方法com.tencent.tts.utils.OpusUtils
 
getUseProxy() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getVoiceId(Long) - 类 中的静态方法com.tencent.asr.utils.AsrUtils
 
getWsConnectTimeOut() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getWsKeepAliveDuration() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getWsMaxIdleConnections() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getWsMaxRequests() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getWsMaxRequestsPerHost() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getWsReadTimeOut() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
getWsWriteTimeOut() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
GlobalConfig - com.tencent.core.model中的类
 
GlobalConfig() - 类 的构造器com.tencent.core.model.GlobalConfig
 

H

heartbeat() - 类 中的静态方法com.tencent.core.service.StatService
心跳保证定时上报,如果没有心跳则停止上报
HostProxy - 类 中的静态变量com.tencent.tts.model.SpeechSynthesisSysConfig
代理
hotWordId - 类 中的变量com.tencent.asr.model.AsrRequest
热词 id。
hotWordId - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
热词 id。
HttpBaseService - com.tencent.asr.service中的类
 
HttpBaseService(String, AsrConfig, AsrRequest, RealTimeEventListener, BaseEventListener<AsrResponse>) - 类 的构造器com.tencent.asr.service.HttpBaseService
HttpBaseService
HttpBaseService(String, AsrConfig, AsrRequest, SpeechRecognitionListener) - 类 的构造器com.tencent.asr.service.HttpBaseService
 
httpclient - 类 中的静态变量com.tencent.tts.model.SpeechSynthesisSysConfig
 
httpClientService - 类 中的变量com.tencent.asr.service.HttpBaseService
httpClient service
HttpClientService - com.tencent.asr.service中的类
HttpClientService
HttpClientService() - 类 的构造器com.tencent.asr.service.HttpClientService
HttpClientService
httpFrame - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
已过时。
HttpHelper - com.tencent.core.help中的类
 
HttpHelper() - 类 的构造器com.tencent.core.help.HttpHelper
 
httpHostProxy - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
flash http代理相关
HttpStreamService - com.tencent.asr.service中的类
 
HttpStreamService(String, AsrConfig, AsrRequest, RealTimeEventListener, ExecutorService, BaseEventListener<AsrResponse>) - 类 的构造器com.tencent.asr.service.HttpStreamService
 
httpUseProxy - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 

I

ifCancel() - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
 
ifInBreakCode(int) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.Code
 
ifInRetryCode(int) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.Code
 
ifLog - 类 中的静态变量com.tencent.core.model.GlobalConfig
是否打印日志
ifLogMessage(String, String, Boolean) - 类 中的静态方法com.tencent.core.service.ReportService
打印日志
ifOpenReportError - 类 中的静态变量com.tencent.core.model.GlobalConfig
是否上报错误
ifOpenStat - 类 中的静态变量com.tencent.core.model.GlobalConfig
是否上报请求
ifSpeechClient - 类 中的静态变量com.tencent.core.model.GlobalConfig
默认
ifSyncHttp - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
是否同步方式
info(String) - 类 中的方法com.tencent.core.service.SdkLogInterceptor
info
init() - 类 中的静态方法com.tencent.asr.model.AsrRequest
对参数进行默认初始化
init() - 类 中的静态方法com.tencent.asr.model.SpeechWebsocketConfig
 
initClient() - 类 中的方法com.tencent.tts.service.SpeechSynthesizer
 
initialize() - 类 中的静态方法com.tencent.asr.model.FlashRecognitionRequest
初始化
initialize() - 类 中的静态方法com.tencent.asr.model.SpeechRecognitionRequest
初始化
initialize() - 类 中的静态方法com.tencent.tts.model.SpeechSynthesisRequest
对参数进行默认初始化
inputStream2ByteArray(String) - 类 中的静态方法com.tencent.core.utils.ByteUtils
 
inputStream2ByteArray(File) - 类 中的静态方法com.tencent.core.utils.ByteUtils
 
intercept(Interceptor.Chain) - 类 中的方法com.tencent.core.intercept.NetInterceptor
 
intercept(Interceptor.Chain) - 类 中的方法com.tencent.core.intercept.RetryInteceptors
 
interestOpQueued - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 
isConnect - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
是否连接

J

JsonUtil - com.tencent.core.utils中的类
 
JsonUtil() - 类 的构造器com.tencent.core.utils.JsonUtil
 

L

LineSplitUtils - com.tencent.tts.utils中的类
 
LineSplitUtils() - 类 的构造器com.tencent.tts.utils.LineSplitUtils
 
listener - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
用户实时结果监听器
Log() - 类 的构造器com.tencent.asr.model.AsrLogInfo.Log
 
Log() - 类 的构造器com.tencent.core.model.ReportInfo.Log
 
LogStatistics - com.tencent.core.model中的类
 
LogStatistics() - 类 的构造器com.tencent.core.model.LogStatistics
 

M

maxDealResultThreadNum - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
已过时。
maxRequests - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
IOThread
MaxTotal - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 

N

needVad - 类 中的变量com.tencent.asr.model.AsrRequest
0:关闭 vad,1:开启 vad。
NetInterceptor - com.tencent.core.intercept中的类
 
NetInterceptor() - 类 的构造器com.tencent.core.intercept.NetInterceptor
 
newCall(String, AsrRequest, BaseEventListener<AsrResponse>, RealTimeEventListener, AsrConstant.DataType) - 类 中的方法com.tencent.asr.service.AsrClient
创建请求
newCall(String, AsrRequest, RealTimeEventListener, AsrConstant.DataType) - 类 中的方法com.tencent.asr.service.AsrClient
创建请求
newFlashRecognizer(String, Credential) - 类 中的静态方法com.tencent.SpeechClient
newSpeechFlashRecognizer
newInstance(AsrConfig) - 类 中的静态方法com.tencent.asr.service.AsrClient
实例化方法
newInstance(AsrConfig, ThreadPoolExecutor) - 类 中的静态方法com.tencent.asr.service.AsrClient
实例化Client
newInstance(String, String, String) - 类 中的静态方法com.tencent.SpeechClient
创建实例
newInstance(String, String, String, String) - 类 中的静态方法com.tencent.SpeechClient
创建实例
newInstance(String, String, String, String, SpeechWebsocketConfig) - 类 中的静态方法com.tencent.SpeechClient
创建ws实例
newSpeechRecognizer(SpeechRecognitionRequest, SpeechRecognitionListener) - 类 中的方法com.tencent.SpeechClient
创建SpeechRecognizer,默认使用websocket
newSpeechSynthesizer(SpeechSynthesisRequest, SpeechSynthesisListener) - 类 中的方法com.tencent.SpeechClient
创建SpeechSynthesizer
newWsSpeechRecognizer(SpeechRecognitionRequest, SpeechRecognitionListener) - 类 中的方法com.tencent.SpeechClient
创建SpeechRecognizer,websocket
nonce - 类 中的变量com.tencent.asr.model.AsrRequest
随机正整数。

O

onComplete(SpeechSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
 
onFail(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
错误回调
onFail(SpeechSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
 
onMessage(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
响应结果(包含稳态和非稳态)
onMessage(byte[]) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
 
onRecognitionComplete(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
识别结束
onRecognitionResultChange(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
识别结果
onRecognitionStart(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
识别开始
onSentenceBegin(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
一句话开始
onSentenceEnd(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
一句话识别结束
OpusUtils - com.tencent.tts.utils中的类
 
OpusUtils() - 类 的构造器com.tencent.tts.utils.OpusUtils
 

P

pcm2Wav(byte[], byte[], int, int, int) - 类 中的静态方法com.tencent.tts.utils.PcmUtils
PCM转WAV字节数组
Pcm2WavBytes(byte[], byte[], int, int, int) - 类 中的静态方法com.tencent.tts.utils.PcmUtils
PCM转WAV字节数组
PcmUtils - com.tencent.tts.utils中的类
本类内容来自:https://blog.csdn.net/hesong1120/article/details/79043482 感谢作者和网站。
PcmUtils() - 类 的构造器com.tencent.tts.utils.PcmUtils
 
printAndSaveResponse(int, byte[], String) - 类 中的静态方法com.tencent.tts.utils.Ttsutils
printAndSaveResponse
projectId - 类 中的变量com.tencent.asr.model.AsrRequest
腾讯云项目 ID,语音识别目前不区分项目,所以填0即可。

R

read(InputStream, CloseableHttpResponse) - 类 中的方法com.tencent.tts.service.SpeechSynthesizer
 
read(InputStream, byte[]) - 类 中的静态方法com.tencent.tts.utils.OpusUtils
读取数据
readChunkData(InputStream) - 类 中的静态方法com.tencent.tts.service.SpeechSynthesizer
 
readOpusSheet(byte[]) - 类 中的静态方法com.tencent.tts.utils.OpusUtils
解析opus
readStream(InputStream, CloseableHttpResponse) - 类 中的方法com.tencent.tts.service.SpeechSynthesizer
读取chunked数据 pcm
realTimeEventListener - 类 中的变量com.tencent.asr.service.HttpBaseService
用户实时结果监听器
RealTimeEventListener<T,M> - com.tencent.core.handler中的接口
 
recognize(FlashRecognitionRequest, byte[]) - 类 中的方法com.tencent.asr.service.FlashRecognizer
写入数据
reConnectMaxNum - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
最大重连次数
region - 类 中的静态变量com.tencent.core.model.GlobalConfig
 
report(Boolean, String, TConfig, String, Object, Object, String, String) - 类 中的静态方法com.tencent.core.service.ReportService
 
report(Boolean, String, TConfig, String, Object, Object, String, String, long) - 类 中的静态方法com.tencent.core.service.ReportService
 
reportError(TConfig, String, Object, Object, String, String, long) - 类 中的静态方法com.tencent.core.service.ReportService
上报错误
ReportInfo - com.tencent.core.model中的类
 
ReportInfo() - 类 的构造器com.tencent.core.model.ReportInfo
 
ReportInfo.AppInfo - com.tencent.core.model中的类
 
ReportInfo.Log - com.tencent.core.model中的类
 
ReportService - com.tencent.core.service中的类
 
ReportService() - 类 的构造器com.tencent.core.service.ReportService
 
requestStamps - 类 中的变量com.tencent.asr.service.HttpBaseService
记录请求的stamp
requestWay - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
默认使用websocket
resetLogStatistics(LogStatistics) - 类 中的静态方法com.tencent.core.model.LogStatistics
 
responsePcm2Wav(int, byte[], String) - 类 中的静态方法com.tencent.tts.utils.Ttsutils
pcm文件转wav
resType - 类 中的变量com.tencent.asr.model.AsrRequest
结果返回方式。
result - 类 中的变量com.tencent.asr.service.HttpBaseService
响应结果
resultQueue - 类 中的变量com.tencent.asr.service.HttpBaseService
结果缓冲队列
resultTextFormat - 类 中的变量com.tencent.asr.model.AsrRequest
识别结果文本编码方式。
RetryInteceptors - com.tencent.core.intercept中的类
 
RetryInteceptors() - 类 的构造器com.tencent.core.intercept.RetryInteceptors
 
retryRequestNum - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
重试次数

S

saveResponseToFile(byte[], String) - 类 中的静态方法com.tencent.tts.utils.Ttsutils
保存数据到file
sdkLogInterceptor - 类 中的静态变量com.tencent.core.model.GlobalConfig
日志拦截器
SdkLogInterceptor - com.tencent.core.service中的类
SdkLogInterceptor 拦截器
SdkLogInterceptor() - 类 的构造器com.tencent.core.service.SdkLogInterceptor
 
SdkRunException - com.tencent.asr.service中的异常错误
SdkRunException
SdkRunException(AsrConstant.Code) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
 
SdkRunException(int, String) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
 
SdkRunException(String, int, String) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
 
SdkRunException(String, Throwable, int, String) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
 
SdkRunException(Throwable, int, String) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
 
SdkRunException(String, Throwable, boolean, boolean, int, String) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
 
secretId - 类 中的变量com.tencent.core.model.TConfig
用户在腾讯云注册账号 AppId 对应的 SecretId,可以进入 API 密钥管理页面 获取。
secretKey - 类 中的变量com.tencent.core.model.TConfig
secretKey
send(byte[], boolean) - 类 中的方法com.tencent.asr.service.HttpBaseService
发送数据
sendData(byte[], Boolean) - 类 中的方法com.tencent.asr.service.HttpBaseService
添加数据到缓冲队列
SEPARATOR_CHARS - 类 中的静态变量com.tencent.tts.model.SpeechSynthesisSysConfig
对每行文字做分割时的关键字,遇到这里的字符肯定会切分开。
SEPARATOR_LENGTH_LIMIT - 类 中的静态变量com.tencent.tts.model.SpeechSynthesisSysConfig
每次发出请求时,最多携带的字符数。
setAuthenticator(Authenticator) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setCode(int) - 异常错误 中的方法com.tencent.asr.service.SdkRunException
 
setConfig(String, String, String, String) - 类 中的静态方法com.tencent.core.service.StatService
 
setExecutorService(ExecutorService) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setIfCancel(boolean) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
 
setMessage(String) - 异常错误 中的方法com.tencent.asr.service.SdkRunException
 
setProxyHost(String) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setProxyPort(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setProxySelector(ProxySelector) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setSpeechClientConfig(String, String, String, String) - 类 中的方法com.tencent.SpeechClient
 
setUseProxy(Boolean) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setWsConnectTimeOut(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setWsKeepAliveDuration(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setWsMaxIdleConnections(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setWsMaxRequests(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setWsMaxRequestsPerHost(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setWsReadTimeOut(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
setWsWriteTimeOut(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
 
SignBuilder - com.tencent.core.utils中的类
特定的签名构建工具类。
SignBuilder() - 类 的构造器com.tencent.core.utils.SignBuilder
 
SignHelper - com.tencent.core.help中的类
 
SignHelper() - 类 的构造器com.tencent.core.help.SignHelper
 
smartSplit(String) - 类 中的静态方法com.tencent.tts.utils.LineSplitUtils
比较智能地将一行较长的文字分隔成多个独立的句子,用于发送给远程服务器做识别。
socketTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
响应超时时间
source - 类 中的变量com.tencent.asr.model.AsrRequest
默认值为 0。
SpeechClient - com.tencent中的类
SpeechClient
SpeechHttpRecognizer - com.tencent.asr.service中的类
 
SpeechHttpRecognizer(String, AsrConfig, AsrRequest, SpeechRecognitionListener) - 类 的构造器com.tencent.asr.service.SpeechHttpRecognizer
 
SpeechHttpRecognizer(String, AsrConfig, AsrRequest, RealTimeEventListener, BaseEventListener<AsrResponse>) - 类 的构造器com.tencent.asr.service.SpeechHttpRecognizer
 
speechRecognitionListener - 类 中的变量com.tencent.asr.service.HttpBaseService
用户结果监听器
SpeechRecognitionListener - com.tencent.asr.service中的类
 
SpeechRecognitionListener() - 类 的构造器com.tencent.asr.service.SpeechRecognitionListener
 
SpeechRecognitionRequest - com.tencent.asr.model中的类
 
SpeechRecognitionRequest() - 类 的构造器com.tencent.asr.model.SpeechRecognitionRequest
 
SpeechRecognitionResponse - com.tencent.asr.model中的类
 
SpeechRecognitionResponse() - 类 的构造器com.tencent.asr.model.SpeechRecognitionResponse
 
SpeechRecognitionResponseResult - com.tencent.asr.model中的类
 
SpeechRecognitionResponseResult() - 类 的构造器com.tencent.asr.model.SpeechRecognitionResponseResult
 
SpeechRecognitionResponseResult.Word - com.tencent.asr.model中的类
 
speechRecognitionSignService - 类 中的变量com.tencent.asr.service.FlashRecognizer
签名service
speechRecognitionSignService - 类 中的变量com.tencent.asr.service.HttpBaseService
签名service
speechRecognitionSignService - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
签名service
SpeechRecognitionSysConfig - com.tencent.asr.model中的类
 
SpeechRecognitionSysConfig() - 类 的构造器com.tencent.asr.model.SpeechRecognitionSysConfig
 
SpeechRecognitionWsData - com.tencent.asr.model中的类
 
SpeechRecognitionWsData() - 类 的构造器com.tencent.asr.model.SpeechRecognitionWsData
 
SpeechRecognizer - com.tencent.asr.service中的接口
语音识别接口
SpeechSynthesisConfig - com.tencent.tts.model中的类
 
SpeechSynthesisConfig(Long, String, String, String, String, String, String) - 类 的构造器com.tencent.tts.model.SpeechSynthesisConfig
 
SpeechSynthesisListener - com.tencent.tts.service中的类
 
SpeechSynthesisListener() - 类 的构造器com.tencent.tts.service.SpeechSynthesisListener
 
SpeechSynthesisRequest - com.tencent.tts.model中的类
 
SpeechSynthesisRequest() - 类 的构造器com.tencent.tts.model.SpeechSynthesisRequest
 
SpeechSynthesisRequestContent - com.tencent.tts.model中的类
 
SpeechSynthesisRequestContent() - 类 的构造器com.tencent.tts.model.SpeechSynthesisRequestContent
 
SpeechSynthesisResponse - com.tencent.tts.model中的类
 
SpeechSynthesisResponse() - 类 的构造器com.tencent.tts.model.SpeechSynthesisResponse
 
SpeechSynthesisSysConfig - com.tencent.tts.model中的类
 
SpeechSynthesisSysConfig() - 类 的构造器com.tencent.tts.model.SpeechSynthesisSysConfig
 
SpeechSynthesizer - com.tencent.tts.service中的类
 
SpeechSynthesizer(SpeechSynthesisConfig, SpeechSynthesisRequest, SpeechSynthesisListener) - 类 的构造器com.tencent.tts.service.SpeechSynthesizer
初始化
SpeechWebsocketConfig - com.tencent.asr.model中的类
SpeechWebsocketConfig websocket 请求配置
SpeechWebsocketConfig() - 类 的构造器com.tencent.asr.model.SpeechWebsocketConfig
 
SpeechWsRecognizer - com.tencent.asr.service中的类
websocket asr
SpeechWsRecognizer(WsClientService, String, AsrConfig, SpeechRecognitionRequest, SpeechRecognitionListener) - 类 的构造器com.tencent.asr.service.SpeechWsRecognizer
初始化参数
staging - 类 中的变量com.tencent.asr.service.HttpBaseService
用于记录链路的seq streamId end
start() - 类 中的方法com.tencent.asr.service.AsrClient
开启错误上报和统计
start() - 类 中的方法com.tencent.asr.service.HttpStreamService
请求前置方法,开启线程监听请求结果
start() - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
请求前置方法,开启线程监听请求结果
start() - 接口 中的方法com.tencent.asr.service.SpeechRecognizer
 
start() - 类 中的方法com.tencent.asr.service.SpeechWsRecognizer
创建ws连接
start() - 接口 中的方法com.tencent.core.service.TClient
 
startFlag - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
开始标志
startListerResult() - 类 中的方法com.tencent.asr.service.HttpBaseService
获取返回结果,对结果进行排序
startReportStat() - 类 中的静态方法com.tencent.core.service.StatService
开始上报统计数据
statAsr(boolean, String, long) - 类 中的静态方法com.tencent.core.service.StatService
统计语音识别请求
StatItem - com.tencent.core.model中的类
 
StatItem() - 类 的构造器com.tencent.core.model.StatItem
 
StatService - com.tencent.core.service中的类
 
StatService() - 类 的构造器com.tencent.core.service.StatService
 
stop() - 类 中的方法com.tencent.asr.service.HttpStreamService
结束识别
stop() - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
结束识别
stop() - 接口 中的方法com.tencent.asr.service.SpeechRecognizer
 
stop() - 类 中的方法com.tencent.asr.service.SpeechWsRecognizer
结束关闭websocket连接
streamId - 类 中的变量com.tencent.asr.service.HttpBaseService
标示流的唯一主键
subBytes(byte[], int, int) - 类 中的静态方法com.tencent.core.utils.ByteUtils
返回一个byte[]中指定的一部分。
subServiceType - 类 中的变量com.tencent.asr.model.AsrRequest
子服务类型。
subToSmallBytes(byte[], int, int) - 类 中的静态方法com.tencent.core.utils.ByteUtils
subToSmallBytes
subToSmallBytes(File, int) - 类 中的静态方法com.tencent.core.utils.ByteUtils
使用流的方式将文件读取一遍,然后切分成小的数组返回,数组大小为一个固定的值。
subToSmallBytes(InputStream, int) - 类 中的静态方法com.tencent.core.utils.ByteUtils
切分成小的数组返回,数组大小为一个固定的值。
success(T) - 类 中的方法com.tencent.core.handler.BaseEventListener
成功
surplus - 类 中的变量com.tencent.asr.service.HttpBaseService
用于判断请求是否处理完毕
syncHttp(String, String, String, String, AsrRequestContent) - 类 中的方法com.tencent.asr.service.HttpClientService
同步请求
syncResponseQueue - 类 中的变量com.tencent.asr.service.HttpBaseService
处理同步结果
synthesis(String) - 类 中的方法com.tencent.tts.service.SpeechSynthesizer
执行tts请求
synthesisLongText(String) - 类 中的方法com.tencent.tts.service.SpeechSynthesizer
长文本合成

T

TCall<T> - com.tencent.core.service中的接口
 
TClient - com.tencent.core.service中的接口
 
TConfig - com.tencent.core.model中的类
 
TConfig() - 类 的构造器com.tencent.core.model.TConfig
 
TempUtils - com.tencent.tts.utils中的类
 
TempUtils() - 类 的构造器com.tencent.tts.utils.TempUtils
 
timeout - 类 中的变量com.tencent.asr.model.AsrRequest
设置超时时间,单位为毫秒。
timestamp - 类 中的变量com.tencent.asr.model.AsrRequest
当前 UNIX 时间戳,可记录发起 API 请求的时间。
timestamp - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
当前 UNIX 时间戳,可记录发起 API 请求的时间。
toInt(byte[]) - 类 中的静态方法com.tencent.tts.utils.BytesReader
得到对应的int类型数据。
toJson(T) - 类 中的静态方法com.tencent.core.utils.JsonUtil
将POJO转为JSON
token - 类 中的变量com.tencent.core.model.TConfig
token
toUnsignedInt(byte[]) - 类 中的静态方法com.tencent.tts.utils.BytesReader
获取一个unsigned 4-byte的整数,结果以long表示,取值范围为0~4294967295 如果参数为null或长度不为4则返回0.
tractionManager - 类 中的变量com.tencent.asr.service.HttpBaseService
事务管理器
TractionManager - com.tencent.asr.service中的类
事务管理
TractionManager(Long) - 类 的构造器com.tencent.asr.service.TractionManager
 
translation(T) - 接口 中的方法com.tencent.core.handler.RealTimeEventListener
 
TRequest - com.tencent.core.model中的类
 
TRequest() - 类 的构造器com.tencent.core.model.TRequest
 
TResponse - com.tencent.core.model中的类
 
TResponse() - 类 的构造器com.tencent.core.model.TResponse
 
Ttsutils - com.tencent.tts.utils中的类
 
Ttsutils() - 类 的构造器com.tencent.tts.utils.Ttsutils
 
Tutils - com.tencent.core.utils中的类
 
Tutils() - 类 的构造器com.tencent.core.utils.Tutils
 

U

unsignedValue(byte) - 类 中的静态方法com.tencent.tts.utils.TempUtils
 
UseProxy - 类 中的静态变量com.tencent.tts.model.SpeechSynthesisSysConfig
是否开启代理

V

vadSilenceTime - 类 中的变量com.tencent.asr.model.AsrRequest
语音断句检测阈值,静音时长超过该阈值会被认为断句(多用在智能客服场景,需配合 needvad=1 使用),取值范围150-2000,单位 ms,目前仅支持 8k_zh 引擎模型。
valueOf(String) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.Code
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.DataType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.HttpFrame
已过时。
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.RequestWay
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.ResponseEncode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.ReturnType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.VoiceFormat
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.Code
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.DataType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.HttpFrame
已过时。
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.RequestWay
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.ResponseEncode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.ReturnType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.VoiceFormat
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
verifyHeader(byte[]) - 类 中的静态方法com.tencent.tts.utils.OpusUtils
验证 opus header
voiceFormat - 类 中的变量com.tencent.asr.model.AsrRequest
语音编码方式,可选,默认值为 4。
voiceFormat - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
 

W

waitResultTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 
webSocket - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
websocket
Word() - 类 的构造器com.tencent.asr.model.SpeechRecognitionResponseResult.Word
 
wordInfo - 类 中的变量com.tencent.asr.model.AsrRequest
是否显示词级别时间戳。
wordInfo - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
是否显示词级别时间戳。
write(byte[]) - 类 中的方法com.tencent.asr.service.HttpStreamService
 
write(InputStream) - 类 中的方法com.tencent.asr.service.HttpStreamService
识别逻辑的处理方法
write(byte[]) - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
识别逻辑的处理方法
write(byte[]) - 接口 中的方法com.tencent.asr.service.SpeechRecognizer
 
write(byte[]) - 类 中的方法com.tencent.asr.service.SpeechWsRecognizer
语音识别发送音频数据
WsClientService - com.tencent.asr.service中的类
 
WsClientService(SpeechWebsocketConfig) - 类 的构造器com.tencent.asr.service.WsClientService
 
wsConnectTimeOut - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
wsConnectTimeOut
wsKeepAliveDuration - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
连接池中连接的最大时长 默认5分钟,依据业务场景来确定有效时间,如果不确定,那就保持5分钟
wsMaxIdleConnections - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
连接池大小,指单个okhttpclient实例所有连接的连接池。
wsMaxRequests - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
当前okhttpclient实例最大的并发请求数
wsMaxRequestsPerHost - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
单个主机最大请求并发数,这里的主机指被请求方主机,一般可以理解对调用方有限流作用。
wsReadTimeOut - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
wsReadTimeOut
wsStartMethodWait - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
创建wsclient 最大等待时间 默认5min
wsStopMethodWait - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
 
wsWriteTimeOut - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
wsWriteTimeOut
A B C D E F G H I J L M N O P R S T U V W 
跳过导航链接

Copyright © 2023. All rights reserved.