tencentcloud-sdk-trtc 3.0.1189 → 3.0.1196
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 +38 -34
- 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: 4a2432a9b9c3980501f9bd57efb19dcf66a26348
|
|
4
|
+
data.tar.gz: f609c2ad3faa8e86437df5df586ffcb9e0c14371
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17c24bb727838a6167c87f25c540ef54745ec8119df94038997171bc2d3c3f96f6c4f51e48b1b72b3fda8e1f7aa0454aa974e5599ef21018da3481cba5278ba3
|
|
7
|
+
data.tar.gz: 873899d5ebfef625e67a36d36799ad9bd6c95ba1b78a4af57141312154d7eb9a4b88c3295f8637c69879c92ca73953dbaa6960db6bab195c46014ef1277d13d5
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1196
|
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
|
|
|
@@ -2048,14 +2052,17 @@ module TencentCloud
|
|
|
2048
2052
|
# d:按天。此时返回查询时间范围内 UTC 时间为零点的数据。
|
|
2049
2053
|
# h:按小时。此时返回查询时间范围内 UTC 时间为整小时的数据。
|
|
2050
2054
|
# @type Period: String
|
|
2055
|
+
# @param IsFloat: 返回数据是否为小数
|
|
2056
|
+
# @type IsFloat: Boolean
|
|
2051
2057
|
|
|
2052
|
-
attr_accessor :SdkAppId, :StartTime, :EndTime, :Period
|
|
2058
|
+
attr_accessor :SdkAppId, :StartTime, :EndTime, :Period, :IsFloat
|
|
2053
2059
|
|
|
2054
|
-
def initialize(sdkappid=nil, starttime=nil, endtime=nil, period=nil)
|
|
2060
|
+
def initialize(sdkappid=nil, starttime=nil, endtime=nil, period=nil, isfloat=nil)
|
|
2055
2061
|
@SdkAppId = sdkappid
|
|
2056
2062
|
@StartTime = starttime
|
|
2057
2063
|
@EndTime = endtime
|
|
2058
2064
|
@Period = period
|
|
2065
|
+
@IsFloat = isfloat
|
|
2059
2066
|
end
|
|
2060
2067
|
|
|
2061
2068
|
def deserialize(params)
|
|
@@ -2063,6 +2070,7 @@ module TencentCloud
|
|
|
2063
2070
|
@StartTime = params['StartTime']
|
|
2064
2071
|
@EndTime = params['EndTime']
|
|
2065
2072
|
@Period = params['Period']
|
|
2073
|
+
@IsFloat = params['IsFloat']
|
|
2066
2074
|
end
|
|
2067
2075
|
end
|
|
2068
2076
|
|
|
@@ -4711,17 +4719,10 @@ module TencentCloud
|
|
|
4711
4719
|
|
|
4712
4720
|
# **基础语言引擎**:
|
|
4713
4721
|
# - "zh": 中文(简体)
|
|
4714
|
-
# - "zh-TW": 中文(繁体)
|
|
4715
|
-
# - "en": 英语
|
|
4716
|
-
# - "16k_zh_edu":中文教育
|
|
4717
|
-
# - "16k_zh_medical":中文医疗
|
|
4718
|
-
# - "16k_zh_court":中文法庭
|
|
4719
4722
|
|
|
4720
4723
|
# **标准语言引擎:**
|
|
4721
4724
|
# - "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
|
4722
4725
|
# - "16k_zh_large": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
|
|
4723
|
-
# - "16k_multi_lang": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).
|
|
4724
|
-
# - "16k_zh_en": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
|
|
4725
4726
|
|
|
4726
4727
|
# **高级语言引擎:**
|
|
4727
4728
|
# - "zh-dialect": 中国方言
|
|
@@ -4786,10 +4787,10 @@ module TencentCloud
|
|
|
4786
4787
|
|
|
4787
4788
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime, :VadLevel
|
|
4788
4789
|
extend Gem::Deprecate
|
|
4789
|
-
deprecate :Model, :none,
|
|
4790
|
-
deprecate :Model=, :none,
|
|
4791
|
-
deprecate :TranslationLanguage, :none,
|
|
4792
|
-
deprecate :TranslationLanguage=, :none,
|
|
4790
|
+
deprecate :Model, :none, 2026, 1
|
|
4791
|
+
deprecate :Model=, :none, 2026, 1
|
|
4792
|
+
deprecate :TranslationLanguage, :none, 2026, 1
|
|
4793
|
+
deprecate :TranslationLanguage=, :none, 2026, 1
|
|
4793
4794
|
|
|
4794
4795
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil, vadlevel=nil)
|
|
4795
4796
|
@Language = language
|
|
@@ -5076,15 +5077,19 @@ module TencentCloud
|
|
|
5076
5077
|
# @param RowValue: 数据值
|
|
5077
5078
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5078
5079
|
# @type RowValue: Array
|
|
5080
|
+
# @param RowValueFloat: 数据值
|
|
5081
|
+
# @type RowValueFloat: Array
|
|
5079
5082
|
|
|
5080
|
-
attr_accessor :RowValue
|
|
5083
|
+
attr_accessor :RowValue, :RowValueFloat
|
|
5081
5084
|
|
|
5082
|
-
def initialize(rowvalue=nil)
|
|
5085
|
+
def initialize(rowvalue=nil, rowvaluefloat=nil)
|
|
5083
5086
|
@RowValue = rowvalue
|
|
5087
|
+
@RowValueFloat = rowvaluefloat
|
|
5084
5088
|
end
|
|
5085
5089
|
|
|
5086
5090
|
def deserialize(params)
|
|
5087
5091
|
@RowValue = params['RowValue']
|
|
5092
|
+
@RowValueFloat = params['RowValueFloat']
|
|
5088
5093
|
end
|
|
5089
5094
|
end
|
|
5090
5095
|
|
|
@@ -5499,10 +5504,9 @@ module TencentCloud
|
|
|
5499
5504
|
# @type RoomIdType: Integer
|
|
5500
5505
|
# @param STTConfig: 语音识别配置。
|
|
5501
5506
|
# @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>
|
|
5507
|
+
# @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
5508
|
# @type LLMConfig: String
|
|
5505
|
-
# @param TTSConfig: TTS
|
|
5509
|
+
# @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
5510
|
# @type TTSConfig: String
|
|
5507
5511
|
# @param AvatarConfig: 数字人配置,为JSON字符串。**数字人配置需要提工单加白后才能使用**
|
|
5508
5512
|
# @type AvatarConfig: String
|
|
@@ -5920,12 +5924,12 @@ module TencentCloud
|
|
|
5920
5924
|
|
|
5921
5925
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume, :EnableProgress, :Tempo
|
|
5922
5926
|
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,
|
|
5927
|
+
deprecate :VideoEncodeParams, :none, 2026, 1
|
|
5928
|
+
deprecate :VideoEncodeParams=, :none, 2026, 1
|
|
5929
|
+
deprecate :AudioEncodeParams, :none, 2026, 1
|
|
5930
|
+
deprecate :AudioEncodeParams=, :none, 2026, 1
|
|
5931
|
+
deprecate :SourceUrl, :none, 2026, 1
|
|
5932
|
+
deprecate :SourceUrl=, :none, 2026, 1
|
|
5929
5933
|
|
|
5930
5934
|
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
5935
|
@SdkAppId = sdkappid
|
|
@@ -6633,8 +6637,8 @@ module TencentCloud
|
|
|
6633
6637
|
|
|
6634
6638
|
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
|
|
6635
6639
|
extend Gem::Deprecate
|
|
6636
|
-
deprecate :APIKey, :none,
|
|
6637
|
-
deprecate :APIKey=, :none,
|
|
6640
|
+
deprecate :APIKey, :none, 2026, 1
|
|
6641
|
+
deprecate :APIKey=, :none, 2026, 1
|
|
6638
6642
|
|
|
6639
6643
|
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
|
|
6640
6644
|
@Text = text
|
|
@@ -6702,8 +6706,8 @@ module TencentCloud
|
|
|
6702
6706
|
|
|
6703
6707
|
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
|
|
6704
6708
|
extend Gem::Deprecate
|
|
6705
|
-
deprecate :APIKey, :none,
|
|
6706
|
-
deprecate :APIKey=, :none,
|
|
6709
|
+
deprecate :APIKey, :none, 2026, 1
|
|
6710
|
+
deprecate :APIKey=, :none, 2026, 1
|
|
6707
6711
|
|
|
6708
6712
|
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
|
|
6709
6713
|
@Text = text
|
|
@@ -6795,10 +6799,10 @@ module TencentCloud
|
|
|
6795
6799
|
|
|
6796
6800
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint, :TurnDetection
|
|
6797
6801
|
extend Gem::Deprecate
|
|
6798
|
-
deprecate :IMAdminUserId, :none,
|
|
6799
|
-
deprecate :IMAdminUserId=, :none,
|
|
6800
|
-
deprecate :IMAdminUserSig, :none,
|
|
6801
|
-
deprecate :IMAdminUserSig=, :none,
|
|
6802
|
+
deprecate :IMAdminUserId, :none, 2026, 1
|
|
6803
|
+
deprecate :IMAdminUserId=, :none, 2026, 1
|
|
6804
|
+
deprecate :IMAdminUserSig, :none, 2026, 1
|
|
6805
|
+
deprecate :IMAdminUserSig=, :none, 2026, 1
|
|
6802
6806
|
|
|
6803
6807
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil, turndetection=nil)
|
|
6804
6808
|
@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.1196
|
|
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-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|