tencentcloud-sdk-trtc 3.0.1122 → 3.0.1123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/models.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd190712763744dfa0a90d9cde36e574c0f9703
|
4
|
+
data.tar.gz: 4306bc9b602c2ac3edcc06f4525b6278702dc225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d9f0cca3c16aa53e8bdf28e34e527ae80dc58bdda8b34228dffa5a30901673af2188e883a355ec568febb532b18fee3698c4c7f76bdc19587d3673cdadebdb4
|
7
|
+
data.tar.gz: 66b66c117736e412d2d8df1b48069513e467b2cd847c208b447a9ed8f6c1d6e107769de3d2c1140915f797ea10d60d173b629783254dcb3ec4c25461bcb07ab6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1123
|
data/lib/v20190722/models.rb
CHANGED
@@ -1324,6 +1324,7 @@ module TencentCloud
|
|
1324
1324
|
# aCapEnergy:音频采集能量;
|
1325
1325
|
# aPlayEnergy:音频播放能量;
|
1326
1326
|
# rtt:SDK到云端的往返延时;单位: ms
|
1327
|
+
# bigvRecFps: 云端送达帧率;
|
1327
1328
|
# @type DataType: Array
|
1328
1329
|
# @param PageNumber: 当前页数,默认为0,
|
1329
1330
|
# 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
|
@@ -5462,7 +5463,7 @@ module TencentCloud
|
|
5462
5463
|
# @param STTConfig: 语音识别配置。
|
5463
5464
|
# @type STTConfig: :class:`Tencentcloud::Trtc.v20190722.models.STTConfig`
|
5464
5465
|
# @param LLMConfig: LLM配置。需符合openai规范,为JSON字符串,示例如下:
|
5465
|
-
# <pre> { <br>   "LLMType": "大模型类型", // String 必填,如:"openai" <br>   "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br>   "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
5466
|
+
# <pre> { <br>   "LLMType": "大模型类型", // String 必填,如:"openai" <br>   "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br>   "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br>   "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br>   "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
5466
5467
|
# @type LLMConfig: String
|
5467
5468
|
# @param TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下: <pre>{ <br>   "AppId": 您的应用ID, // Integer 必填<br>   "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br>   "SecretId": "您的密钥ID", // String 必填<br>   "SecretKey": "您的密钥Key", // String 必填<br>   "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br>   "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br>   "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>   "EmotionCategory": "angry", // String 非必填 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)。<br>   "EmotionIntensity": 150 // Integer 非必填 控制合成音频情感程度,取值范围为 [50,200],默认为 100;只有 EmotionCategory 不为空时生效。<br>   }</pre>
|
5468
5469
|
# @type TTSConfig: String
|
@@ -7195,7 +7196,7 @@ module TencentCloud
|
|
7195
7196
|
# @type SdkAppId: Integer
|
7196
7197
|
# @param APIKey: TTS的API密钥
|
7197
7198
|
# @type APIKey: String
|
7198
|
-
# @param VoiceName:
|
7199
|
+
# @param VoiceName: 声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
|
7199
7200
|
# @type VoiceName: String
|
7200
7201
|
# @param PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在5秒~12秒之间
|
7201
7202
|
# @type PromptAudio: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trtc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1123
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|