tencentcloud-sdk-trtc 3.0.1189 → 3.0.1195
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 +26 -23
- 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: db3edb2f191cfa5a07e8748cbaf85bcef9962b7e
|
|
4
|
+
data.tar.gz: 2243858671752ce25e3786ebc202ecac4fd6d2e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df76055cd00067bf8fbf427c0ec362ac4dedefe3c085f63060e7d894d18304df31d6a317de0ad79f11d7073a7e08a1b4d0ebe88a97e0381c057f0343b8405ee4
|
|
7
|
+
data.tar.gz: 66d5e0a5e028fd8a088a60a0d853d0227408bc461bb31121d6e651e3b6b330fec86f68b1e25203dc41a949d556195e38135b27489c1e1d1aa00fb55ab23713ea
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1195
|
data/lib/v20190722/models.rb
CHANGED
|
@@ -293,17 +293,21 @@ module TencentCloud
|
|
|
293
293
|
# - 16000
|
|
294
294
|
# - 24000
|
|
295
295
|
# @type SampleRate: Integer
|
|
296
|
+
# @param Bitrate: MP3 比特率 (kbps),仅对 MP3 格式生效, 可以选: `64`, `128`, `192`, `256` , 默认: `128`
|
|
297
|
+
# @type Bitrate: Integer
|
|
296
298
|
|
|
297
|
-
attr_accessor :Format, :SampleRate
|
|
299
|
+
attr_accessor :Format, :SampleRate, :Bitrate
|
|
298
300
|
|
|
299
|
-
def initialize(format=nil, samplerate=nil)
|
|
301
|
+
def initialize(format=nil, samplerate=nil, bitrate=nil)
|
|
300
302
|
@Format = format
|
|
301
303
|
@SampleRate = samplerate
|
|
304
|
+
@Bitrate = bitrate
|
|
302
305
|
end
|
|
303
306
|
|
|
304
307
|
def deserialize(params)
|
|
305
308
|
@Format = params['Format']
|
|
306
309
|
@SampleRate = params['SampleRate']
|
|
310
|
+
@Bitrate = params['Bitrate']
|
|
307
311
|
end
|
|
308
312
|
end
|
|
309
313
|
|
|
@@ -4786,10 +4790,10 @@ module TencentCloud
|
|
|
4786
4790
|
|
|
4787
4791
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime, :VadLevel
|
|
4788
4792
|
extend Gem::Deprecate
|
|
4789
|
-
deprecate :Model, :none,
|
|
4790
|
-
deprecate :Model=, :none,
|
|
4791
|
-
deprecate :TranslationLanguage, :none,
|
|
4792
|
-
deprecate :TranslationLanguage=, :none,
|
|
4793
|
+
deprecate :Model, :none, 2026, 1
|
|
4794
|
+
deprecate :Model=, :none, 2026, 1
|
|
4795
|
+
deprecate :TranslationLanguage, :none, 2026, 1
|
|
4796
|
+
deprecate :TranslationLanguage=, :none, 2026, 1
|
|
4793
4797
|
|
|
4794
4798
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil, vadlevel=nil)
|
|
4795
4799
|
@Language = language
|
|
@@ -5499,10 +5503,9 @@ module TencentCloud
|
|
|
5499
5503
|
# @type RoomIdType: Integer
|
|
5500
5504
|
# @param STTConfig: 语音识别配置。
|
|
5501
5505
|
# @type STTConfig: :class:`Tencentcloud::Trtc.v20190722.models.STTConfig`
|
|
5502
|
-
# @param LLMConfig: LLM配置。需符合openai规范,为JSON
|
|
5503
|
-
# <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>
|
|
5506
|
+
# @param LLMConfig: 必填参数,LLM配置。需符合openai规范,为JSON字符串,示例如下:<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>
|
|
5504
5507
|
# @type LLMConfig: String
|
|
5505
|
-
# @param TTSConfig: TTS
|
|
5508
|
+
# @param TTSConfig: 必填参数,TTS配置,详见 [TTS配置说明](https://cloud.tencent.com/document/product/647/115414 ), 为JSON字符串: TRTC TTS的配置如下:```{ "TTSType": "flow", // 【必填】固定为此值 "VoiceId": "v-female-R2s4N9qJ", // 【必填】精品音色 ID /克隆音色 ID, 可选择不同音色, ID 库参考下方音色列表 "Model": "flow_01_turbo", // 【必填】当前默认的 TTS 模型版本(对应 Flash 版本) "Speed": 1.0, //【可选】调节语速 范围 [0.5-2.0],默认 1.0; 取值越大,语速越快 "Volume": 1.0, // 【可选】调节音量 [0, 10] 默认值 1.0; 取值越大,音量越高 "Pitch": 0, // 【可选】调节语调 [-12,12],默认值为 0,其中 0 为原音色输出。 "Language": "zh" //【可选】建议填写,目前支持填写中文:zh 英文:en 粤语方言:yue; 参数参考:(ISO 639-1) }```
|
|
5506
5509
|
# @type TTSConfig: String
|
|
5507
5510
|
# @param AvatarConfig: 数字人配置,为JSON字符串。**数字人配置需要提工单加白后才能使用**
|
|
5508
5511
|
# @type AvatarConfig: String
|
|
@@ -5920,12 +5923,12 @@ module TencentCloud
|
|
|
5920
5923
|
|
|
5921
5924
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume, :EnableProgress, :Tempo
|
|
5922
5925
|
extend Gem::Deprecate
|
|
5923
|
-
deprecate :VideoEncodeParams, :none,
|
|
5924
|
-
deprecate :VideoEncodeParams=, :none,
|
|
5925
|
-
deprecate :AudioEncodeParams, :none,
|
|
5926
|
-
deprecate :AudioEncodeParams=, :none,
|
|
5927
|
-
deprecate :SourceUrl, :none,
|
|
5928
|
-
deprecate :SourceUrl=, :none,
|
|
5926
|
+
deprecate :VideoEncodeParams, :none, 2026, 1
|
|
5927
|
+
deprecate :VideoEncodeParams=, :none, 2026, 1
|
|
5928
|
+
deprecate :AudioEncodeParams, :none, 2026, 1
|
|
5929
|
+
deprecate :AudioEncodeParams=, :none, 2026, 1
|
|
5930
|
+
deprecate :SourceUrl, :none, 2026, 1
|
|
5931
|
+
deprecate :SourceUrl=, :none, 2026, 1
|
|
5929
5932
|
|
|
5930
5933
|
def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil, autopush=nil, repeatnum=nil, maxduration=nil, volume=nil, enableprogress=nil, tempo=nil)
|
|
5931
5934
|
@SdkAppId = sdkappid
|
|
@@ -6633,8 +6636,8 @@ module TencentCloud
|
|
|
6633
6636
|
|
|
6634
6637
|
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
|
|
6635
6638
|
extend Gem::Deprecate
|
|
6636
|
-
deprecate :APIKey, :none,
|
|
6637
|
-
deprecate :APIKey=, :none,
|
|
6639
|
+
deprecate :APIKey, :none, 2026, 1
|
|
6640
|
+
deprecate :APIKey=, :none, 2026, 1
|
|
6638
6641
|
|
|
6639
6642
|
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
|
|
6640
6643
|
@Text = text
|
|
@@ -6702,8 +6705,8 @@ module TencentCloud
|
|
|
6702
6705
|
|
|
6703
6706
|
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
|
|
6704
6707
|
extend Gem::Deprecate
|
|
6705
|
-
deprecate :APIKey, :none,
|
|
6706
|
-
deprecate :APIKey=, :none,
|
|
6708
|
+
deprecate :APIKey, :none, 2026, 1
|
|
6709
|
+
deprecate :APIKey=, :none, 2026, 1
|
|
6707
6710
|
|
|
6708
6711
|
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
|
|
6709
6712
|
@Text = text
|
|
@@ -6795,10 +6798,10 @@ module TencentCloud
|
|
|
6795
6798
|
|
|
6796
6799
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint, :TurnDetection
|
|
6797
6800
|
extend Gem::Deprecate
|
|
6798
|
-
deprecate :IMAdminUserId, :none,
|
|
6799
|
-
deprecate :IMAdminUserId=, :none,
|
|
6800
|
-
deprecate :IMAdminUserSig, :none,
|
|
6801
|
-
deprecate :IMAdminUserSig=, :none,
|
|
6801
|
+
deprecate :IMAdminUserId, :none, 2026, 1
|
|
6802
|
+
deprecate :IMAdminUserId=, :none, 2026, 1
|
|
6803
|
+
deprecate :IMAdminUserSig, :none, 2026, 1
|
|
6804
|
+
deprecate :IMAdminUserSig=, :none, 2026, 1
|
|
6802
6805
|
|
|
6803
6806
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil, turndetection=nil)
|
|
6804
6807
|
@UserId = userid
|
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.1195
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|