tencentcloud-sdk-trtc 3.0.876 → 3.0.878
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/models.rb +22 -17
- 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: 7fe70260ed412342dd135ff3470c9f9026195049
|
4
|
+
data.tar.gz: 3ae521788a27249aca160672332a08ddb5a44376
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b186efdffc6870d69a27cd6c97356bfcd62b6626ab0b38bf71445ad6efb28048ef630feb946519b9c28af0a71af5a75250b2a6cc7f83109af15be3b12392de9
|
7
|
+
data.tar.gz: f6068fe6fba25a1ea92e4d32a28ea15fa66cdaf69dea3d61c64ffa84661d6ce79aab113e3fc828e110ff76bf491f88df3348f22a46d04aabe7d8de25c5b3a496
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.878
|
data/lib/v20190722/models.rb
CHANGED
@@ -2795,11 +2795,15 @@ module TencentCloud
|
|
2795
2795
|
class McuUserInfoParams < TencentCloud::Common::AbstractModel
|
2796
2796
|
# @param UserInfo: 用户参数。
|
2797
2797
|
# @type UserInfo: :class:`Tencentcloud::Trtc.v20190722.models.MixUserInfo`
|
2798
|
+
# @param SoundLevel: 混音的音量调整:取值范围是0到100,100为原始上行音量,不填默认为100,值越小则音量越低。
|
2799
|
+
# 注:该参数只在音量白名单下配置生效,其他场景配置无效。
|
2800
|
+
# @type SoundLevel: Integer
|
2798
2801
|
|
2799
|
-
attr_accessor :UserInfo
|
2802
|
+
attr_accessor :UserInfo, :SoundLevel
|
2800
2803
|
|
2801
|
-
def initialize(userinfo=nil)
|
2804
|
+
def initialize(userinfo=nil, soundlevel=nil)
|
2802
2805
|
@UserInfo = userinfo
|
2806
|
+
@SoundLevel = soundlevel
|
2803
2807
|
end
|
2804
2808
|
|
2805
2809
|
def deserialize(params)
|
@@ -2807,6 +2811,7 @@ module TencentCloud
|
|
2807
2811
|
@UserInfo = MixUserInfo.new
|
2808
2812
|
@UserInfo.deserialize(params['UserInfo'])
|
2809
2813
|
end
|
2814
|
+
@SoundLevel = params['SoundLevel']
|
2810
2815
|
end
|
2811
2816
|
end
|
2812
2817
|
|
@@ -3562,8 +3567,8 @@ module TencentCloud
|
|
3562
3567
|
|
3563
3568
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage
|
3564
3569
|
extend Gem::Deprecate
|
3565
|
-
deprecate :Model, :none, 2024,
|
3566
|
-
deprecate :Model=, :none, 2024,
|
3570
|
+
deprecate :Model, :none, 2024, 8
|
3571
|
+
deprecate :Model=, :none, 2024, 8
|
3567
3572
|
|
3568
3573
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil)
|
3569
3574
|
@Language = language
|
@@ -4087,10 +4092,10 @@ module TencentCloud
|
|
4087
4092
|
# @param STTConfig: 语音识别配置。
|
4088
4093
|
# @type STTConfig: :class:`Tencentcloud::Trtc.v20190722.models.STTConfig`
|
4089
4094
|
# @param LLMConfig: LLM配置。需符合openai规范,为JSON字符串,示例如下:
|
4090
|
-
# <pre> { <br>   "LLMType": “大模型类型", // String
|
4095
|
+
# <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>
|
4091
4096
|
# @type LLMConfig: String
|
4092
|
-
# @param TTSConfig: TTS
|
4093
|
-
# <pre>{ <br>   "AppId":
|
4097
|
+
# @param TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下:
|
4098
|
+
# <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>
|
4094
4099
|
# @type TTSConfig: String
|
4095
4100
|
|
4096
4101
|
attr_accessor :SdkAppId, :RoomId, :AgentConfig, :SessionId, :RoomIdType, :STTConfig, :LLMConfig, :TTSConfig
|
@@ -4474,12 +4479,12 @@ module TencentCloud
|
|
4474
4479
|
|
4475
4480
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond
|
4476
4481
|
extend Gem::Deprecate
|
4477
|
-
deprecate :VideoEncodeParams, :none, 2024,
|
4478
|
-
deprecate :VideoEncodeParams=, :none, 2024,
|
4479
|
-
deprecate :AudioEncodeParams, :none, 2024,
|
4480
|
-
deprecate :AudioEncodeParams=, :none, 2024,
|
4481
|
-
deprecate :SourceUrl, :none, 2024,
|
4482
|
-
deprecate :SourceUrl=, :none, 2024,
|
4482
|
+
deprecate :VideoEncodeParams, :none, 2024, 8
|
4483
|
+
deprecate :VideoEncodeParams=, :none, 2024, 8
|
4484
|
+
deprecate :AudioEncodeParams, :none, 2024, 8
|
4485
|
+
deprecate :AudioEncodeParams=, :none, 2024, 8
|
4486
|
+
deprecate :SourceUrl, :none, 2024, 8
|
4487
|
+
deprecate :SourceUrl=, :none, 2024, 8
|
4483
4488
|
|
4484
4489
|
def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil)
|
4485
4490
|
@SdkAppId = sdkappid
|
@@ -5126,10 +5131,10 @@ module TencentCloud
|
|
5126
5131
|
|
5127
5132
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId
|
5128
5133
|
extend Gem::Deprecate
|
5129
|
-
deprecate :IMAdminUserId, :none, 2024,
|
5130
|
-
deprecate :IMAdminUserId=, :none, 2024,
|
5131
|
-
deprecate :IMAdminUserSig, :none, 2024,
|
5132
|
-
deprecate :IMAdminUserSig=, :none, 2024,
|
5134
|
+
deprecate :IMAdminUserId, :none, 2024, 8
|
5135
|
+
deprecate :IMAdminUserId=, :none, 2024, 8
|
5136
|
+
deprecate :IMAdminUserSig, :none, 2024, 8
|
5137
|
+
deprecate :IMAdminUserSig=, :none, 2024, 8
|
5133
5138
|
|
5134
5139
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil)
|
5135
5140
|
@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.878
|
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-
|
11
|
+
date: 2024-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|