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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6afb82534669a263ee24ea05bebd96c23daa8349
4
- data.tar.gz: 2107a5035a126453663b553be896c88265f7e539
3
+ metadata.gz: f15306233928eba33fa1c3b3d08db3f43cf83393
4
+ data.tar.gz: 777c63a278583f8801d8ef44233a5a7948f92d3c
5
5
  SHA512:
6
- metadata.gz: 48bdc69180f1c1518800652d75e156fbaee6a9e1cd5d55bd067315580c787c927ee046c2b4b13771dce875ba5a6f774c9fa69e2b3c3ac6364a4104ca99b043a3
7
- data.tar.gz: a501e578235d45d2e2803862c1dcc9a36d1fdc165e14071748e7e7ffacac84f230c203c80f409dd9bfac9a2fb643aae22d950c1274432b6136773a26f2368912
6
+ metadata.gz: 27e41a2a95bfa674f095cd5ad5c5712f671dbc573be911416b2c1f1be0186b2dcbb7973d2e5a9f8b3efb5ce3d705a3027db798a839fb556808612a9dbe61d2f8
7
+ data.tar.gz: 546c2918d22bceefef90bb768b52cc7fc614a24559a64db96cb757be7318fee2203db12654a9a596bc7ec15d6bf1a14b8c551f2186616a74f29c530123a94f8e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.877
1
+ 3.0.879
@@ -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> &emsp; "LLMType": “大模型类型", // String 必填,目前固定为"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的OpenAI API密钥", // String 必填,相当于环境变量中的OPENAI_API_KEY<br> &emsp; "APIBaseUrl": "https://api.openai.com", // String 必填,OpenAI API的基础URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
4096
+ # <pre> { <br> &emsp; "LLMType": “大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
4096
4097
  # @type LLMConfig: String
4097
- # @param TTSConfig: TTS配置。目前支持腾讯云TTS, 为JSON字符串,示例如下:
4098
- # <pre>{ <br> &emsp; "AppId": "您的应用ID", // String 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SercetId": "您的密钥ID", // String 必填<br> &emsp; "SercetKey": "您的密钥Key", // String 必填<br> &emsp; "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> &emsp; "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> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "PrimaryLanguage": "zh-CN" // String 非必填,主要语言<br> &emsp;}</pre>
4098
+ # @param TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下:
4099
+ # <pre>{ <br> &emsp; "AppId": 您的应用ID, // Integer 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SecretId": "您的密钥ID", // String 必填<br> &emsp; "SecretKey": "您的密钥Key", // String 必填<br> &emsp; "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> &emsp; "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> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "PrimaryLanguage": "zh-CN" // String 非必填,主要语言<br> &emsp;}</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.877
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-01 00:00:00.000000000 Z
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