索引
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.service.HttpBaseService
-
全局配置
- asrConfig - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
-
全局配置
- AsrConfig - com.tencent.asr.model中的类
-
全局配置
- AsrConfig(String, String, String, Long, String, String, String, String, String) - 类 的构造器com.tencent.asr.model.AsrConfig
- 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.service.HttpBaseService
-
请求参数
- asrRequest - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
-
请求参数
- AsrRequest - com.tencent.asr.model中的类
- AsrRequest() - 类 的构造器com.tencent.asr.model.AsrRequest
- asrRequestContent - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
-
请求内容
- AsrRequestContent - com.tencent.asr.model中的类
- AsrRequestContent() - 类 的构造器com.tencent.asr.model.AsrRequestContent
- 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
- BIG5 - com.tencent.asr.constant.AsrConstant.ResponseEncode
- BYTE - com.tencent.asr.constant.AsrConstant.DataType
-
字节数组式处理
- 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
-
关闭线程池
- CODE_100 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10001 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10002 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10003 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10004 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10009 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10010 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10011 - com.tencent.asr.constant.AsrConstant.Code
- CODE_10012 - com.tencent.asr.constant.AsrConstant.Code
- CODE_101 - com.tencent.asr.constant.AsrConstant.Code
- CODE_102 - com.tencent.asr.constant.AsrConstant.Code
- CODE_103 - com.tencent.asr.constant.AsrConstant.Code
- CODE_104 - com.tencent.asr.constant.AsrConstant.Code
- CODE_105 - com.tencent.asr.constant.AsrConstant.Code
- CODE_106 - com.tencent.asr.constant.AsrConstant.Code
- CODE_107 - com.tencent.asr.constant.AsrConstant.Code
- CODE_108 - com.tencent.asr.constant.AsrConstant.Code
- CODE_109 - com.tencent.asr.constant.AsrConstant.Code
- CODE_110 - com.tencent.asr.constant.AsrConstant.Code
- CODE_111 - com.tencent.asr.constant.AsrConstant.Code
- CODE_112 - com.tencent.asr.constant.AsrConstant.Code
- CODE_113 - com.tencent.asr.constant.AsrConstant.Code
- CODE_114 - com.tencent.asr.constant.AsrConstant.Code
- CODE_115 - com.tencent.asr.constant.AsrConstant.Code
- CODE_116 - com.tencent.asr.constant.AsrConstant.Code
- CODE_117 - com.tencent.asr.constant.AsrConstant.Code
- CODE_118 - com.tencent.asr.constant.AsrConstant.Code
- CODE_119 - com.tencent.asr.constant.AsrConstant.Code
- CODE_120 - com.tencent.asr.constant.AsrConstant.Code
- CODE_121 - com.tencent.asr.constant.AsrConstant.Code
- CODE_122 - com.tencent.asr.constant.AsrConstant.Code
- CODE_123 - com.tencent.asr.constant.AsrConstant.Code
- CODE_124 - com.tencent.asr.constant.AsrConstant.Code
- CODE_125 - com.tencent.asr.constant.AsrConstant.Code
- CODE_126 - com.tencent.asr.constant.AsrConstant.Code
- CODE_127 - com.tencent.asr.constant.AsrConstant.Code
- 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(File, File, int, int, int) - 类 中的静态方法com.tencent.tts.utils.PcmUtils
-
PCM文件转WAV文件
- convert2Wav(String, String, 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
- errorFlag - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
- EXCEPTION - com.tencent.asr.constant.AsrConstant.Code
- execute(byte[]) - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
-
兼容1.0.0版本
- execute(InputStream) - 类 中的方法com.tencent.asr.service.HttpStreamService
- 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
-
扩展字段
- extendsParam - 类 中的变量com.tencent.asr.model.VirtualNumberRequest
-
扩展字段
F
- fail(T, Exception) - 类 中的方法com.tencent.core.handler.BaseEventListener
-
失败
- FAIL - com.tencent.asr.constant.AsrConstant.Code
- 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) - 类 中的静态方法com.tencent.core.service.ReportService
- filterRepeatError(TConfig, String, Object, Object, String, String, long) - 类 中的静态方法com.tencent.core.service.ReportService
-
过滤重复的错误,避免请求过多
- finishFlag - 类 中的变量com.tencent.asr.service.HttpBaseService
- firstFlag - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
- 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
- GB2312 - com.tencent.asr.constant.AsrConstant.ResponseEncode
- GBK - com.tencent.asr.constant.AsrConstant.ResponseEncode
- getAction() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getAppId() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getAppId() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getAppInfo(String, String) - 类 中的静态方法com.tencent.core.model.ReportInfo
- getAsrStatistics() - 类 中的静态方法com.tencent.core.service.StatService
- getAuthenticator() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- getBeginIndex() - 类 中的方法com.tencent.tts.model.Subtitle
- getBeginTime() - 类 中的方法com.tencent.tts.model.Subtitle
- getClient() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getClient() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getCloseWaitTime() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getCode() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.Code
- getCode() - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- getCode() - 异常错误 中的方法com.tencent.asr.service.SdkRunException
- getCode() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- getCodeByCode(int) - 枚举 中的静态方法com.tencent.asr.constant.AsrConstant.Code
- getCodec() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getConfig() - 类 中的静态方法com.tencent.asr.model.VirtualNumberServerConfig
- getConnectTimeOut() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getEmotionCategory() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getEmotionIntensity() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getEnableSubtitle() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getEndIndex() - 类 中的方法com.tencent.tts.model.Subtitle
- getEndTime() - 类 中的方法com.tencent.tts.model.Subtitle
- getExecutorService() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- getExtendsParam() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getExtendsParam() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getFinal() - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- getFinal() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- 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
- getHost() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getHost() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getHostSuffix() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getId() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.ResponseEncode
- getInstance() - 类 中的静态方法com.tencent.asr.model.VirtualNumberServerConfig
- getInstance() - 类 中的静态方法com.tencent.asr.service.HttpClientService
- getInstance() - 类 中的静态方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
-
getInstance
- getKeepAliveDuration() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getMaxIdlConnections() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getMaxRequests() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getMaxRequestsPerHost() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getMessage() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.Code
- getMessage() - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- getMessage() - 异常错误 中的方法com.tencent.asr.service.SdkRunException
- getMessage() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- getMessageId() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- getMessageID() - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- getModelType() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getName() - 枚举 中的方法com.tencent.asr.constant.AsrConstant.ResponseEncode
- getNowData() - 类 中的静态方法com.tencent.core.utils.Tutils
- getOnopenWaitTime() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getOnopenWaitTime() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getPath() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getPhoneme() - 类 中的方法com.tencent.tts.model.Subtitle
- getProto() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getProto() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getProxyHost() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- getProxyHost() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getProxyPort() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- getProxyPort() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getProxySelector() - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- getReadTimeOut() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getRequestId() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- getResult() - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- getResult() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- getRetryRequestNum() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getRetryRequestNum() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getSampleRate() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getSdk() - 类 中的静态方法com.tencent.core.model.GlobalConfig
- getSdkVer() - 类 中的静态方法com.tencent.core.model.GlobalConfig
- getSecretId() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getSecretId() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getSecretKey() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getSecretKey() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getSegmentRate() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getSessionId() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getSessionId() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- getSignPrefixUrl() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- getSignPrefixUrl() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- getSpeed() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getStackTrace(Throwable) - 类 中的静态方法com.tencent.core.utils.Tutils
-
获取异常的堆栈信息
- getStackTraceAsString(Exception) - 类 中的静态方法com.tencent.core.utils.Tutils
- getSubtitles() - 类 中的方法com.tencent.tts.model.Subtitles
- getText() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getText() - 类 中的方法com.tencent.tts.model.Subtitle
- getToken() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getToken() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- 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
- getVoiceFormat() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getVoiceId() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getVoiceId(Long) - 类 中的静态方法com.tencent.asr.utils.AsrUtils
- getVoiceID() - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- getVoiceType() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getVolume() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- getWaitTime() - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- getWriteTimeOut() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- 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。
- Http - com.tencent.asr.constant.AsrConstant.RequestWay
- HTTP_CLIENT - com.tencent.asr.constant.AsrConstant.HttpFrame
-
已过时。
- HttpBaseService - com.tencent.asr.service中的类
- HttpBaseService(String, AsrConfig, AsrRequest, SpeechRecognitionListener) - 类 的构造器com.tencent.asr.service.HttpBaseService
- HttpBaseService(String, AsrConfig, AsrRequest, RealTimeEventListener, BaseEventListener<AsrResponse>) - 类 的构造器com.tencent.asr.service.HttpBaseService
-
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
- Id - 类 中的变量com.tencent.asr.service.VirtualNumberRecognitionListener
- Id - 类 中的变量com.tencent.tts.service.SpeechWsSynthesisListener
- 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
-
initClient 初始化client
- initialize() - 类 中的静态方法com.tencent.asr.model.FlashRecognitionRequest
-
初始化
- initialize() - 类 中的静态方法com.tencent.asr.model.SpeechRecognitionRequest
-
初始化
- initialize() - 类 中的静态方法com.tencent.tts.model.SpeechSynthesisRequest
-
对参数进行默认初始化
- initOkHttp() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
-
initOkHttp
- initOkHttp() - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
-
初始化okhttpclient
- initSpeechWsSynthesisServerConfig() - 类 中的静态方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
-
初始化SpeechWsSynthesisServerConfig
- InitVirtualNumberServerConfig() - 类 中的静态方法com.tencent.asr.model.VirtualNumberServerConfig
-
保持全局唯一
- inputStream2ByteArray(File) - 类 中的静态方法com.tencent.core.utils.ByteUtils
- inputStream2ByteArray(String) - 类 中的静态方法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
- IO_EXCEPTION - com.tencent.asr.constant.AsrConstant.Code
- isUseProxy() - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
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
- mp3 - com.tencent.asr.constant.AsrConstant.VoiceFormat
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
- newSpeechWsRecognizer(Credential, WsClientService, SpeechRecognitionRequest, SpeechRecognitionListener) - 类 中的静态方法com.tencent.SpeechClient
-
asr websocket 支持自定义场景
- newSpeechWsSynthesizer(SpeechWsSynthesisServerConfig, SpeechWsSynthesisRequest, SpeechWsSynthesisListener) - 类 中的静态方法com.tencent.SpeechClient
-
newSpeechWsSynthesizer 初始化websocket
- newVirtualNumberRecognizer(VirtualNumberRequest, VirtualNumberRecognitionListener) - 类 中的静态方法com.tencent.SpeechClient
-
newVirtualNumberRecognizer
- newVirtualNumberRecognizer(VirtualNumberServerConfig, VirtualNumberRequest, VirtualNumberRecognitionListener) - 类 中的静态方法com.tencent.SpeechClient
- newWsSpeechRecognizer(SpeechRecognitionRequest, SpeechRecognitionListener) - 类 中的方法com.tencent.SpeechClient
-
创建SpeechRecognizer,websocket
- NO_SUCCESS - com.tencent.asr.constant.AsrConstant.Code
- nonce - 类 中的变量com.tencent.asr.model.AsrRequest
-
随机正整数。
O
- OK_HTTP - com.tencent.asr.constant.AsrConstant.HttpFrame
-
已过时。
- onAudioResult(byte[]) - 类 中的方法com.tencent.tts.service.SpeechWsSynthesisListener
- onComplete(SpeechSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
- onFail(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
-
错误回调
- onFail(VirtualNumberResponse) - 类 中的方法com.tencent.asr.service.VirtualNumberRecognitionListener
- onFail(SpeechSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
- onMessage(byte[]) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
- onMessage(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
-
响应结果(包含稳态和非稳态)
- onRecognitionComplete(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
-
识别结束
- onRecognitionComplete(VirtualNumberResponse) - 类 中的方法com.tencent.asr.service.VirtualNumberRecognitionListener
- onRecognitionResultChange(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
-
识别结果
- onRecognitionStart(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
-
识别开始
- onRecognitionStart(VirtualNumberResponse) - 类 中的方法com.tencent.asr.service.VirtualNumberRecognitionListener
- onSentenceBegin(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
-
一句话开始
- onSentenceEnd(SpeechRecognitionResponse) - 类 中的方法com.tencent.asr.service.SpeechRecognitionListener
-
一句话识别结束
- onSynthesisEnd(SpeechWsSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechWsSynthesisListener
- onSynthesisFail(SpeechWsSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechWsSynthesisListener
- onSynthesisStart(SpeechWsSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechWsSynthesisListener
- onTextResult(SpeechWsSynthesisResponse) - 类 中的方法com.tencent.tts.service.SpeechWsSynthesisListener
- 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
- privateSdk - 类 中的静态变量com.tencent.core.model.GlobalConfig
-
私有化场景 其他场景切莫修改
- projectId - 类 中的变量com.tencent.asr.model.AsrRequest
-
腾讯云项目 ID,语音识别目前不区分项目,所以填0即可。
R
- read(InputStream, byte[]) - 类 中的静态方法com.tencent.tts.utils.OpusUtils
-
读取数据
- read(InputStream, CloseableHttpResponse) - 类 中的方法com.tencent.tts.service.SpeechSynthesizer
- 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
- REALTIME_FOLLOW - com.tencent.asr.constant.AsrConstant.ReturnType
- 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
- SDK - 类 中的静态变量com.tencent.asr.constant.AsrConstant
- 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(int, String) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
- SdkRunException(AsrConstant.Code) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
- SdkRunException(String, int, String) - 异常错误 的构造器com.tencent.asr.service.SdkRunException
- SdkRunException(String, Throwable, boolean, boolean, 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(Throwable, AsrConstant.Code) - 异常错误 的构造器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
-
每次发出请求时,最多携带的字符数。
- setAction(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setAppId(Integer) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setAppId(Integer) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setAuthenticator(Authenticator) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- setBeginIndex(Integer) - 类 中的方法com.tencent.tts.model.Subtitle
- setBeginTime(Integer) - 类 中的方法com.tencent.tts.model.Subtitle
- setClient(OkHttpClient) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setClient(OkHttpClient) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setCloseWaitTime(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setCode(int) - 异常错误 中的方法com.tencent.asr.service.SdkRunException
- setCode(Integer) - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- setCode(Integer) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- setCodec(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setConfig(VirtualNumberServerConfig) - 类 中的静态方法com.tencent.asr.model.VirtualNumberServerConfig
- setConfig(String, String, String, String) - 类 中的静态方法com.tencent.core.service.StatService
- setConnectTimeOut(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setEmotionCategory(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setEmotionIntensity(Integer) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setEnableSubtitle(Boolean) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setEndIndex(Integer) - 类 中的方法com.tencent.tts.model.Subtitle
- setEndTime(Integer) - 类 中的方法com.tencent.tts.model.Subtitle
- setExecutorService(ExecutorService) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- setExtendsParam(Map<String, Object>) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setExtendsParam(Map<String, Object>) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setFinal(Integer) - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- setFinal(Integer) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- setHost(String) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setHost(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setHostSuffix(String) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setIfCancel(boolean) - 类 中的方法com.tencent.tts.service.SpeechSynthesisListener
- setKeepAliveDuration(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setMaxIdlConnections(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setMaxRequests(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setMaxRequestsPerHost(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setMessage(String) - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- setMessage(String) - 异常错误 中的方法com.tencent.asr.service.SdkRunException
- setMessage(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- setMessageId(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- setMessageID(String) - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- setModelType(Integer) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setOnopenWaitTime(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setOnopenWaitTime(int) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setPath(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setPhoneme(String) - 类 中的方法com.tencent.tts.model.Subtitle
- setProto(String) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setProto(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setProxyHost(String) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- setProxyHost(String) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setProxyPort(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setProxyPort(Integer) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- setProxySelector(ProxySelector) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- setReadTimeOut(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setRequestId(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- setResult(Subtitles) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- setResult(Integer) - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- setRetryRequestNum(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setRetryRequestNum(int) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setSampleRate(Long) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setSecretId(String) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setSecretId(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setSecretKey(String) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setSecretKey(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setSegmentRate(Integer) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setSessionId(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setSessionId(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisResponse
- setSignPrefixUrl(String) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setSignPrefixUrl(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisServerConfig
- setSpeechClientConfig(String, String, String, String) - 类 中的方法com.tencent.SpeechClient
- setSpeed(Float) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setSubtitles(Subtitle[]) - 类 中的方法com.tencent.tts.model.Subtitles
- setText(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setText(String) - 类 中的方法com.tencent.tts.model.Subtitle
- setToken(String) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setToken(String) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setUseProxy(boolean) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- setUseProxy(Boolean) - 类 中的方法com.tencent.asr.model.SpeechWebsocketConfig
- setVoiceFormat(Integer) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setVoiceId(String) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setVoiceID(String) - 类 中的方法com.tencent.asr.model.VirtualNumberResponse
- setVoiceType(Integer) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setVolume(Float) - 类 中的方法com.tencent.tts.model.SpeechWsSynthesisRequest
- setWaitTime(Integer) - 类 中的方法com.tencent.asr.model.VirtualNumberRequest
- setWriteTimeOut(int) - 类 中的方法com.tencent.asr.model.VirtualNumberServerConfig
- 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
- silk - com.tencent.asr.constant.AsrConstant.VoiceFormat
- smartSplit(String) - 类 中的静态方法com.tencent.tts.utils.LineSplitUtils
-
比较智能地将一行较长的文字分隔成多个独立的句子,用于发送给远程服务器做识别。
- socketTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
-
响应超时时间
- source - 类 中的变量com.tencent.asr.model.AsrRequest
-
默认值为 0。
- sp - com.tencent.asr.constant.AsrConstant.VoiceFormat
- 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
-
初始化参数
- SpeechWsSynthesisListener - com.tencent.tts.service中的类
- SpeechWsSynthesisListener(String) - 类 的构造器com.tencent.tts.service.SpeechWsSynthesisListener
- SpeechWsSynthesisRequest - com.tencent.tts.model中的类
- SpeechWsSynthesisRequest() - 类 的构造器com.tencent.tts.model.SpeechWsSynthesisRequest
- SpeechWsSynthesisResponse - com.tencent.tts.model中的类
- SpeechWsSynthesisResponse() - 类 的构造器com.tencent.tts.model.SpeechWsSynthesisResponse
- SpeechWsSynthesisServerConfig - com.tencent.tts.model中的类
- SpeechWsSynthesisServerConfig() - 类 的构造器com.tencent.tts.model.SpeechWsSynthesisServerConfig
- SpeechWsSynthesizer - com.tencent.tts.service中的类
- SpeechWsSynthesizer(SpeechWsSynthesisServerConfig, SpeechWsSynthesisRequest, SpeechWsSynthesisListener) - 类 的构造器com.tencent.tts.service.SpeechWsSynthesizer
- 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.asr.service.VirtualNumberRecognizer
-
start 开启
- start() - 接口 中的方法com.tencent.core.service.TClient
- start() - 类 中的方法com.tencent.tts.service.SpeechWsSynthesizer
-
start 开启
- 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连接
- stop() - 类 中的方法com.tencent.asr.service.VirtualNumberRecognizer
- stop() - 类 中的方法com.tencent.tts.service.SpeechWsSynthesizer
-
等待任务结束
- stop(Integer) - 类 中的方法com.tencent.tts.service.SpeechWsSynthesizer
-
等待任务结束
- STREAM - com.tencent.asr.constant.AsrConstant.DataType
-
流式处理
- streamId - 类 中的变量com.tencent.asr.service.HttpBaseService
-
标示流的唯一主键
- subBytes(byte[], int, int) - 类 中的静态方法com.tencent.core.utils.ByteUtils
-
返回一个byte[]中指定的一部分。
- subServiceType - 类 中的变量com.tencent.asr.model.AsrRequest
-
子服务类型。
- Subtitle - com.tencent.tts.model中的类
- Subtitle() - 类 的构造器com.tencent.tts.model.Subtitle
- Subtitles - com.tencent.tts.model中的类
- Subtitles() - 类 的构造器com.tencent.tts.model.Subtitles
- 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
-
成功
- SUCCESS - com.tencent.asr.constant.AsrConstant.Code
- 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
- TAILER - com.tencent.asr.constant.AsrConstant.ReturnType
- 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
-
是否开启代理
- UTF_8 - com.tencent.asr.constant.AsrConstant.ResponseEncode
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
- VirtualNumberRecognitionListener - com.tencent.asr.service中的类
- VirtualNumberRecognitionListener(String) - 类 的构造器com.tencent.asr.service.VirtualNumberRecognitionListener
- VirtualNumberRecognizer - com.tencent.asr.service中的类
- VirtualNumberRecognizer(VirtualNumberServerConfig, VirtualNumberRequest, VirtualNumberRecognitionListener) - 类 的构造器com.tencent.asr.service.VirtualNumberRecognizer
- VirtualNumberRequest - com.tencent.asr.model中的类
- VirtualNumberRequest() - 类 的构造器com.tencent.asr.model.VirtualNumberRequest
- VirtualNumberResponse - com.tencent.asr.model中的类
- VirtualNumberResponse() - 类 的构造器com.tencent.asr.model.VirtualNumberResponse
- VirtualNumberServerConfig - com.tencent.asr.model中的类
-
虚拟号配置类 按需更改
- VirtualNumberServerConfig() - 类 的构造器com.tencent.asr.model.VirtualNumberServerConfig
- voiceFormat - 类 中的变量com.tencent.asr.model.AsrRequest
-
语音编码方式,可选,默认值为 4。
- voiceFormat - 类 中的变量com.tencent.asr.model.FlashRecognitionRequest
W
- waitResultTimeout - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
- wav - com.tencent.asr.constant.AsrConstant.VoiceFormat
- webSocket - 类 中的变量com.tencent.asr.service.SpeechWsRecognizer
-
websocket
- Websocket - com.tencent.asr.constant.AsrConstant.RequestWay
- 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(byte[]) - 类 中的方法com.tencent.asr.service.SpeechHttpRecognizer
-
识别逻辑的处理方法
- write(byte[]) - 接口 中的方法com.tencent.asr.service.SpeechRecognizer
- write(byte[]) - 类 中的方法com.tencent.asr.service.SpeechWsRecognizer
-
语音识别发送音频数据
- write(byte[]) - 类 中的方法com.tencent.asr.service.VirtualNumberRecognizer
- write(InputStream) - 类 中的方法com.tencent.asr.service.HttpStreamService
-
识别逻辑的处理方法
- WS_BYTE - com.tencent.asr.constant.AsrConstant.DataType
-
ws协议 byte[]
- WS_STREAM - com.tencent.asr.constant.AsrConstant.DataType
-
ws协议 stream
- WsClientService - com.tencent.asr.service中的类
- WsClientService(SpeechWebsocketConfig) - 类 的构造器com.tencent.asr.service.WsClientService
- WsClientService(OkHttpClient) - 类 的构造器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 最大等待时间 默认3s
- wsStopMethodWait - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
- wsWriteTimeOut - 类 中的静态变量com.tencent.asr.model.SpeechRecognitionSysConfig
-
wsWriteTimeOut
所有类|所有程序包