tencentcloud-sdk-trtc 3.0.1094 → 3.0.1103
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/client.rb +202 -0
- data/lib/v20190722/models.rb +715 -0
- 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: 1ad406faff16746cd1bdedb052f9c873376c652d
|
4
|
+
data.tar.gz: 919212657d2228ade6b945694a4af5e51ec959bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a59249df93eabc19cfbb3dc75795d5a62a42fde43070f9358ede0aa9dba9327185d209df7a93dd27a85e3c97783a4b69e53688e7afd10e827d3634340363936d
|
7
|
+
data.tar.gz: cd45fbd49bf0d0553b5421c36c58f02ec67732eabd0aa7702645235ad4b2bd0b313949b93df64a67950f7f3c0ba13ccc185590a048952147f9f4c516025686f8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1103
|
data/lib/v20190722/client.rb
CHANGED
@@ -78,6 +78,35 @@ module TencentCloud
|
|
78
78
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
79
79
|
end
|
80
80
|
|
81
|
+
# 接口说明:
|
82
|
+
# 启动云端审核功能,完成房间内的音视频切片,视频截帧,或者录制音频流,送审到指定的审核商,完成审核。
|
83
|
+
|
84
|
+
# 您可以通过此接口实现如下目标:
|
85
|
+
# * 指定审核参数(ModerationParams)来指定审核需要的详细参数。
|
86
|
+
# * 指定存储参数(ModerationStorageParams)将命中的审核文件指定上传到您希望的云存储,目前支持腾讯云(对象存储COS)和第三方AWS
|
87
|
+
|
88
|
+
# @param request: Request instance for CreateCloudModeration.
|
89
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::CreateCloudModerationRequest`
|
90
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::CreateCloudModerationResponse`
|
91
|
+
def CreateCloudModeration(request)
|
92
|
+
body = send_request('CreateCloudModeration', request.serialize)
|
93
|
+
response = JSON.parse(body)
|
94
|
+
if response['Response'].key?('Error') == false
|
95
|
+
model = CreateCloudModerationResponse.new
|
96
|
+
model.deserialize(response['Response'])
|
97
|
+
model
|
98
|
+
else
|
99
|
+
code = response['Response']['Error']['Code']
|
100
|
+
message = response['Response']['Error']['Message']
|
101
|
+
reqid = response['Response']['RequestId']
|
102
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
103
|
+
end
|
104
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
105
|
+
raise e
|
106
|
+
rescue StandardError => e
|
107
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
108
|
+
end
|
109
|
+
|
81
110
|
# 接口说明:
|
82
111
|
# 启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。
|
83
112
|
|
@@ -113,6 +142,35 @@ module TencentCloud
|
|
113
142
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
114
143
|
end
|
115
144
|
|
145
|
+
# 接口说明:
|
146
|
+
# 启动云端切片功能,完成房间内的音视频切片,并上传到指定的云存储。
|
147
|
+
|
148
|
+
# 您可以通过此接口实现如下目标:
|
149
|
+
# * 指定切片参数(SliceParams)来指定需要切片的主播的黑名单或者白名单。
|
150
|
+
# * 指定存储参数(SliceStorageParams)来指定上传到您希望的云存储,目前支持腾讯云(对象存储COS)和第三方AWS
|
151
|
+
|
152
|
+
# @param request: Request instance for CreateCloudSliceTask.
|
153
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::CreateCloudSliceTaskRequest`
|
154
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::CreateCloudSliceTaskResponse`
|
155
|
+
def CreateCloudSliceTask(request)
|
156
|
+
body = send_request('CreateCloudSliceTask', request.serialize)
|
157
|
+
response = JSON.parse(body)
|
158
|
+
if response['Response'].key?('Error') == false
|
159
|
+
model = CreateCloudSliceTaskResponse.new
|
160
|
+
model.deserialize(response['Response'])
|
161
|
+
model
|
162
|
+
else
|
163
|
+
code = response['Response']['Error']['Code']
|
164
|
+
message = response['Response']['Error']['Message']
|
165
|
+
reqid = response['Response']['RequestId']
|
166
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
167
|
+
end
|
168
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
169
|
+
raise e
|
170
|
+
rescue StandardError => e
|
171
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
172
|
+
end
|
173
|
+
|
116
174
|
# 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁新增自定义背景图或水印,可通过此接口上传新的图片素材。无需频繁新增图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
117
175
|
|
118
176
|
# @param request: Request instance for CreatePicture.
|
@@ -161,6 +219,30 @@ module TencentCloud
|
|
161
219
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
162
220
|
end
|
163
221
|
|
222
|
+
# 成功开启云端审核任务后,可以使用此接口来停止送审。
|
223
|
+
|
224
|
+
# @param request: Request instance for DeleteCloudModeration.
|
225
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DeleteCloudModerationRequest`
|
226
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DeleteCloudModerationResponse`
|
227
|
+
def DeleteCloudModeration(request)
|
228
|
+
body = send_request('DeleteCloudModeration', request.serialize)
|
229
|
+
response = JSON.parse(body)
|
230
|
+
if response['Response'].key?('Error') == false
|
231
|
+
model = DeleteCloudModerationResponse.new
|
232
|
+
model.deserialize(response['Response'])
|
233
|
+
model
|
234
|
+
else
|
235
|
+
code = response['Response']['Error']['Code']
|
236
|
+
message = response['Response']['Error']['Message']
|
237
|
+
reqid = response['Response']['RequestId']
|
238
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
239
|
+
end
|
240
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
241
|
+
raise e
|
242
|
+
rescue StandardError => e
|
243
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
244
|
+
end
|
245
|
+
|
164
246
|
# 成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
165
247
|
|
166
248
|
# @param request: Request instance for DeleteCloudRecording.
|
@@ -185,6 +267,30 @@ module TencentCloud
|
|
185
267
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
186
268
|
end
|
187
269
|
|
270
|
+
# 成功开启切片任务后,可以使用此接口来停止任务。停止切片成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
271
|
+
|
272
|
+
# @param request: Request instance for DeleteCloudSliceTask.
|
273
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DeleteCloudSliceTaskRequest`
|
274
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DeleteCloudSliceTaskResponse`
|
275
|
+
def DeleteCloudSliceTask(request)
|
276
|
+
body = send_request('DeleteCloudSliceTask', request.serialize)
|
277
|
+
response = JSON.parse(body)
|
278
|
+
if response['Response'].key?('Error') == false
|
279
|
+
model = DeleteCloudSliceTaskResponse.new
|
280
|
+
model.deserialize(response['Response'])
|
281
|
+
model
|
282
|
+
else
|
283
|
+
code = response['Response']['Error']['Code']
|
284
|
+
message = response['Response']['Error']['Message']
|
285
|
+
reqid = response['Response']['RequestId']
|
286
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
287
|
+
end
|
288
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
289
|
+
raise e
|
290
|
+
rescue StandardError => e
|
291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
292
|
+
end
|
293
|
+
|
188
294
|
# 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
189
295
|
|
190
296
|
# @param request: Request instance for DeletePicture.
|
@@ -310,6 +416,30 @@ module TencentCloud
|
|
310
416
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
311
417
|
end
|
312
418
|
|
419
|
+
# 成功开启审核任务后,可以使用此接口来查询审核任务状态和订阅的黑白名单信息。仅在任务进行时有效,任务退出后查询将会返回错误。
|
420
|
+
|
421
|
+
# @param request: Request instance for DescribeCloudModeration.
|
422
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeCloudModerationRequest`
|
423
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeCloudModerationResponse`
|
424
|
+
def DescribeCloudModeration(request)
|
425
|
+
body = send_request('DescribeCloudModeration', request.serialize)
|
426
|
+
response = JSON.parse(body)
|
427
|
+
if response['Response'].key?('Error') == false
|
428
|
+
model = DescribeCloudModerationResponse.new
|
429
|
+
model.deserialize(response['Response'])
|
430
|
+
model
|
431
|
+
else
|
432
|
+
code = response['Response']['Error']['Code']
|
433
|
+
message = response['Response']['Error']['Message']
|
434
|
+
reqid = response['Response']['RequestId']
|
435
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
436
|
+
end
|
437
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
438
|
+
raise e
|
439
|
+
rescue StandardError => e
|
440
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
441
|
+
end
|
442
|
+
|
313
443
|
# 成功开启录制后,可以使用此接口来查询录制状态。仅在录制任务进行时有效,录制退出后查询将会返回错误。
|
314
444
|
# 录制文件上传到云点播VOD时,StorageFileList中不会返回录制文件信息,请订阅相关录制文件回调事件,获取录制文件信息。
|
315
445
|
|
@@ -335,6 +465,30 @@ module TencentCloud
|
|
335
465
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
336
466
|
end
|
337
467
|
|
468
|
+
# 成功开启切片后,可以使用此接口来查询切片任务状态。仅在任务进行时有效,任务退出后查询将会返回错误。
|
469
|
+
|
470
|
+
# @param request: Request instance for DescribeCloudSliceTask.
|
471
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeCloudSliceTaskRequest`
|
472
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeCloudSliceTaskResponse`
|
473
|
+
def DescribeCloudSliceTask(request)
|
474
|
+
body = send_request('DescribeCloudSliceTask', request.serialize)
|
475
|
+
response = JSON.parse(body)
|
476
|
+
if response['Response'].key?('Error') == false
|
477
|
+
model = DescribeCloudSliceTaskResponse.new
|
478
|
+
model.deserialize(response['Response'])
|
479
|
+
model
|
480
|
+
else
|
481
|
+
code = response['Response']['Error']['Code']
|
482
|
+
message = response['Response']['Error']['Message']
|
483
|
+
reqid = response['Response']['RequestId']
|
484
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
485
|
+
end
|
486
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
487
|
+
raise e
|
488
|
+
rescue StandardError => e
|
489
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
490
|
+
end
|
491
|
+
|
338
492
|
# 获取TRTC混流转码的用量明细。
|
339
493
|
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
340
494
|
# - 单次查询统计区间最多不能超过31天。
|
@@ -1055,6 +1209,30 @@ module TencentCloud
|
|
1055
1209
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1056
1210
|
end
|
1057
1211
|
|
1212
|
+
# 成功开启云端审核任务后,可以使用此接口来更新订阅黑白名单。
|
1213
|
+
|
1214
|
+
# @param request: Request instance for ModifyCloudModeration.
|
1215
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::ModifyCloudModerationRequest`
|
1216
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::ModifyCloudModerationResponse`
|
1217
|
+
def ModifyCloudModeration(request)
|
1218
|
+
body = send_request('ModifyCloudModeration', request.serialize)
|
1219
|
+
response = JSON.parse(body)
|
1220
|
+
if response['Response'].key?('Error') == false
|
1221
|
+
model = ModifyCloudModerationResponse.new
|
1222
|
+
model.deserialize(response['Response'])
|
1223
|
+
model
|
1224
|
+
else
|
1225
|
+
code = response['Response']['Error']['Code']
|
1226
|
+
message = response['Response']['Error']['Message']
|
1227
|
+
reqid = response['Response']['RequestId']
|
1228
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1229
|
+
end
|
1230
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1231
|
+
raise e
|
1232
|
+
rescue StandardError => e
|
1233
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1234
|
+
end
|
1235
|
+
|
1058
1236
|
# 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
1059
1237
|
|
1060
1238
|
# @param request: Request instance for ModifyCloudRecording.
|
@@ -1079,6 +1257,30 @@ module TencentCloud
|
|
1079
1257
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1080
1258
|
end
|
1081
1259
|
|
1260
|
+
# 成功开启切片任务后,可以使用此接口来更新任务。用于更新指定订阅流白名单或者黑名单。
|
1261
|
+
|
1262
|
+
# @param request: Request instance for ModifyCloudSliceTask.
|
1263
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::ModifyCloudSliceTaskRequest`
|
1264
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::ModifyCloudSliceTaskResponse`
|
1265
|
+
def ModifyCloudSliceTask(request)
|
1266
|
+
body = send_request('ModifyCloudSliceTask', request.serialize)
|
1267
|
+
response = JSON.parse(body)
|
1268
|
+
if response['Response'].key?('Error') == false
|
1269
|
+
model = ModifyCloudSliceTaskResponse.new
|
1270
|
+
model.deserialize(response['Response'])
|
1271
|
+
model
|
1272
|
+
else
|
1273
|
+
code = response['Response']['Error']['Code']
|
1274
|
+
message = response['Response']['Error']['Message']
|
1275
|
+
reqid = response['Response']['RequestId']
|
1276
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1277
|
+
end
|
1278
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1279
|
+
raise e
|
1280
|
+
rescue StandardError => e
|
1281
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1282
|
+
end
|
1283
|
+
|
1082
1284
|
# 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
1083
1285
|
|
1084
1286
|
# @param request: Request instance for ModifyPicture.
|
data/lib/v20190722/models.rb
CHANGED
@@ -362,6 +362,102 @@ module TencentCloud
|
|
362
362
|
end
|
363
363
|
end
|
364
364
|
|
365
|
+
# 腾讯云对象存储COS以及第三方云存储的账号信息
|
366
|
+
class CloudModerationStorage < TencentCloud::Common::AbstractModel
|
367
|
+
# @param Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
|
368
|
+
# 0:腾讯云对象存储 COS
|
369
|
+
# 1:AWS S3
|
370
|
+
# 2: 阿里云 OSS
|
371
|
+
# 示例值:0
|
372
|
+
# @type Vendor: Integer
|
373
|
+
# @param Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
|
374
|
+
# 示例值:cn-shanghai-1
|
375
|
+
|
376
|
+
# AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
|
377
|
+
# 示例值:ap-southeast-3
|
378
|
+
# @type Region: String
|
379
|
+
# @param Bucket: 云存储桶名称。
|
380
|
+
# @type Bucket: String
|
381
|
+
# @param AccessKey: 云存储的access_key账号信息。
|
382
|
+
# 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
|
383
|
+
# 示例值:test-accesskey
|
384
|
+
# @type AccessKey: String
|
385
|
+
# @param SecretKey: 云存储的secret_key账号信息。
|
386
|
+
# 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
|
387
|
+
# 示例值:test-secretkey
|
388
|
+
# @type SecretKey: String
|
389
|
+
# @param FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,切片文件xxx.mp3在 ["prefix1", "prefix2"]作用下,音频切片文件会变成prefix1/prefix2/{taskId}/{userId}/audios/{sdkappid}_{roomId}_{userid}_{UTC时间}.ogg,视频截帧会变成prefix1/prefix2/{taskId}/{userId}/images/{sdkappid}_{roomId}_{userid}_{UTC时间}.png
|
390
|
+
# @type FileNamePrefix: Array
|
391
|
+
|
392
|
+
attr_accessor :Vendor, :Region, :Bucket, :AccessKey, :SecretKey, :FileNamePrefix
|
393
|
+
|
394
|
+
def initialize(vendor=nil, region=nil, bucket=nil, accesskey=nil, secretkey=nil, filenameprefix=nil)
|
395
|
+
@Vendor = vendor
|
396
|
+
@Region = region
|
397
|
+
@Bucket = bucket
|
398
|
+
@AccessKey = accesskey
|
399
|
+
@SecretKey = secretkey
|
400
|
+
@FileNamePrefix = filenameprefix
|
401
|
+
end
|
402
|
+
|
403
|
+
def deserialize(params)
|
404
|
+
@Vendor = params['Vendor']
|
405
|
+
@Region = params['Region']
|
406
|
+
@Bucket = params['Bucket']
|
407
|
+
@AccessKey = params['AccessKey']
|
408
|
+
@SecretKey = params['SecretKey']
|
409
|
+
@FileNamePrefix = params['FileNamePrefix']
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
# 腾讯云对象存储COS以及第三方云存储的账号信息
|
414
|
+
class CloudSliceStorage < TencentCloud::Common::AbstractModel
|
415
|
+
# @param Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
|
416
|
+
# 0:腾讯云对象存储 COS
|
417
|
+
# 1:AWS S3
|
418
|
+
# 2: 阿里云 OSS
|
419
|
+
# 示例值:0
|
420
|
+
# @type Vendor: Integer
|
421
|
+
# @param Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
|
422
|
+
# 示例值:cn-shanghai-1
|
423
|
+
|
424
|
+
# AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
|
425
|
+
# 示例值:ap-southeast-3
|
426
|
+
# @type Region: String
|
427
|
+
# @param Bucket: 云存储桶名称。
|
428
|
+
# @type Bucket: String
|
429
|
+
# @param AccessKey: 云存储的access_key账号信息。
|
430
|
+
# 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
|
431
|
+
# 示例值:test-accesskey
|
432
|
+
# @type AccessKey: String
|
433
|
+
# @param SecretKey: 云存储的secret_key账号信息。
|
434
|
+
# 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
|
435
|
+
# 示例值:test-secretkey
|
436
|
+
# @type SecretKey: String
|
437
|
+
# @param FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,切片文件xxx.mp3在 ["prefix1", "prefix2"]作用下,音频切片文件会变成prefix1/prefix2/{taskId}/{userId}/audios/{sdkappid}_{roomId}_{userid}_{UTC时间}.ogg,视频截帧会变成prefix1/prefix2/{taskId}/{userId}/images/{sdkappid}_{roomId}_{userid}_{UTC时间}.png
|
438
|
+
# @type FileNamePrefix: Array
|
439
|
+
|
440
|
+
attr_accessor :Vendor, :Region, :Bucket, :AccessKey, :SecretKey, :FileNamePrefix
|
441
|
+
|
442
|
+
def initialize(vendor=nil, region=nil, bucket=nil, accesskey=nil, secretkey=nil, filenameprefix=nil)
|
443
|
+
@Vendor = vendor
|
444
|
+
@Region = region
|
445
|
+
@Bucket = bucket
|
446
|
+
@AccessKey = accesskey
|
447
|
+
@SecretKey = secretkey
|
448
|
+
@FileNamePrefix = filenameprefix
|
449
|
+
end
|
450
|
+
|
451
|
+
def deserialize(params)
|
452
|
+
@Vendor = params['Vendor']
|
453
|
+
@Region = params['Region']
|
454
|
+
@Bucket = params['Bucket']
|
455
|
+
@AccessKey = params['AccessKey']
|
456
|
+
@SecretKey = params['SecretKey']
|
457
|
+
@FileNamePrefix = params['FileNamePrefix']
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
365
461
|
# 腾讯云对象存储COS以及第三方云存储的账号信息
|
366
462
|
class CloudStorage < TencentCloud::Common::AbstractModel
|
367
463
|
# @param Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
|
@@ -525,6 +621,76 @@ module TencentCloud
|
|
525
621
|
end
|
526
622
|
end
|
527
623
|
|
624
|
+
# CreateCloudModeration请求参数结构体
|
625
|
+
class CreateCloudModerationRequest < TencentCloud::Common::AbstractModel
|
626
|
+
# @param SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和TRTC的房间所对应的SdkAppId相同。
|
627
|
+
# @type SdkAppId: Integer
|
628
|
+
# @param RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),为TRTC房间所对应的RoomId。
|
629
|
+
# @type RoomId: String
|
630
|
+
# @param UserId: 机器人的UserId,用于进房发起审核任务。【*注意】这个UserId不能与当前房间内的主播观众UserId重复。如果一个房间发起多个切片任务时,机器人的userid也不能相互重复,否则会中断前一个切片任务。建议可以把房间ID作为UserId的标识的一部分,即机器人UserId在房间内唯一。
|
631
|
+
# @type UserId: String
|
632
|
+
# @param UserSig: 机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算UserSig的方案。
|
633
|
+
# @type UserSig: String
|
634
|
+
# @param ModerationParams: 云端审核控制参数。
|
635
|
+
# @type ModerationParams: :class:`Tencentcloud::Trtc.v20190722.models.ModerationParams`
|
636
|
+
# @param ModerationStorageParams: 云端审核文件上传到云存储的参数
|
637
|
+
# @type ModerationStorageParams: :class:`Tencentcloud::Trtc.v20190722.models.ModerationStorageParams`
|
638
|
+
# @param RoomIdType: TRTC房间号的类型。 【*注意】必须和录制的房间所对应的RoomId类型相同: 0: 字符串类型的RoomId 1: 32位整型的RoomId(默认) 示例值:1
|
639
|
+
# @type RoomIdType: Integer
|
640
|
+
# @param ResourceExpiredHour: 任务ID可以调用的时效性,从成功开启任务并获得TaskID后开始计算,超时后无法调用查询、更新和停止等接口,但是切片任务不会停止。 参数的单位是小时,默认24小时(1天),最大可设置72小时(3天),最小设置6小时。举例说明:如果不设置该参数,那么开始切片成功后,查询、更新和停止切片的调用时效为24个小时。
|
641
|
+
# @type ResourceExpiredHour: Integer
|
642
|
+
|
643
|
+
attr_accessor :SdkAppId, :RoomId, :UserId, :UserSig, :ModerationParams, :ModerationStorageParams, :RoomIdType, :ResourceExpiredHour
|
644
|
+
|
645
|
+
def initialize(sdkappid=nil, roomid=nil, userid=nil, usersig=nil, moderationparams=nil, moderationstorageparams=nil, roomidtype=nil, resourceexpiredhour=nil)
|
646
|
+
@SdkAppId = sdkappid
|
647
|
+
@RoomId = roomid
|
648
|
+
@UserId = userid
|
649
|
+
@UserSig = usersig
|
650
|
+
@ModerationParams = moderationparams
|
651
|
+
@ModerationStorageParams = moderationstorageparams
|
652
|
+
@RoomIdType = roomidtype
|
653
|
+
@ResourceExpiredHour = resourceexpiredhour
|
654
|
+
end
|
655
|
+
|
656
|
+
def deserialize(params)
|
657
|
+
@SdkAppId = params['SdkAppId']
|
658
|
+
@RoomId = params['RoomId']
|
659
|
+
@UserId = params['UserId']
|
660
|
+
@UserSig = params['UserSig']
|
661
|
+
unless params['ModerationParams'].nil?
|
662
|
+
@ModerationParams = ModerationParams.new
|
663
|
+
@ModerationParams.deserialize(params['ModerationParams'])
|
664
|
+
end
|
665
|
+
unless params['ModerationStorageParams'].nil?
|
666
|
+
@ModerationStorageParams = ModerationStorageParams.new
|
667
|
+
@ModerationStorageParams.deserialize(params['ModerationStorageParams'])
|
668
|
+
end
|
669
|
+
@RoomIdType = params['RoomIdType']
|
670
|
+
@ResourceExpiredHour = params['ResourceExpiredHour']
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
# CreateCloudModeration返回参数结构体
|
675
|
+
class CreateCloudModerationResponse < TencentCloud::Common::AbstractModel
|
676
|
+
# @param TaskId: 云端审核服务分配的任务ID。任务ID是对一次切片任务生命周期过程的唯一标识,结束任务时会失去意义。任务ID需要业务保存下来,作为下次针对这个任务操作的参数
|
677
|
+
# @type TaskId: String
|
678
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
679
|
+
# @type RequestId: String
|
680
|
+
|
681
|
+
attr_accessor :TaskId, :RequestId
|
682
|
+
|
683
|
+
def initialize(taskid=nil, requestid=nil)
|
684
|
+
@TaskId = taskid
|
685
|
+
@RequestId = requestid
|
686
|
+
end
|
687
|
+
|
688
|
+
def deserialize(params)
|
689
|
+
@TaskId = params['TaskId']
|
690
|
+
@RequestId = params['RequestId']
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
528
694
|
# CreateCloudRecording请求参数结构体
|
529
695
|
class CreateCloudRecordingRequest < TencentCloud::Common::AbstractModel
|
530
696
|
# @param SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和录制的房间所对应的SdkAppId相同。
|
@@ -618,6 +784,80 @@ module TencentCloud
|
|
618
784
|
end
|
619
785
|
end
|
620
786
|
|
787
|
+
# CreateCloudSliceTask请求参数结构体
|
788
|
+
class CreateCloudSliceTaskRequest < TencentCloud::Common::AbstractModel
|
789
|
+
# @param SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和TRTC的房间所对应的SdkAppId相同。
|
790
|
+
# @type SdkAppId: Integer
|
791
|
+
# @param RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),为TRTC房间所对应的RoomId。
|
792
|
+
# @type RoomId: String
|
793
|
+
# @param UserId: 机器人的UserId,用于进房发起切片任务。【*注意】这个UserId不能与当前房间内的主播观众UserId重复。如果一个房间发起多个切片任务时,机器人的userid也不能相互重复,否则会中断前一个切片任务。建议可以把房间ID作为UserId的标识的一部分,即机器人UserId在房间内唯一。
|
794
|
+
# @type UserId: String
|
795
|
+
# @param UserSig: 机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算UserSig的方案。
|
796
|
+
# @type UserSig: String
|
797
|
+
# @param SliceParams: 云端切片控制参数。
|
798
|
+
# @type SliceParams: :class:`Tencentcloud::Trtc.v20190722.models.SliceParams`
|
799
|
+
# @param SliceStorageParams: 云端切片文件上传到云存储的参数
|
800
|
+
# @type SliceStorageParams: :class:`Tencentcloud::Trtc.v20190722.models.SliceStorageParams`
|
801
|
+
# @param RoomIdType: TRTC房间号的类型。 【*注意】必须和录制的房间所对应的RoomId类型相同: 0: 字符串类型的RoomId 1: 32位整型的RoomId(默认) 示例值:1
|
802
|
+
# @type RoomIdType: Integer
|
803
|
+
# @param ResourceExpiredHour: 接口可以调用的时效性,从成功开启录制并获得任务ID后开始计算,超时后无法调用查询、更新和停止等接口,但是录制任务不会停止。 参数的单位是小时,默认72小时(3天),最大可设置720小时(30天),最小设置6小时。举例说明:如果不设置该参数,那么开始录制成功后,查询、更新和停止录制的调用时效为72个小时。 示例值:24
|
804
|
+
# @type ResourceExpiredHour: Integer
|
805
|
+
# @param PrivateMapKey: TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey] 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。 示例值:eJw1jcEKgkAURX9FZlvY****fL9rfNX4_
|
806
|
+
# @type PrivateMapKey: String
|
807
|
+
|
808
|
+
attr_accessor :SdkAppId, :RoomId, :UserId, :UserSig, :SliceParams, :SliceStorageParams, :RoomIdType, :ResourceExpiredHour, :PrivateMapKey
|
809
|
+
|
810
|
+
def initialize(sdkappid=nil, roomid=nil, userid=nil, usersig=nil, sliceparams=nil, slicestorageparams=nil, roomidtype=nil, resourceexpiredhour=nil, privatemapkey=nil)
|
811
|
+
@SdkAppId = sdkappid
|
812
|
+
@RoomId = roomid
|
813
|
+
@UserId = userid
|
814
|
+
@UserSig = usersig
|
815
|
+
@SliceParams = sliceparams
|
816
|
+
@SliceStorageParams = slicestorageparams
|
817
|
+
@RoomIdType = roomidtype
|
818
|
+
@ResourceExpiredHour = resourceexpiredhour
|
819
|
+
@PrivateMapKey = privatemapkey
|
820
|
+
end
|
821
|
+
|
822
|
+
def deserialize(params)
|
823
|
+
@SdkAppId = params['SdkAppId']
|
824
|
+
@RoomId = params['RoomId']
|
825
|
+
@UserId = params['UserId']
|
826
|
+
@UserSig = params['UserSig']
|
827
|
+
unless params['SliceParams'].nil?
|
828
|
+
@SliceParams = SliceParams.new
|
829
|
+
@SliceParams.deserialize(params['SliceParams'])
|
830
|
+
end
|
831
|
+
unless params['SliceStorageParams'].nil?
|
832
|
+
@SliceStorageParams = SliceStorageParams.new
|
833
|
+
@SliceStorageParams.deserialize(params['SliceStorageParams'])
|
834
|
+
end
|
835
|
+
@RoomIdType = params['RoomIdType']
|
836
|
+
@ResourceExpiredHour = params['ResourceExpiredHour']
|
837
|
+
@PrivateMapKey = params['PrivateMapKey']
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
# CreateCloudSliceTask返回参数结构体
|
842
|
+
class CreateCloudSliceTaskResponse < TencentCloud::Common::AbstractModel
|
843
|
+
# @param TaskId: 云端切片服务分配的任务ID。任务ID是对一次切片任务生命周期过程的唯一标识,结束任务时会失去意义。任务ID需要业务保存下来,作为下次针对这个任务操作的参数
|
844
|
+
# @type TaskId: String
|
845
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
846
|
+
# @type RequestId: String
|
847
|
+
|
848
|
+
attr_accessor :TaskId, :RequestId
|
849
|
+
|
850
|
+
def initialize(taskid=nil, requestid=nil)
|
851
|
+
@TaskId = taskid
|
852
|
+
@RequestId = requestid
|
853
|
+
end
|
854
|
+
|
855
|
+
def deserialize(params)
|
856
|
+
@TaskId = params['TaskId']
|
857
|
+
@RequestId = params['RequestId']
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
621
861
|
# CreatePicture请求参数结构体
|
622
862
|
class CreatePictureRequest < TencentCloud::Common::AbstractModel
|
623
863
|
# @param SdkAppId: 应用id
|
@@ -718,6 +958,46 @@ module TencentCloud
|
|
718
958
|
end
|
719
959
|
end
|
720
960
|
|
961
|
+
# DeleteCloudModeration请求参数结构体
|
962
|
+
class DeleteCloudModerationRequest < TencentCloud::Common::AbstractModel
|
963
|
+
# @param SdkAppId: TRTC的SDKAppId,和TRTC的房间所对应的SDKAppId相同。
|
964
|
+
# @type SdkAppId: Integer
|
965
|
+
# @param TaskId: 审核任务的唯一Id,在启动切片任务成功后会返回。
|
966
|
+
# @type TaskId: String
|
967
|
+
|
968
|
+
attr_accessor :SdkAppId, :TaskId
|
969
|
+
|
970
|
+
def initialize(sdkappid=nil, taskid=nil)
|
971
|
+
@SdkAppId = sdkappid
|
972
|
+
@TaskId = taskid
|
973
|
+
end
|
974
|
+
|
975
|
+
def deserialize(params)
|
976
|
+
@SdkAppId = params['SdkAppId']
|
977
|
+
@TaskId = params['TaskId']
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
981
|
+
# DeleteCloudModeration返回参数结构体
|
982
|
+
class DeleteCloudModerationResponse < TencentCloud::Common::AbstractModel
|
983
|
+
# @param TaskId: 审核任务的唯一Id,在启动切片任务成功后会返回。
|
984
|
+
# @type TaskId: String
|
985
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
986
|
+
# @type RequestId: String
|
987
|
+
|
988
|
+
attr_accessor :TaskId, :RequestId
|
989
|
+
|
990
|
+
def initialize(taskid=nil, requestid=nil)
|
991
|
+
@TaskId = taskid
|
992
|
+
@RequestId = requestid
|
993
|
+
end
|
994
|
+
|
995
|
+
def deserialize(params)
|
996
|
+
@TaskId = params['TaskId']
|
997
|
+
@RequestId = params['RequestId']
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
721
1001
|
# DeleteCloudRecording请求参数结构体
|
722
1002
|
class DeleteCloudRecordingRequest < TencentCloud::Common::AbstractModel
|
723
1003
|
# @param SdkAppId: TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
@@ -758,6 +1038,46 @@ module TencentCloud
|
|
758
1038
|
end
|
759
1039
|
end
|
760
1040
|
|
1041
|
+
# DeleteCloudSliceTask请求参数结构体
|
1042
|
+
class DeleteCloudSliceTaskRequest < TencentCloud::Common::AbstractModel
|
1043
|
+
# @param SdkAppId: TRTC的SDKAppId,和TRTC的房间所对应的SDKAppId相同。
|
1044
|
+
# @type SdkAppId: Integer
|
1045
|
+
# @param TaskId: 切片任务的唯一Id,在启动切片任务成功后会返回。
|
1046
|
+
# @type TaskId: String
|
1047
|
+
|
1048
|
+
attr_accessor :SdkAppId, :TaskId
|
1049
|
+
|
1050
|
+
def initialize(sdkappid=nil, taskid=nil)
|
1051
|
+
@SdkAppId = sdkappid
|
1052
|
+
@TaskId = taskid
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
def deserialize(params)
|
1056
|
+
@SdkAppId = params['SdkAppId']
|
1057
|
+
@TaskId = params['TaskId']
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# DeleteCloudSliceTask返回参数结构体
|
1062
|
+
class DeleteCloudSliceTaskResponse < TencentCloud::Common::AbstractModel
|
1063
|
+
# @param TaskId: 切片任务的唯一Id,在启动切片任务成功后会返回。
|
1064
|
+
# @type TaskId: String
|
1065
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1066
|
+
# @type RequestId: String
|
1067
|
+
|
1068
|
+
attr_accessor :TaskId, :RequestId
|
1069
|
+
|
1070
|
+
def initialize(taskid=nil, requestid=nil)
|
1071
|
+
@TaskId = taskid
|
1072
|
+
@RequestId = requestid
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
def deserialize(params)
|
1076
|
+
@TaskId = params['TaskId']
|
1077
|
+
@RequestId = params['RequestId']
|
1078
|
+
end
|
1079
|
+
end
|
1080
|
+
|
761
1081
|
# DeletePicture请求参数结构体
|
762
1082
|
class DeletePictureRequest < TencentCloud::Common::AbstractModel
|
763
1083
|
# @param PictureId: 图片id
|
@@ -1054,6 +1374,57 @@ module TencentCloud
|
|
1054
1374
|
end
|
1055
1375
|
end
|
1056
1376
|
|
1377
|
+
# DescribeCloudModeration请求参数结构体
|
1378
|
+
class DescribeCloudModerationRequest < TencentCloud::Common::AbstractModel
|
1379
|
+
# @param SdkAppId: TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
1380
|
+
# @type SdkAppId: Integer
|
1381
|
+
# @param TaskId: 云端审核任务的唯一Id,在启动切片任务成功后会返回。
|
1382
|
+
# @type TaskId: String
|
1383
|
+
|
1384
|
+
attr_accessor :SdkAppId, :TaskId
|
1385
|
+
|
1386
|
+
def initialize(sdkappid=nil, taskid=nil)
|
1387
|
+
@SdkAppId = sdkappid
|
1388
|
+
@TaskId = taskid
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
def deserialize(params)
|
1392
|
+
@SdkAppId = params['SdkAppId']
|
1393
|
+
@TaskId = params['TaskId']
|
1394
|
+
end
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
# DescribeCloudModeration返回参数结构体
|
1398
|
+
class DescribeCloudModerationResponse < TencentCloud::Common::AbstractModel
|
1399
|
+
# @param TaskId: 切片任务的唯一Id,在启动切片任务成功后会返回。
|
1400
|
+
# @type TaskId: String
|
1401
|
+
# @param Status: 云端切片任务的状态信息。Idle:表示当前任务空闲中,InProgress:表示当前任务正在进行中,Exited:表示当前任务正在退出的过程中。
|
1402
|
+
# @type Status: String
|
1403
|
+
# @param SubscribeStreamUserIds: 订阅黑白名单
|
1404
|
+
# @type SubscribeStreamUserIds: :class:`Tencentcloud::Trtc.v20190722.models.SubscribeModerationUserIds`
|
1405
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1406
|
+
# @type RequestId: String
|
1407
|
+
|
1408
|
+
attr_accessor :TaskId, :Status, :SubscribeStreamUserIds, :RequestId
|
1409
|
+
|
1410
|
+
def initialize(taskid=nil, status=nil, subscribestreamuserids=nil, requestid=nil)
|
1411
|
+
@TaskId = taskid
|
1412
|
+
@Status = status
|
1413
|
+
@SubscribeStreamUserIds = subscribestreamuserids
|
1414
|
+
@RequestId = requestid
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
def deserialize(params)
|
1418
|
+
@TaskId = params['TaskId']
|
1419
|
+
@Status = params['Status']
|
1420
|
+
unless params['SubscribeStreamUserIds'].nil?
|
1421
|
+
@SubscribeStreamUserIds = SubscribeModerationUserIds.new
|
1422
|
+
@SubscribeStreamUserIds.deserialize(params['SubscribeStreamUserIds'])
|
1423
|
+
end
|
1424
|
+
@RequestId = params['RequestId']
|
1425
|
+
end
|
1426
|
+
end
|
1427
|
+
|
1057
1428
|
# DescribeCloudRecording请求参数结构体
|
1058
1429
|
class DescribeCloudRecordingRequest < TencentCloud::Common::AbstractModel
|
1059
1430
|
# @param SdkAppId: TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
@@ -1120,6 +1491,50 @@ module TencentCloud
|
|
1120
1491
|
end
|
1121
1492
|
end
|
1122
1493
|
|
1494
|
+
# DescribeCloudSliceTask请求参数结构体
|
1495
|
+
class DescribeCloudSliceTaskRequest < TencentCloud::Common::AbstractModel
|
1496
|
+
# @param SdkAppId: TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
1497
|
+
# @type SdkAppId: Integer
|
1498
|
+
# @param TaskId: 切片任务的唯一Id,在启动切片任务成功后会返回。
|
1499
|
+
# @type TaskId: String
|
1500
|
+
|
1501
|
+
attr_accessor :SdkAppId, :TaskId
|
1502
|
+
|
1503
|
+
def initialize(sdkappid=nil, taskid=nil)
|
1504
|
+
@SdkAppId = sdkappid
|
1505
|
+
@TaskId = taskid
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
def deserialize(params)
|
1509
|
+
@SdkAppId = params['SdkAppId']
|
1510
|
+
@TaskId = params['TaskId']
|
1511
|
+
end
|
1512
|
+
end
|
1513
|
+
|
1514
|
+
# DescribeCloudSliceTask返回参数结构体
|
1515
|
+
class DescribeCloudSliceTaskResponse < TencentCloud::Common::AbstractModel
|
1516
|
+
# @param TaskId: 切片任务的唯一Id,在启动切片任务成功后会返回。
|
1517
|
+
# @type TaskId: String
|
1518
|
+
# @param Status: 云端切片任务的状态信息。Idle:表示当前任务空闲中,InProgress:表示当前任务正在进行中,Exited:表示当前任务正在退出的过程中。
|
1519
|
+
# @type Status: String
|
1520
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1521
|
+
# @type RequestId: String
|
1522
|
+
|
1523
|
+
attr_accessor :TaskId, :Status, :RequestId
|
1524
|
+
|
1525
|
+
def initialize(taskid=nil, status=nil, requestid=nil)
|
1526
|
+
@TaskId = taskid
|
1527
|
+
@Status = status
|
1528
|
+
@RequestId = requestid
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
def deserialize(params)
|
1532
|
+
@TaskId = params['TaskId']
|
1533
|
+
@Status = params['Status']
|
1534
|
+
@RequestId = params['RequestId']
|
1535
|
+
end
|
1536
|
+
end
|
1537
|
+
|
1123
1538
|
# DescribeMixTranscodingUsage请求参数结构体
|
1124
1539
|
class DescribeMixTranscodingUsageRequest < TencentCloud::Common::AbstractModel
|
1125
1540
|
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
@@ -3696,6 +4111,164 @@ module TencentCloud
|
|
3696
4111
|
end
|
3697
4112
|
end
|
3698
4113
|
|
4114
|
+
# 云端审核的控制参数。
|
4115
|
+
class ModerationParams < TencentCloud::Common::AbstractModel
|
4116
|
+
# @param ModerationType: 审核任务类型, 1:音频切片审核,2:视频截帧审核,3:音视切片审核+视频截帧审核4:音频流式审核 5:音频流式+视频截帧审核 默认值1 (流式审核需要供应商支持才生效)
|
4117
|
+
# @type ModerationType: Integer
|
4118
|
+
# @param MaxIdleTime: 房间内持续没有用户(主播)上行推流的状态超过MaxIdleTime的时长,自动停止切片,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于1800秒(0.5小时)。示例值:30
|
4119
|
+
# @type MaxIdleTime: Integer
|
4120
|
+
# @param SliceAudio: 音频切片时长,默认15s 示例值:15
|
4121
|
+
# @type SliceAudio: Integer
|
4122
|
+
# @param SliceVideo: 视频截帧间隔时长,默认5s
|
4123
|
+
# @type SliceVideo: Integer
|
4124
|
+
# @param ModerationSupplier: 供应商枚举,
|
4125
|
+
# tianyu : 天御内容安全 (支持 1:音频切片审核,2:视频截帧审核,3:音视切片审核+视频截帧审核)
|
4126
|
+
# ace : ACE内容安全 (支持 1:音频切片审核,2:视频截帧审核,3:音视切片审核+视频截帧审核)
|
4127
|
+
# shumei : 数美审核(支持 1:音频切片审核,2:视频截帧审核,3:音视切片审核+视频截帧审核)
|
4128
|
+
# yidun : 网易易盾审核 (支持 1:音频切片审核,2:视频截帧审核,3:音视切片审核+视频截帧审核)
|
4129
|
+
# @type ModerationSupplier: String
|
4130
|
+
# @param ModerationSupplierParam: 第三方审核商送审需要配置信息
|
4131
|
+
# @type ModerationSupplierParam: :class:`Tencentcloud::Trtc.v20190722.models.ModerationSupplierParam`
|
4132
|
+
# @param SaveModerationFile: 是否保存命中文件 0 默认不保存 1 保存命中文件
|
4133
|
+
# @type SaveModerationFile: Integer
|
4134
|
+
# @param CallbackAllResults: 是否回调所有审核结果:
|
4135
|
+
# 0 默认回调所有结果
|
4136
|
+
# 1 仅回调命中结果
|
4137
|
+
# @type CallbackAllResults: Integer
|
4138
|
+
# @param SubscribeStreamUserIds: 指定订阅流白名单或者黑名单。
|
4139
|
+
# @type SubscribeStreamUserIds: :class:`Tencentcloud::Trtc.v20190722.models.SubscribeModerationUserIds`
|
4140
|
+
|
4141
|
+
attr_accessor :ModerationType, :MaxIdleTime, :SliceAudio, :SliceVideo, :ModerationSupplier, :ModerationSupplierParam, :SaveModerationFile, :CallbackAllResults, :SubscribeStreamUserIds
|
4142
|
+
|
4143
|
+
def initialize(moderationtype=nil, maxidletime=nil, sliceaudio=nil, slicevideo=nil, moderationsupplier=nil, moderationsupplierparam=nil, savemoderationfile=nil, callbackallresults=nil, subscribestreamuserids=nil)
|
4144
|
+
@ModerationType = moderationtype
|
4145
|
+
@MaxIdleTime = maxidletime
|
4146
|
+
@SliceAudio = sliceaudio
|
4147
|
+
@SliceVideo = slicevideo
|
4148
|
+
@ModerationSupplier = moderationsupplier
|
4149
|
+
@ModerationSupplierParam = moderationsupplierparam
|
4150
|
+
@SaveModerationFile = savemoderationfile
|
4151
|
+
@CallbackAllResults = callbackallresults
|
4152
|
+
@SubscribeStreamUserIds = subscribestreamuserids
|
4153
|
+
end
|
4154
|
+
|
4155
|
+
def deserialize(params)
|
4156
|
+
@ModerationType = params['ModerationType']
|
4157
|
+
@MaxIdleTime = params['MaxIdleTime']
|
4158
|
+
@SliceAudio = params['SliceAudio']
|
4159
|
+
@SliceVideo = params['SliceVideo']
|
4160
|
+
@ModerationSupplier = params['ModerationSupplier']
|
4161
|
+
unless params['ModerationSupplierParam'].nil?
|
4162
|
+
@ModerationSupplierParam = ModerationSupplierParam.new
|
4163
|
+
@ModerationSupplierParam.deserialize(params['ModerationSupplierParam'])
|
4164
|
+
end
|
4165
|
+
@SaveModerationFile = params['SaveModerationFile']
|
4166
|
+
@CallbackAllResults = params['CallbackAllResults']
|
4167
|
+
unless params['SubscribeStreamUserIds'].nil?
|
4168
|
+
@SubscribeStreamUserIds = SubscribeModerationUserIds.new
|
4169
|
+
@SubscribeStreamUserIds.deserialize(params['SubscribeStreamUserIds'])
|
4170
|
+
end
|
4171
|
+
end
|
4172
|
+
end
|
4173
|
+
|
4174
|
+
# 审核存储参数
|
4175
|
+
class ModerationStorageParams < TencentCloud::Common::AbstractModel
|
4176
|
+
# @param CloudModerationStorage: 腾讯云对象存储COS以及第三方云存储的账号信息
|
4177
|
+
# @type CloudModerationStorage: :class:`Tencentcloud::Trtc.v20190722.models.CloudModerationStorage`
|
4178
|
+
|
4179
|
+
attr_accessor :CloudModerationStorage
|
4180
|
+
|
4181
|
+
def initialize(cloudmoderationstorage=nil)
|
4182
|
+
@CloudModerationStorage = cloudmoderationstorage
|
4183
|
+
end
|
4184
|
+
|
4185
|
+
def deserialize(params)
|
4186
|
+
unless params['CloudModerationStorage'].nil?
|
4187
|
+
@CloudModerationStorage = CloudModerationStorage.new
|
4188
|
+
@CloudModerationStorage.deserialize(params['CloudModerationStorage'])
|
4189
|
+
end
|
4190
|
+
end
|
4191
|
+
end
|
4192
|
+
|
4193
|
+
# 送审到第三方审核供应商需要参数
|
4194
|
+
class ModerationSupplierParam < TencentCloud::Common::AbstractModel
|
4195
|
+
# @param AppID: 供应审核商账号id,数美天御不为空,易盾为空
|
4196
|
+
# @type AppID: String
|
4197
|
+
# @param SecretId: 供应审核商秘钥id
|
4198
|
+
# @type SecretId: String
|
4199
|
+
# @param SecretKey: 供应审核商秘钥key
|
4200
|
+
# @type SecretKey: String
|
4201
|
+
# @param AudioBizType: 音频场景,策略id或者businessId
|
4202
|
+
# @type AudioBizType: String
|
4203
|
+
# @param ImageBizType: 图片场景,策略id或者businessId
|
4204
|
+
# @type ImageBizType: String
|
4205
|
+
|
4206
|
+
attr_accessor :AppID, :SecretId, :SecretKey, :AudioBizType, :ImageBizType
|
4207
|
+
|
4208
|
+
def initialize(appid=nil, secretid=nil, secretkey=nil, audiobiztype=nil, imagebiztype=nil)
|
4209
|
+
@AppID = appid
|
4210
|
+
@SecretId = secretid
|
4211
|
+
@SecretKey = secretkey
|
4212
|
+
@AudioBizType = audiobiztype
|
4213
|
+
@ImageBizType = imagebiztype
|
4214
|
+
end
|
4215
|
+
|
4216
|
+
def deserialize(params)
|
4217
|
+
@AppID = params['AppID']
|
4218
|
+
@SecretId = params['SecretId']
|
4219
|
+
@SecretKey = params['SecretKey']
|
4220
|
+
@AudioBizType = params['AudioBizType']
|
4221
|
+
@ImageBizType = params['ImageBizType']
|
4222
|
+
end
|
4223
|
+
end
|
4224
|
+
|
4225
|
+
# ModifyCloudModeration请求参数结构体
|
4226
|
+
class ModifyCloudModerationRequest < TencentCloud::Common::AbstractModel
|
4227
|
+
# @param SdkAppId: TRTC的SDKAppId,和TRTC的房间所对应的SDKAppId相同。
|
4228
|
+
# @type SdkAppId: Integer
|
4229
|
+
# @param TaskId: 审核任务的唯一Id,在启动切片任务成功后会返回。
|
4230
|
+
# @type TaskId: String
|
4231
|
+
# @param SubscribeStreamUserIds: 指定订阅流白名单或者黑名单。
|
4232
|
+
# @type SubscribeStreamUserIds: :class:`Tencentcloud::Trtc.v20190722.models.SubscribeStreamUserIds`
|
4233
|
+
|
4234
|
+
attr_accessor :SdkAppId, :TaskId, :SubscribeStreamUserIds
|
4235
|
+
|
4236
|
+
def initialize(sdkappid=nil, taskid=nil, subscribestreamuserids=nil)
|
4237
|
+
@SdkAppId = sdkappid
|
4238
|
+
@TaskId = taskid
|
4239
|
+
@SubscribeStreamUserIds = subscribestreamuserids
|
4240
|
+
end
|
4241
|
+
|
4242
|
+
def deserialize(params)
|
4243
|
+
@SdkAppId = params['SdkAppId']
|
4244
|
+
@TaskId = params['TaskId']
|
4245
|
+
unless params['SubscribeStreamUserIds'].nil?
|
4246
|
+
@SubscribeStreamUserIds = SubscribeStreamUserIds.new
|
4247
|
+
@SubscribeStreamUserIds.deserialize(params['SubscribeStreamUserIds'])
|
4248
|
+
end
|
4249
|
+
end
|
4250
|
+
end
|
4251
|
+
|
4252
|
+
# ModifyCloudModeration返回参数结构体
|
4253
|
+
class ModifyCloudModerationResponse < TencentCloud::Common::AbstractModel
|
4254
|
+
# @param TaskId: 审核任务的唯一Id,在启动切片任务成功后会返回。
|
4255
|
+
# @type TaskId: String
|
4256
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4257
|
+
# @type RequestId: String
|
4258
|
+
|
4259
|
+
attr_accessor :TaskId, :RequestId
|
4260
|
+
|
4261
|
+
def initialize(taskid=nil, requestid=nil)
|
4262
|
+
@TaskId = taskid
|
4263
|
+
@RequestId = requestid
|
4264
|
+
end
|
4265
|
+
|
4266
|
+
def deserialize(params)
|
4267
|
+
@TaskId = params['TaskId']
|
4268
|
+
@RequestId = params['RequestId']
|
4269
|
+
end
|
4270
|
+
end
|
4271
|
+
|
3699
4272
|
# ModifyCloudRecording请求参数结构体
|
3700
4273
|
class ModifyCloudRecordingRequest < TencentCloud::Common::AbstractModel
|
3701
4274
|
# @param SdkAppId: TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
@@ -3750,6 +4323,53 @@ module TencentCloud
|
|
3750
4323
|
end
|
3751
4324
|
end
|
3752
4325
|
|
4326
|
+
# ModifyCloudSliceTask请求参数结构体
|
4327
|
+
class ModifyCloudSliceTaskRequest < TencentCloud::Common::AbstractModel
|
4328
|
+
# @param SdkAppId: TRTC的SDKAppId,和TRTC的房间所对应的SDKAppId相同。
|
4329
|
+
# @type SdkAppId: Integer
|
4330
|
+
# @param TaskId: 切片任务的唯一Id,在启动切片任务成功后会返回。
|
4331
|
+
# @type TaskId: String
|
4332
|
+
# @param SubscribeStreamUserIds: 指定订阅流白名单或者黑名单。
|
4333
|
+
# @type SubscribeStreamUserIds: :class:`Tencentcloud::Trtc.v20190722.models.SubscribeStreamUserIds`
|
4334
|
+
|
4335
|
+
attr_accessor :SdkAppId, :TaskId, :SubscribeStreamUserIds
|
4336
|
+
|
4337
|
+
def initialize(sdkappid=nil, taskid=nil, subscribestreamuserids=nil)
|
4338
|
+
@SdkAppId = sdkappid
|
4339
|
+
@TaskId = taskid
|
4340
|
+
@SubscribeStreamUserIds = subscribestreamuserids
|
4341
|
+
end
|
4342
|
+
|
4343
|
+
def deserialize(params)
|
4344
|
+
@SdkAppId = params['SdkAppId']
|
4345
|
+
@TaskId = params['TaskId']
|
4346
|
+
unless params['SubscribeStreamUserIds'].nil?
|
4347
|
+
@SubscribeStreamUserIds = SubscribeStreamUserIds.new
|
4348
|
+
@SubscribeStreamUserIds.deserialize(params['SubscribeStreamUserIds'])
|
4349
|
+
end
|
4350
|
+
end
|
4351
|
+
end
|
4352
|
+
|
4353
|
+
# ModifyCloudSliceTask返回参数结构体
|
4354
|
+
class ModifyCloudSliceTaskResponse < TencentCloud::Common::AbstractModel
|
4355
|
+
# @param TaskId: 切片任务的唯一Id,在启动切片任务成功后会返回。
|
4356
|
+
# @type TaskId: String
|
4357
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4358
|
+
# @type RequestId: String
|
4359
|
+
|
4360
|
+
attr_accessor :TaskId, :RequestId
|
4361
|
+
|
4362
|
+
def initialize(taskid=nil, requestid=nil)
|
4363
|
+
@TaskId = taskid
|
4364
|
+
@RequestId = requestid
|
4365
|
+
end
|
4366
|
+
|
4367
|
+
def deserialize(params)
|
4368
|
+
@TaskId = params['TaskId']
|
4369
|
+
@RequestId = params['RequestId']
|
4370
|
+
end
|
4371
|
+
end
|
4372
|
+
|
3753
4373
|
# ModifyPicture请求参数结构体
|
3754
4374
|
class ModifyPictureRequest < TencentCloud::Common::AbstractModel
|
3755
4375
|
# @param PictureId: 图片id
|
@@ -4681,6 +5301,69 @@ module TencentCloud
|
|
4681
5301
|
end
|
4682
5302
|
end
|
4683
5303
|
|
5304
|
+
# 云端切片的控制参数。
|
5305
|
+
class SliceParams < TencentCloud::Common::AbstractModel
|
5306
|
+
# @param SliceType: 切片任务类型:
|
5307
|
+
# 1:音频切片;
|
5308
|
+
# 2:视频截帧;
|
5309
|
+
# 3:音视切片+视频截帧
|
5310
|
+
# 示例值:1
|
5311
|
+
# @type SliceType: Integer
|
5312
|
+
# @param MaxIdleTime: 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
5313
|
+
# 示例值:30
|
5314
|
+
# @type MaxIdleTime: Integer
|
5315
|
+
# @param SliceAudio: 音频切片时长,默认15s 示例值:15
|
5316
|
+
# @type SliceAudio: Integer
|
5317
|
+
# @param SliceVideo: 视频截帧间隔时长,默认5s, 示例值:5
|
5318
|
+
# @type SliceVideo: Integer
|
5319
|
+
# @param SubscribeStreamUserIds: 指定订阅流白名单或者黑名单。
|
5320
|
+
# @type SubscribeStreamUserIds: :class:`Tencentcloud::Trtc.v20190722.models.SubscribeStreamUserIds`
|
5321
|
+
# @param SliceCallbackUrl: 已废弃,从控制台配置回调url
|
5322
|
+
# @type SliceCallbackUrl: String
|
5323
|
+
|
5324
|
+
attr_accessor :SliceType, :MaxIdleTime, :SliceAudio, :SliceVideo, :SubscribeStreamUserIds, :SliceCallbackUrl
|
5325
|
+
|
5326
|
+
def initialize(slicetype=nil, maxidletime=nil, sliceaudio=nil, slicevideo=nil, subscribestreamuserids=nil, slicecallbackurl=nil)
|
5327
|
+
@SliceType = slicetype
|
5328
|
+
@MaxIdleTime = maxidletime
|
5329
|
+
@SliceAudio = sliceaudio
|
5330
|
+
@SliceVideo = slicevideo
|
5331
|
+
@SubscribeStreamUserIds = subscribestreamuserids
|
5332
|
+
@SliceCallbackUrl = slicecallbackurl
|
5333
|
+
end
|
5334
|
+
|
5335
|
+
def deserialize(params)
|
5336
|
+
@SliceType = params['SliceType']
|
5337
|
+
@MaxIdleTime = params['MaxIdleTime']
|
5338
|
+
@SliceAudio = params['SliceAudio']
|
5339
|
+
@SliceVideo = params['SliceVideo']
|
5340
|
+
unless params['SubscribeStreamUserIds'].nil?
|
5341
|
+
@SubscribeStreamUserIds = SubscribeStreamUserIds.new
|
5342
|
+
@SubscribeStreamUserIds.deserialize(params['SubscribeStreamUserIds'])
|
5343
|
+
end
|
5344
|
+
@SliceCallbackUrl = params['SliceCallbackUrl']
|
5345
|
+
end
|
5346
|
+
end
|
5347
|
+
|
5348
|
+
# 切片存储参数
|
5349
|
+
class SliceStorageParams < TencentCloud::Common::AbstractModel
|
5350
|
+
# @param CloudSliceStorage: 腾讯云对象存储COS以及第三方云存储的账号信息
|
5351
|
+
# @type CloudSliceStorage: :class:`Tencentcloud::Trtc.v20190722.models.CloudSliceStorage`
|
5352
|
+
|
5353
|
+
attr_accessor :CloudSliceStorage
|
5354
|
+
|
5355
|
+
def initialize(cloudslicestorage=nil)
|
5356
|
+
@CloudSliceStorage = cloudslicestorage
|
5357
|
+
end
|
5358
|
+
|
5359
|
+
def deserialize(params)
|
5360
|
+
unless params['CloudSliceStorage'].nil?
|
5361
|
+
@CloudSliceStorage = CloudSliceStorage.new
|
5362
|
+
@CloudSliceStorage.deserialize(params['CloudSliceStorage'])
|
5363
|
+
end
|
5364
|
+
end
|
5365
|
+
end
|
5366
|
+
|
4684
5367
|
# 画中画模板中有效,代表小画面的布局参数
|
4685
5368
|
class SmallVideoLayoutParams < TencentCloud::Common::AbstractModel
|
4686
5369
|
# @param UserId: 代表小画面对应的用户ID。
|
@@ -5605,6 +6288,38 @@ module TencentCloud
|
|
5605
6288
|
end
|
5606
6289
|
end
|
5607
6290
|
|
6291
|
+
# 指定订阅流白名单或者黑名单,音频的白名单和音频黑名单不能同时设置,视频亦然。同时实际并发订阅的媒体流路数最大支持25路流,混流场景下视频的多画面最大支持24画面。支持通过设置".*$"通配符,来前缀匹配黑白名单的UserId,注意房间里不能有和通配符规则相同的用户,否则将视为订阅具体用户,前缀规则会失效。
|
6292
|
+
class SubscribeModerationUserIds < TencentCloud::Common::AbstractModel
|
6293
|
+
# @param SubscribeAudioUserIds: 订阅音频流白名单,指定订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的音频流;["1.*$"], 代表订阅UserId前缀为1的音频流。默认不填订阅房间内所有的音频流,订阅列表用户数不超过32。
|
6294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6295
|
+
# @type SubscribeAudioUserIds: Array
|
6296
|
+
# @param UnSubscribeAudioUserIds: 订阅音频流黑名单,指定不订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的音频流;["1.*$"], 代表不订阅UserId前缀为1的音频流。默认不填订阅房间内所有音频流,订阅列表用户数不超过32。
|
6297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6298
|
+
# @type UnSubscribeAudioUserIds: Array
|
6299
|
+
# @param SubscribeVideoUserIds: 订阅视频流白名单,指定订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的视频流;["1.*$"], 代表订阅UserId前缀为1的视频流。默认不填订阅房间内所有视频流,订阅列表用户数不超过32。
|
6300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6301
|
+
# @type SubscribeVideoUserIds: Array
|
6302
|
+
# @param UnSubscribeVideoUserIds: 订阅视频流黑名单,指定不订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的视频流;["1.*$"], 代表不订阅UserId前缀为1的视频流。默认不填订阅房间内所有视频流,订阅列表用户数不超过32。
|
6303
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6304
|
+
# @type UnSubscribeVideoUserIds: Array
|
6305
|
+
|
6306
|
+
attr_accessor :SubscribeAudioUserIds, :UnSubscribeAudioUserIds, :SubscribeVideoUserIds, :UnSubscribeVideoUserIds
|
6307
|
+
|
6308
|
+
def initialize(subscribeaudiouserids=nil, unsubscribeaudiouserids=nil, subscribevideouserids=nil, unsubscribevideouserids=nil)
|
6309
|
+
@SubscribeAudioUserIds = subscribeaudiouserids
|
6310
|
+
@UnSubscribeAudioUserIds = unsubscribeaudiouserids
|
6311
|
+
@SubscribeVideoUserIds = subscribevideouserids
|
6312
|
+
@UnSubscribeVideoUserIds = unsubscribevideouserids
|
6313
|
+
end
|
6314
|
+
|
6315
|
+
def deserialize(params)
|
6316
|
+
@SubscribeAudioUserIds = params['SubscribeAudioUserIds']
|
6317
|
+
@UnSubscribeAudioUserIds = params['UnSubscribeAudioUserIds']
|
6318
|
+
@SubscribeVideoUserIds = params['SubscribeVideoUserIds']
|
6319
|
+
@UnSubscribeVideoUserIds = params['UnSubscribeVideoUserIds']
|
6320
|
+
end
|
6321
|
+
end
|
6322
|
+
|
5608
6323
|
# 指定订阅流白名单或者黑名单,音频的白名单和音频黑名单不能同时设置,视频亦然。同时实际并发订阅的媒体流路数最大支持25路流,混流场景下视频的多画面最大支持24画面。支持通过设置".*$"通配符,来前缀匹配黑白名单的UserId,注意房间里不能有和通配符规则相同的用户,否则将视为订阅具体用户,前缀规则会失效。
|
5609
6324
|
class SubscribeStreamUserIds < TencentCloud::Common::AbstractModel
|
5610
6325
|
# @param SubscribeAudioUserIds: 订阅音频流白名单,指定订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的音频流;["1.*$"], 代表订阅UserId前缀为1的音频流。默认不填订阅房间内所有的音频流,订阅列表用户数不超过32。
|
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.1103
|
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-07-
|
11
|
+
date: 2025-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|