tencentcloud-sdk-trtc 3.0.952 → 3.0.954
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 +107 -20
- 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: 52b4c3625dae83699277ec3c71cd2fe879136c40
|
4
|
+
data.tar.gz: d9ab0af69949f6244287794371190d3c27de1392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce313a95f0f8c9fc4781b6bdf248842462b3e36f27132e6127163bbd94acd6654ff98972f123f8e414313a9103607d4211109551014b7034bd0879191193d42
|
7
|
+
data.tar.gz: b6a264e9e7710374c159c8a15f91b7826eae98909bb6b37bbbce5897e0de0c0fc55de28cb61ad73b2424b2ca0a51d2f1e85efc36f91fcb302001ff20d7d0d778
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.954
|
data/lib/v20190722/models.rb
CHANGED
@@ -93,10 +93,14 @@ module TencentCloud
|
|
93
93
|
# @type InterruptMode: Integer
|
94
94
|
# @param InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
|
95
95
|
# @type InterruptSpeechDuration: Integer
|
96
|
+
# @param TurnDetectionMode: 控制新一轮对话的触发方式,默认为0。
|
97
|
+
# - 0表示当服务端语音识别检测出的完整一句话后,自动触发一轮新的对话。
|
98
|
+
# - 1表示客户端在收到字幕消息后,自行决定是否手动发送聊天信令触发一轮新的对话。
|
99
|
+
# @type TurnDetectionMode: Integer
|
96
100
|
|
97
|
-
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration
|
101
|
+
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration, :TurnDetectionMode
|
98
102
|
|
99
|
-
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil)
|
103
|
+
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil, turndetectionmode=nil)
|
100
104
|
@UserId = userid
|
101
105
|
@UserSig = usersig
|
102
106
|
@TargetUserId = targetuserid
|
@@ -104,6 +108,7 @@ module TencentCloud
|
|
104
108
|
@WelcomeMessage = welcomemessage
|
105
109
|
@InterruptMode = interruptmode
|
106
110
|
@InterruptSpeechDuration = interruptspeechduration
|
111
|
+
@TurnDetectionMode = turndetectionmode
|
107
112
|
end
|
108
113
|
|
109
114
|
def deserialize(params)
|
@@ -114,6 +119,7 @@ module TencentCloud
|
|
114
119
|
@WelcomeMessage = params['WelcomeMessage']
|
115
120
|
@InterruptMode = params['InterruptMode']
|
116
121
|
@InterruptSpeechDuration = params['InterruptSpeechDuration']
|
122
|
+
@TurnDetectionMode = params['TurnDetectionMode']
|
117
123
|
end
|
118
124
|
end
|
119
125
|
|
@@ -226,6 +232,74 @@ module TencentCloud
|
|
226
232
|
end
|
227
233
|
end
|
228
234
|
|
235
|
+
# 审核存储参数
|
236
|
+
class AuditStorageParams < TencentCloud::Common::AbstractModel
|
237
|
+
# @param CloudAuditStorage: 腾讯云对象存储COS以及第三方云存储的账号信息
|
238
|
+
# @type CloudAuditStorage: :class:`Tencentcloud::Trtc.v20190722.models.CloudAuditStorage`
|
239
|
+
|
240
|
+
attr_accessor :CloudAuditStorage
|
241
|
+
|
242
|
+
def initialize(cloudauditstorage=nil)
|
243
|
+
@CloudAuditStorage = cloudauditstorage
|
244
|
+
end
|
245
|
+
|
246
|
+
def deserialize(params)
|
247
|
+
unless params['CloudAuditStorage'].nil?
|
248
|
+
@CloudAuditStorage = CloudAuditStorage.new
|
249
|
+
@CloudAuditStorage.deserialize(params['CloudAuditStorage'])
|
250
|
+
end
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
# 腾讯云对象存储COS以及第三方云存储的账号信息
|
255
|
+
class CloudAuditStorage < TencentCloud::Common::AbstractModel
|
256
|
+
# @param Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
|
257
|
+
# 0:腾讯云对象存储 COS
|
258
|
+
# 1:AWS
|
259
|
+
# 【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
|
260
|
+
# 示例值:0
|
261
|
+
# @type Vendor: Integer
|
262
|
+
# @param Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
|
263
|
+
# 示例值:cn-shanghai-1
|
264
|
+
|
265
|
+
# AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
|
266
|
+
# 示例值:ap-southeast-3
|
267
|
+
# @type Region: String
|
268
|
+
# @param Bucket: 云存储桶名称。
|
269
|
+
# @type Bucket: String
|
270
|
+
# @param AccessKey: 云存储的access_key账号信息。
|
271
|
+
# 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
|
272
|
+
# 示例值:test-accesskey
|
273
|
+
# @type AccessKey: String
|
274
|
+
# @param SecretKey: 云存储的secret_key账号信息。
|
275
|
+
# 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
|
276
|
+
# 示例值:test-secretkey
|
277
|
+
# @type SecretKey: String
|
278
|
+
# @param FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
|
279
|
+
# 示例值:["prefix1", "prefix2"]
|
280
|
+
# @type FileNamePrefix: Array
|
281
|
+
|
282
|
+
attr_accessor :Vendor, :Region, :Bucket, :AccessKey, :SecretKey, :FileNamePrefix
|
283
|
+
|
284
|
+
def initialize(vendor=nil, region=nil, bucket=nil, accesskey=nil, secretkey=nil, filenameprefix=nil)
|
285
|
+
@Vendor = vendor
|
286
|
+
@Region = region
|
287
|
+
@Bucket = bucket
|
288
|
+
@AccessKey = accesskey
|
289
|
+
@SecretKey = secretkey
|
290
|
+
@FileNamePrefix = filenameprefix
|
291
|
+
end
|
292
|
+
|
293
|
+
def deserialize(params)
|
294
|
+
@Vendor = params['Vendor']
|
295
|
+
@Region = params['Region']
|
296
|
+
@Bucket = params['Bucket']
|
297
|
+
@AccessKey = params['AccessKey']
|
298
|
+
@SecretKey = params['SecretKey']
|
299
|
+
@FileNamePrefix = params['FileNamePrefix']
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
229
303
|
# 腾讯云对象存储COS以及第三方云存储的账号信息
|
230
304
|
class CloudStorage < TencentCloud::Common::AbstractModel
|
231
305
|
# @param Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
|
@@ -344,14 +418,17 @@ module TencentCloud
|
|
344
418
|
# @type UserId: String
|
345
419
|
# @param RoomIdType: TRTC房间号的类型。【*注意】必须和TRTC的房间所对应的RoomId类型相同:0: 字符串类型的RoomId1: 32位整型的RoomId(默认)
|
346
420
|
# @type RoomIdType: Integer
|
421
|
+
# @param AuditStorageParams: 音频文件上传到云存储的参数
|
422
|
+
# @type AuditStorageParams: :class:`Tencentcloud::Trtc.v20190722.models.AuditStorageParams`
|
347
423
|
|
348
|
-
attr_accessor :SdkAppId, :RoomId, :UserId, :RoomIdType
|
424
|
+
attr_accessor :SdkAppId, :RoomId, :UserId, :RoomIdType, :AuditStorageParams
|
349
425
|
|
350
|
-
def initialize(sdkappid=nil, roomid=nil, userid=nil, roomidtype=nil)
|
426
|
+
def initialize(sdkappid=nil, roomid=nil, userid=nil, roomidtype=nil, auditstorageparams=nil)
|
351
427
|
@SdkAppId = sdkappid
|
352
428
|
@RoomId = roomid
|
353
429
|
@UserId = userid
|
354
430
|
@RoomIdType = roomidtype
|
431
|
+
@AuditStorageParams = auditstorageparams
|
355
432
|
end
|
356
433
|
|
357
434
|
def deserialize(params)
|
@@ -359,6 +436,10 @@ module TencentCloud
|
|
359
436
|
@RoomId = params['RoomId']
|
360
437
|
@UserId = params['UserId']
|
361
438
|
@RoomIdType = params['RoomIdType']
|
439
|
+
unless params['AuditStorageParams'].nil?
|
440
|
+
@AuditStorageParams = AuditStorageParams.new
|
441
|
+
@AuditStorageParams.deserialize(params['AuditStorageParams'])
|
442
|
+
end
|
362
443
|
end
|
363
444
|
end
|
364
445
|
|
@@ -3834,10 +3915,10 @@ module TencentCloud
|
|
3834
3915
|
|
3835
3916
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage
|
3836
3917
|
extend Gem::Deprecate
|
3837
|
-
deprecate :Model, :none, 2024,
|
3838
|
-
deprecate :Model=, :none, 2024,
|
3839
|
-
deprecate :TranslationLanguage, :none, 2024,
|
3840
|
-
deprecate :TranslationLanguage=, :none, 2024,
|
3918
|
+
deprecate :Model, :none, 2024, 12
|
3919
|
+
deprecate :Model=, :none, 2024, 12
|
3920
|
+
deprecate :TranslationLanguage, :none, 2024, 12
|
3921
|
+
deprecate :TranslationLanguage=, :none, 2024, 12
|
3841
3922
|
|
3842
3923
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil)
|
3843
3924
|
@Language = language
|
@@ -4288,19 +4369,25 @@ module TencentCloud
|
|
4288
4369
|
# @type Interrupt: Boolean
|
4289
4370
|
# @param StopAfterPlay: 播报完文本后,是否自动关闭对话任务
|
4290
4371
|
# @type StopAfterPlay: Boolean
|
4372
|
+
# @param Audio: 服务端推送播报音频
|
4373
|
+
# 格式说明:音频以16KHz采样率的单声道格式提供,编码为Base64字符串。
|
4374
|
+
# 输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
|
4375
|
+
# @type Audio: String
|
4291
4376
|
|
4292
|
-
attr_accessor :Text, :Interrupt, :StopAfterPlay
|
4377
|
+
attr_accessor :Text, :Interrupt, :StopAfterPlay, :Audio
|
4293
4378
|
|
4294
|
-
def initialize(text=nil, interrupt=nil, stopafterplay=nil)
|
4379
|
+
def initialize(text=nil, interrupt=nil, stopafterplay=nil, audio=nil)
|
4295
4380
|
@Text = text
|
4296
4381
|
@Interrupt = interrupt
|
4297
4382
|
@StopAfterPlay = stopafterplay
|
4383
|
+
@Audio = audio
|
4298
4384
|
end
|
4299
4385
|
|
4300
4386
|
def deserialize(params)
|
4301
4387
|
@Text = params['Text']
|
4302
4388
|
@Interrupt = params['Interrupt']
|
4303
4389
|
@StopAfterPlay = params['StopAfterPlay']
|
4390
|
+
@Audio = params['Audio']
|
4304
4391
|
end
|
4305
4392
|
end
|
4306
4393
|
|
@@ -4778,12 +4865,12 @@ module TencentCloud
|
|
4778
4865
|
|
4779
4866
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
|
4780
4867
|
extend Gem::Deprecate
|
4781
|
-
deprecate :VideoEncodeParams, :none, 2024,
|
4782
|
-
deprecate :VideoEncodeParams=, :none, 2024,
|
4783
|
-
deprecate :AudioEncodeParams, :none, 2024,
|
4784
|
-
deprecate :AudioEncodeParams=, :none, 2024,
|
4785
|
-
deprecate :SourceUrl, :none, 2024,
|
4786
|
-
deprecate :SourceUrl=, :none, 2024,
|
4868
|
+
deprecate :VideoEncodeParams, :none, 2024, 12
|
4869
|
+
deprecate :VideoEncodeParams=, :none, 2024, 12
|
4870
|
+
deprecate :AudioEncodeParams, :none, 2024, 12
|
4871
|
+
deprecate :AudioEncodeParams=, :none, 2024, 12
|
4872
|
+
deprecate :SourceUrl, :none, 2024, 12
|
4873
|
+
deprecate :SourceUrl=, :none, 2024, 12
|
4787
4874
|
|
4788
4875
|
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)
|
4789
4876
|
@SdkAppId = sdkappid
|
@@ -5430,10 +5517,10 @@ module TencentCloud
|
|
5430
5517
|
|
5431
5518
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList
|
5432
5519
|
extend Gem::Deprecate
|
5433
|
-
deprecate :IMAdminUserId, :none, 2024,
|
5434
|
-
deprecate :IMAdminUserId=, :none, 2024,
|
5435
|
-
deprecate :IMAdminUserSig, :none, 2024,
|
5436
|
-
deprecate :IMAdminUserSig=, :none, 2024,
|
5520
|
+
deprecate :IMAdminUserId, :none, 2024, 12
|
5521
|
+
deprecate :IMAdminUserId=, :none, 2024, 12
|
5522
|
+
deprecate :IMAdminUserSig, :none, 2024, 12
|
5523
|
+
deprecate :IMAdminUserSig=, :none, 2024, 12
|
5437
5524
|
|
5438
5525
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil)
|
5439
5526
|
@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.954
|
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-12-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|