tencentcloud-sdk-trtc 3.0.1017 → 3.0.1018
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 +20 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76d8e2fe227b93d19492198736ac3954fcd5f918
|
4
|
+
data.tar.gz: b1a9422fde21b4fac045fbb08406388b0477411c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b9933bc40de88fdcba71f82a832824889bc66599070b39f9855b22912847259c8aac9881f6ee511e76dfbc56927ea1c986bf4c99c8fb22a0cd22cf4d2df3734
|
7
|
+
data.tar.gz: 669cd68dee4cb144e66e26e0a26e1cfd1d96d25cc6bf79f4fb3b3185d5761409d52b95474bc7a03e4158fcd2e078db7c3b374c1d9bb517dbe0cc49ff30990f1f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1018
|
data/lib/v20190722/models.rb
CHANGED
@@ -100,10 +100,18 @@ module TencentCloud
|
|
100
100
|
# @type FilterOneWord: Boolean
|
101
101
|
# @param WelcomeMessagePriority: 欢迎消息优先级,0默认,1高优,高优不能被打断。
|
102
102
|
# @type WelcomeMessagePriority: Integer
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
103
|
+
# @param FilterBracketsContent: 用于过滤LLM返回内容,不播放括号中的内容。
|
104
|
+
# 1:中文括号()
|
105
|
+
# 2:英文括号()
|
106
|
+
# 3:中文方括号【】
|
107
|
+
# 4:英文方括号[]
|
108
|
+
# 5:英文花括号{}
|
109
|
+
# 默认值为空,表示不进行过滤。
|
110
|
+
# @type FilterBracketsContent: Integer
|
111
|
+
|
112
|
+
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration, :TurnDetectionMode, :FilterOneWord, :WelcomeMessagePriority, :FilterBracketsContent
|
113
|
+
|
114
|
+
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil, turndetectionmode=nil, filteroneword=nil, welcomemessagepriority=nil, filterbracketscontent=nil)
|
107
115
|
@UserId = userid
|
108
116
|
@UserSig = usersig
|
109
117
|
@TargetUserId = targetuserid
|
@@ -114,6 +122,7 @@ module TencentCloud
|
|
114
122
|
@TurnDetectionMode = turndetectionmode
|
115
123
|
@FilterOneWord = filteroneword
|
116
124
|
@WelcomeMessagePriority = welcomemessagepriority
|
125
|
+
@FilterBracketsContent = filterbracketscontent
|
117
126
|
end
|
118
127
|
|
119
128
|
def deserialize(params)
|
@@ -127,6 +136,7 @@ module TencentCloud
|
|
127
136
|
@TurnDetectionMode = params['TurnDetectionMode']
|
128
137
|
@FilterOneWord = params['FilterOneWord']
|
129
138
|
@WelcomeMessagePriority = params['WelcomeMessagePriority']
|
139
|
+
@FilterBracketsContent = params['FilterBracketsContent']
|
130
140
|
end
|
131
141
|
end
|
132
142
|
|
@@ -4212,8 +4222,8 @@ module TencentCloud
|
|
4212
4222
|
# 语音转文本不同套餐版本支持的语言如下:
|
4213
4223
|
|
4214
4224
|
# **基础版**:
|
4215
|
-
# - "zh":
|
4216
|
-
# - "zh-TW":
|
4225
|
+
# - "zh": 中文(简体)
|
4226
|
+
# - "zh-TW": 中文(繁体)
|
4217
4227
|
# - "en": 英语
|
4218
4228
|
|
4219
4229
|
# **标准版:**
|
@@ -4523,7 +4533,7 @@ module TencentCloud
|
|
4523
4533
|
# <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>
|
4524
4534
|
# @type LLMConfig: String
|
4525
4535
|
# @param TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下:
|
4526
|
-
# <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>  
|
4536
|
+
# <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>  }</pre>
|
4527
4537
|
# @type TTSConfig: String
|
4528
4538
|
# @param AvatarConfig: 数字人配置,为JSON字符串。**数字人配置需要提工单加白后才能使用**
|
4529
4539
|
# @type AvatarConfig: String
|
@@ -4787,6 +4797,7 @@ module TencentCloud
|
|
4787
4797
|
# @param AgentParams: 转推服务加入TRTC房间的机器人参数。
|
4788
4798
|
# @type AgentParams: :class:`Tencentcloud::Trtc.v20190722.models.AgentParams`
|
4789
4799
|
# @param WithTranscoding: 是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。
|
4800
|
+
# 注:混流是必须转码,这个参数需设置为1。
|
4790
4801
|
# @type WithTranscoding: Integer
|
4791
4802
|
# @param AudioParams: 转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。
|
4792
4803
|
# @type AudioParams: :class:`Tencentcloud::Trtc.v20190722.models.McuAudioParams`
|
@@ -5694,6 +5705,7 @@ module TencentCloud
|
|
5694
5705
|
# @param SequenceNumber: 客户保证同一个任务,每次更新请求中的SequenceNumber递增,防止请求乱序。
|
5695
5706
|
# @type SequenceNumber: Integer
|
5696
5707
|
# @param WithTranscoding: 是否转码,0表示无需转码,1表示需要转码。
|
5708
|
+
# 注:混流是必须转码,这个参数需设置为1。
|
5697
5709
|
# @type WithTranscoding: Integer
|
5698
5710
|
# @param AudioParams: 更新相关参数,只支持更新参与混音的主播列表参数,不支持更新Codec、采样率、码率和声道数。不填表示不更新此参数。
|
5699
5711
|
# @type AudioParams: :class:`Tencentcloud::Trtc.v20190722.models.McuAudioParams`
|
@@ -5906,7 +5918,7 @@ module TencentCloud
|
|
5906
5918
|
class VideoEncode < TencentCloud::Common::AbstractModel
|
5907
5919
|
# @param Width: 输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
|
5908
5920
|
# @type Width: Integer
|
5909
|
-
# @param Height: 输出流高,音视频输出时必填。取值范围[0,
|
5921
|
+
# @param Height: 输出流高,音视频输出时必填。取值范围[0,1920],单位为像素值。
|
5910
5922
|
# @type Height: Integer
|
5911
5923
|
# @param Fps: 输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
|
5912
5924
|
# @type Fps: Integer
|
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.1018
|
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-03-
|
11
|
+
date: 2025-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-trtc.rb
|
37
|
-
- lib/v20190722/models.rb
|
38
37
|
- lib/v20190722/client.rb
|
38
|
+
- lib/v20190722/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|