tencentcloud-sdk-trtc 3.0.877 → 3.0.879
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 +4 -3
- 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: f15306233928eba33fa1c3b3d08db3f43cf83393
|
|
4
|
+
data.tar.gz: 777c63a278583f8801d8ef44233a5a7948f92d3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27e41a2a95bfa674f095cd5ad5c5712f671dbc573be911416b2c1f1be0186b2dcbb7973d2e5a9f8b3efb5ce3d705a3027db798a839fb556808612a9dbe61d2f8
|
|
7
|
+
data.tar.gz: 546c2918d22bceefef90bb768b52cc7fc614a24559a64db96cb757be7318fee2203db12654a9a596bc7ec15d6bf1a14b8c551f2186616a74f29c530123a94f8e
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.879
|
data/lib/v20190722/models.rb
CHANGED
|
@@ -336,6 +336,7 @@ module TencentCloud
|
|
|
336
336
|
# @param SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和录制的房间所对应的SdkAppId相同。
|
|
337
337
|
# @type SdkAppId: Integer
|
|
338
338
|
# @param RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。
|
|
339
|
+
# 注:房间号类型默认为整型,若房间号类型为字符串,请通过RoomIdType指定。
|
|
339
340
|
# @type RoomId: String
|
|
340
341
|
# @param UserId: 录制机器人的UserId,用于进房发起录制任务。
|
|
341
342
|
# 【*注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个录制任务时,机器人的userid也不能相互重复,否则会中断前一个录制任务。建议可以把房间ID作为UserId的标识的一部分,即录制机器人UserId在房间内唯一。
|
|
@@ -4092,10 +4093,10 @@ module TencentCloud
|
|
|
4092
4093
|
# @param STTConfig: 语音识别配置。
|
|
4093
4094
|
# @type STTConfig: :class:`Tencentcloud::Trtc.v20190722.models.STTConfig`
|
|
4094
4095
|
# @param LLMConfig: LLM配置。需符合openai规范,为JSON字符串,示例如下:
|
|
4095
|
-
# <pre> { <br>   "LLMType": “大模型类型", // String
|
|
4096
|
+
# <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>
|
|
4096
4097
|
# @type LLMConfig: String
|
|
4097
|
-
# @param TTSConfig: TTS
|
|
4098
|
-
# <pre>{ <br>   "AppId":
|
|
4098
|
+
# @param TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下:
|
|
4099
|
+
# <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>   "PrimaryLanguage": "zh-CN" // String 非必填,主要语言<br>  }</pre>
|
|
4099
4100
|
# @type TTSConfig: String
|
|
4100
4101
|
|
|
4101
4102
|
attr_accessor :SdkAppId, :RoomId, :AgentConfig, :SessionId, :RoomIdType, :STTConfig, :LLMConfig, :TTSConfig
|
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.879
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-08-
|
|
11
|
+
date: 2024-08-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|