tencentcloud-sdk-vod 3.0.390 → 3.0.393

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 112f7414c21cc2a6a7b32dbfe870fffecb61071c
4
- data.tar.gz: 6289d8d7ee246c21637add6aae766d14dbcbb0e8
3
+ metadata.gz: adbce93148bb092ee83a58e1e2407e17466d6a83
4
+ data.tar.gz: 9d6c7a2bff3cd7d5b671b04eb9a6a5c1ba5cd88d
5
5
  SHA512:
6
- metadata.gz: 85db012f2157b7b19f7602808d89f6dc0c186f6f5fd261402779e5fe733101372f9bb54bd8d34c45fde315fceec1d37fc8ab00e0f7c01ffb57518f855e2b9487
7
- data.tar.gz: bc46743e3f245b268bbea1d19c9f0eee159c86960e6bb9b5fc5697884cca28845c3577d83c1eca375c6b4028dae6f8d93313103b335280afdea0b8a38bcf8324
6
+ metadata.gz: 6c0ab19b702e3379bde4136ce8401bf78d99c86a8d7e94c934f360fc9fc99c77c41d853f0a4dbd37649ada68557a3504de536c587bc9b68fe2a4d6b11098f4ca
7
+ data.tar.gz: a78ad07107a26f669c661209f1b7733e0fb9bd31eb459a5921c84306cda42e012ef7e3617a862366b234424551206d24c880293cf78a14176ffb31ac845666f7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.390
1
+ 3.0.393
@@ -1477,6 +1477,30 @@ module TencentCloud
1477
1477
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1478
1478
  end
1479
1479
 
1480
+ # 查询 DRM 密钥提供商信息。
1481
+
1482
+ # @param request: Request instance for DescribeDrmKeyProviderInfo.
1483
+ # @type request: :class:`Tencentcloud::vod::V20180717::DescribeDrmKeyProviderInfoRequest`
1484
+ # @rtype: :class:`Tencentcloud::vod::V20180717::DescribeDrmKeyProviderInfoResponse`
1485
+ def DescribeDrmKeyProviderInfo(request)
1486
+ body = send_request('DescribeDrmKeyProviderInfo', request.serialize)
1487
+ response = JSON.parse(body)
1488
+ if response['Response'].key?('Error') == false
1489
+ model = DescribeDrmKeyProviderInfoResponse.new
1490
+ model.deserialize(response['Response'])
1491
+ model
1492
+ else
1493
+ code = response['Response']['Error']['Code']
1494
+ message = response['Response']['Error']['Message']
1495
+ reqid = response['Response']['RequestId']
1496
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1497
+ end
1498
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1499
+ raise e
1500
+ rescue StandardError => e
1501
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1502
+ end
1503
+
1480
1504
  # 腾讯云点播为客户提供了媒体上传、媒体管理、媒体处理等等服务,在这些服务执行过程或执行结束时,腾讯云点播也提供各种对应的事件通知,方便开发者感知服务处理状态,并做下一步的业务操作。
1481
1505
 
1482
1506
  # 开发者可以通过本接口来查询当前配置事件通知的接收方式、接收地址以及哪些事件开启了接收回调通知。
@@ -3154,6 +3178,30 @@ module TencentCloud
3154
3178
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3155
3179
  end
3156
3180
 
3181
+ # 智能去除水印
3182
+
3183
+ # @param request: Request instance for RemoveWatermark.
3184
+ # @type request: :class:`Tencentcloud::vod::V20180717::RemoveWatermarkRequest`
3185
+ # @rtype: :class:`Tencentcloud::vod::V20180717::RemoveWatermarkResponse`
3186
+ def RemoveWatermark(request)
3187
+ body = send_request('RemoveWatermark', request.serialize)
3188
+ response = JSON.parse(body)
3189
+ if response['Response'].key?('Error') == false
3190
+ model = RemoveWatermarkResponse.new
3191
+ model.deserialize(response['Response'])
3192
+ model
3193
+ else
3194
+ code = response['Response']['Error']['Code']
3195
+ message = response['Response']['Error']['Message']
3196
+ reqid = response['Response']['RequestId']
3197
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3198
+ end
3199
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3200
+ raise e
3201
+ rescue StandardError => e
3202
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3203
+ end
3204
+
3157
3205
  # 重新设置用户自定义任务流模板的内容。
3158
3206
 
3159
3207
  # @param request: Request instance for ResetProcedureTemplate.
@@ -3241,6 +3289,8 @@ module TencentCloud
3241
3289
  # - 指定直播推流码集合 StreamIds(见输入参数)筛选直播录制的媒体。
3242
3290
  # - 指定视频 ID 集合 Vids (见输入参数)筛选直播录制的媒体。
3243
3291
  # - 指定媒体的创建时间范围筛选媒体。
3292
+ # - 指定 TRTC 应用 ID 集合筛选媒体。
3293
+ # - 指定 TRTC 房间 ID 集合筛选媒体。
3244
3294
  # - (不推荐:应使用 Names、NamePrefixes 或 Descriptions 替代)指定单个文本 Text 对媒体文件名或描述信息进行模糊搜索。
3245
3295
  # - (不推荐:应使用 SourceTypes 替代)指定单个媒体文件来源 SourceType 进行搜索。
3246
3296
  # - (不推荐:应使用 StreamIds 替代)指定单个推流直播码 StreamId 进行搜索。
@@ -3287,6 +3337,30 @@ module TencentCloud
3287
3337
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3288
3338
  end
3289
3339
 
3340
+ # 设置 DRM 密钥提供商信息。
3341
+
3342
+ # @param request: Request instance for SetDrmKeyProviderInfo.
3343
+ # @type request: :class:`Tencentcloud::vod::V20180717::SetDrmKeyProviderInfoRequest`
3344
+ # @rtype: :class:`Tencentcloud::vod::V20180717::SetDrmKeyProviderInfoResponse`
3345
+ def SetDrmKeyProviderInfo(request)
3346
+ body = send_request('SetDrmKeyProviderInfo', request.serialize)
3347
+ response = JSON.parse(body)
3348
+ if response['Response'].key?('Error') == false
3349
+ model = SetDrmKeyProviderInfoResponse.new
3350
+ model.deserialize(response['Response'])
3351
+ model
3352
+ else
3353
+ code = response['Response']['Error']['Code']
3354
+ message = response['Response']['Error']['Message']
3355
+ reqid = response['Response']['RequestId']
3356
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3357
+ end
3358
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3359
+ raise e
3360
+ rescue StandardError => e
3361
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3362
+ end
3363
+
3290
3364
  # 对 HLS 视频进行按时间段裁剪,实时生成一个新的视频(HLS 格式),开发者可以将其立即分享出去,或者长久保存起来。
3291
3365
 
3292
3366
  # 腾讯云点播支持两种剪辑模式:
@@ -3297,14 +3371,14 @@ module TencentCloud
3297
3371
  # - 剪辑是基于输入 m3u8 文件进行的,故而其最小剪辑精度为一个 ts 切片,无法实现秒级或者更为精确的剪辑精度。
3298
3372
 
3299
3373
 
3300
- # ###剪辑固化
3374
+ # ### 剪辑固化
3301
3375
  # 所谓剪辑固化,是指将剪辑出来的视频保存成一个独立的视频(拥有独立的 FileId)。其生命周期不受原始输入视频影响(即使原始输入视频被删除,剪辑结果也不会受到任何影响);也可以对其进行转码、微信发布等二次处理。
3302
3376
 
3303
3377
  # 举例如下:一场完整的足球比赛,原始视频可能长达 2 个小时,客户出于节省成本的目的可以对这个视频存储 2 个月,但对于剪辑的「精彩时刻」视频却可以指定存储更长时间,同时可以单独对「精彩时刻」视频进行转码、微信发布等额外的点播操作,这时候可以选择剪辑并且固化的方案。
3304
3378
 
3305
3379
  # 剪辑固化的优势在于其生命周期与原始输入视频相互独立,可以独立管理、长久保存。
3306
3380
 
3307
- # ###剪辑不固化
3381
+ # ### 剪辑不固化
3308
3382
  # 所谓剪辑不固化,是指剪辑所得到的结果(m3u8 文件)与原始输入视频共享相同的 ts 分片,新生成的视频不是一个独立完整的视频(没有独立 FileId,只有播放 URL),其有效期与原始输入的完整视频有效期是一致的。一旦原始输入的视频被删除,也会导致该片段无法播放。
3309
3383
 
3310
3384
  # 剪辑不固化,由于其剪辑结果不是一个独立的视频,因而也不会纳入点播媒资视频管理(例如控制台的视频总数不会统计这一片段)中,也无法单独针对这个片段做转码、微信发布等任何视频处理操作。
@@ -310,6 +310,11 @@ module TencentCloud
310
310
  # <li>FairPlay</li>
311
311
  # 如果取值为空字符串,代表不对视频做 DRM 保护。
312
312
  # @type DrmType: String
313
+ # @param DrmKeyProvider: DRM 的密钥提供商,取值范围:
314
+ # <li>SDMC:华曦达;</li>
315
+ # <li>VOD:云点播。</li>
316
+ # 默认值为 VOD 。
317
+ # @type DrmKeyProvider: String
313
318
  # @param StreamInfos: 自适应转码输入流参数信息,最多输入10路流。
314
319
  # @type StreamInfos: Array
315
320
  # @param DisableHigherVideoBitrate: 是否禁止视频低码率转高码率,取值范围:
@@ -325,15 +330,16 @@ module TencentCloud
325
330
  # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
326
331
  # @type UpdateTime: String
327
332
 
328
- attr_accessor :Definition, :Type, :Name, :Comment, :Format, :DrmType, :StreamInfos, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :CreateTime, :UpdateTime
333
+ attr_accessor :Definition, :Type, :Name, :Comment, :Format, :DrmType, :DrmKeyProvider, :StreamInfos, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :CreateTime, :UpdateTime
329
334
 
330
- def initialize(definition=nil, type=nil, name=nil, comment=nil, format=nil, drmtype=nil, streaminfos=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, createtime=nil, updatetime=nil)
335
+ def initialize(definition=nil, type=nil, name=nil, comment=nil, format=nil, drmtype=nil, drmkeyprovider=nil, streaminfos=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, createtime=nil, updatetime=nil)
331
336
  @Definition = definition
332
337
  @Type = type
333
338
  @Name = name
334
339
  @Comment = comment
335
340
  @Format = format
336
341
  @DrmType = drmtype
342
+ @DrmKeyProvider = drmkeyprovider
337
343
  @StreamInfos = streaminfos
338
344
  @DisableHigherVideoBitrate = disablehighervideobitrate
339
345
  @DisableHigherVideoResolution = disablehighervideoresolution
@@ -348,6 +354,7 @@ module TencentCloud
348
354
  @Comment = params['Comment']
349
355
  @Format = params['Format']
350
356
  @DrmType = params['DrmType']
357
+ @DrmKeyProvider = params['DrmKeyProvider']
351
358
  unless params['StreamInfos'].nil?
352
359
  @StreamInfos = []
353
360
  params['StreamInfos'].each do |i|
@@ -1228,17 +1235,20 @@ module TencentCloud
1228
1235
  # @type SegmentSet: Array
1229
1236
  # @param SegmentSetFileUrl: 语音全文识别片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
1230
1237
  # @type SegmentSetFileUrl: String
1231
- # @param SegmentSetFileUrlExpireTime: 语音全文识别片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。。
1238
+ # @param SegmentSetFileUrlExpireTime: 语音全文识别片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)
1232
1239
  # @type SegmentSetFileUrlExpireTime: String
1233
- # @param SubtitleUrl: 字幕文件 Url
1240
+ # @param SubtitleSet: 生成的字幕列表,对应 [语音全文识别任务控制参数](https://cloud.tencent.com/document/api/266/31773#AsrFullTextConfigureInfo) SubtitleFormats
1241
+ # @type SubtitleSet: Array
1242
+ # @param SubtitleUrl: 生成的字幕文件 Url,对应 [语音全文识别任务控制参数](https://cloud.tencent.com/document/api/266/31773#AsrFullTextConfigureInfo) SubtitleFormat。
1234
1243
  # @type SubtitleUrl: String
1235
1244
 
1236
- attr_accessor :SegmentSet, :SegmentSetFileUrl, :SegmentSetFileUrlExpireTime, :SubtitleUrl
1245
+ attr_accessor :SegmentSet, :SegmentSetFileUrl, :SegmentSetFileUrlExpireTime, :SubtitleSet, :SubtitleUrl
1237
1246
 
1238
- def initialize(segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil, subtitleurl=nil)
1247
+ def initialize(segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil, subtitleset=nil, subtitleurl=nil)
1239
1248
  @SegmentSet = segmentset
1240
1249
  @SegmentSetFileUrl = segmentsetfileurl
1241
1250
  @SegmentSetFileUrlExpireTime = segmentsetfileurlexpiretime
1251
+ @SubtitleSet = subtitleset
1242
1252
  @SubtitleUrl = subtitleurl
1243
1253
  end
1244
1254
 
@@ -1253,10 +1263,40 @@ module TencentCloud
1253
1263
  end
1254
1264
  @SegmentSetFileUrl = params['SegmentSetFileUrl']
1255
1265
  @SegmentSetFileUrlExpireTime = params['SegmentSetFileUrlExpireTime']
1266
+ unless params['SubtitleSet'].nil?
1267
+ @SubtitleSet = []
1268
+ params['SubtitleSet'].each do |i|
1269
+ airecognitiontaskasrfulltextresultoutputsubtitleitem_tmp = AiRecognitionTaskAsrFullTextResultOutputSubtitleItem.new
1270
+ airecognitiontaskasrfulltextresultoutputsubtitleitem_tmp.deserialize(i)
1271
+ @SubtitleSet << airecognitiontaskasrfulltextresultoutputsubtitleitem_tmp
1272
+ end
1273
+ end
1256
1274
  @SubtitleUrl = params['SubtitleUrl']
1257
1275
  end
1258
1276
  end
1259
1277
 
1278
+ # 字幕信息。
1279
+ class AiRecognitionTaskAsrFullTextResultOutputSubtitleItem < TencentCloud::Common::AbstractModel
1280
+ # @param Format: 字幕文件格式,取值范围:
1281
+ # <li>vtt:WebVTT 字幕文件;</li>
1282
+ # <li>srt:SRT 字幕文件。</li>
1283
+ # @type Format: String
1284
+ # @param Url: 字幕文件 Url。
1285
+ # @type Url: String
1286
+
1287
+ attr_accessor :Format, :Url
1288
+
1289
+ def initialize(format=nil, url=nil)
1290
+ @Format = format
1291
+ @Url = url
1292
+ end
1293
+
1294
+ def deserialize(params)
1295
+ @Format = params['Format']
1296
+ @Url = params['Url']
1297
+ end
1298
+ end
1299
+
1260
1300
  # 语音全文识别片段。
1261
1301
  class AiRecognitionTaskAsrFullTextSegmentItem < TencentCloud::Common::AbstractModel
1262
1302
  # @param Confidence: 识别片段置信度。取值:0~100。
@@ -3713,19 +3753,27 @@ module TencentCloud
3713
3753
  # <li>ON:开启智能语音全文识别任务;</li>
3714
3754
  # <li>OFF:关闭智能语音全文识别任务。</li>
3715
3755
  # @type Switch: String
3756
+ # @param SubtitleFormats: 生成的字幕文件格式列表,不填或者填空数组表示不生成字幕文件,可选值:
3757
+ # <li>vtt:生成 WebVTT 字幕文件;</li>
3758
+ # <li>srt:生成 SRT 字幕文件。</li>
3759
+ # @type SubtitleFormats: Array
3716
3760
  # @param SubtitleFormat: 生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:
3717
- # <li>vtt:生成 WebVTT 字幕文件。</li>
3761
+ # <li>vtt:生成 WebVTT 字幕文件;</li>
3762
+ # <li>srt:生成 SRT 字幕文件。</li>
3763
+ # <font color='red'>注意:此字段已废弃,建议使用 SubtitleFormats。</font>
3718
3764
  # @type SubtitleFormat: String
3719
3765
 
3720
- attr_accessor :Switch, :SubtitleFormat
3766
+ attr_accessor :Switch, :SubtitleFormats, :SubtitleFormat
3721
3767
 
3722
- def initialize(switch=nil, subtitleformat=nil)
3768
+ def initialize(switch=nil, subtitleformats=nil, subtitleformat=nil)
3723
3769
  @Switch = switch
3770
+ @SubtitleFormats = subtitleformats
3724
3771
  @SubtitleFormat = subtitleformat
3725
3772
  end
3726
3773
 
3727
3774
  def deserialize(params)
3728
3775
  @Switch = params['Switch']
3776
+ @SubtitleFormats = params['SubtitleFormats']
3729
3777
  @SubtitleFormat = params['SubtitleFormat']
3730
3778
  end
3731
3779
  end
@@ -3736,19 +3784,28 @@ module TencentCloud
3736
3784
  # <li>ON:开启智能语音全文识别任务;</li>
3737
3785
  # <li>OFF:关闭智能语音全文识别任务。</li>
3738
3786
  # @type Switch: String
3739
- # @param SubtitleFormat: 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
3740
- # <li>vtt:生成 WebVTT 字幕文件。</li>
3787
+ # @param SubtitleFormatsOperation: 字幕格式列表操作信息。
3788
+ # @type SubtitleFormatsOperation: :class:`Tencentcloud::Vod.v20180717.models.SubtitleFormatsOperation`
3789
+ # @param SubtitleFormat: 生成的字幕文件格式,<font color='red'>填空字符串</font>表示不生成字幕文件,可选值:
3790
+ # <li>vtt:生成 WebVTT 字幕文件;</li>
3791
+ # <li>srt:生成 SRT 字幕文件。</li>
3792
+ # <font color='red'>注意:此字段已废弃,建议使用 SubtitleFormatsOperation。</font>
3741
3793
  # @type SubtitleFormat: String
3742
3794
 
3743
- attr_accessor :Switch, :SubtitleFormat
3795
+ attr_accessor :Switch, :SubtitleFormatsOperation, :SubtitleFormat
3744
3796
 
3745
- def initialize(switch=nil, subtitleformat=nil)
3797
+ def initialize(switch=nil, subtitleformatsoperation=nil, subtitleformat=nil)
3746
3798
  @Switch = switch
3799
+ @SubtitleFormatsOperation = subtitleformatsoperation
3747
3800
  @SubtitleFormat = subtitleformat
3748
3801
  end
3749
3802
 
3750
3803
  def deserialize(params)
3751
3804
  @Switch = params['Switch']
3805
+ unless params['SubtitleFormatsOperation'].nil?
3806
+ @SubtitleFormatsOperation = SubtitleFormatsOperation.new
3807
+ @SubtitleFormatsOperation.deserialize(params['SubtitleFormatsOperation'])
3808
+ end
3752
3809
  @SubtitleFormat = params['SubtitleFormat']
3753
3810
  end
3754
3811
  end
@@ -5107,6 +5164,11 @@ module TencentCloud
5107
5164
  # <li>FairPlay</li>
5108
5165
  # 如果取值为空字符串,代表不对视频做 DRM 保护。
5109
5166
  # @type DrmType: String
5167
+ # @param DrmKeyProvider: DRM 的密钥提供商,取值范围:
5168
+ # <li>SDMC:华曦达;</li>
5169
+ # <li>VOD:云点播。</li>
5170
+ # 默认为 VOD 。
5171
+ # @type DrmKeyProvider: String
5110
5172
  # @param DisableHigherVideoBitrate: 是否禁止视频低码率转高码率,取值范围:
5111
5173
  # <li>0:否,</li>
5112
5174
  # <li>1:是。</li>
@@ -5120,14 +5182,15 @@ module TencentCloud
5120
5182
  # @param Comment: 模板描述信息,长度限制:256 个字符。
5121
5183
  # @type Comment: String
5122
5184
 
5123
- attr_accessor :Format, :StreamInfos, :SubAppId, :Name, :DrmType, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment
5185
+ attr_accessor :Format, :StreamInfos, :SubAppId, :Name, :DrmType, :DrmKeyProvider, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment
5124
5186
 
5125
- def initialize(format=nil, streaminfos=nil, subappid=nil, name=nil, drmtype=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil)
5187
+ def initialize(format=nil, streaminfos=nil, subappid=nil, name=nil, drmtype=nil, drmkeyprovider=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil)
5126
5188
  @Format = format
5127
5189
  @StreamInfos = streaminfos
5128
5190
  @SubAppId = subappid
5129
5191
  @Name = name
5130
5192
  @DrmType = drmtype
5193
+ @DrmKeyProvider = drmkeyprovider
5131
5194
  @DisableHigherVideoBitrate = disablehighervideobitrate
5132
5195
  @DisableHigherVideoResolution = disablehighervideoresolution
5133
5196
  @Comment = comment
@@ -5146,6 +5209,7 @@ module TencentCloud
5146
5209
  @SubAppId = params['SubAppId']
5147
5210
  @Name = params['Name']
5148
5211
  @DrmType = params['DrmType']
5212
+ @DrmKeyProvider = params['DrmKeyProvider']
5149
5213
  @DisableHigherVideoBitrate = params['DisableHigherVideoBitrate']
5150
5214
  @DisableHigherVideoResolution = params['DisableHigherVideoResolution']
5151
5215
  @Comment = params['Comment']
@@ -8063,6 +8127,46 @@ module TencentCloud
8063
8127
  end
8064
8128
  end
8065
8129
 
8130
+ # DescribeDrmKeyProviderInfo请求参数结构体
8131
+ class DescribeDrmKeyProviderInfoRequest < TencentCloud::Common::AbstractModel
8132
+ # @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
8133
+ # @type SubAppId: Integer
8134
+
8135
+ attr_accessor :SubAppId
8136
+
8137
+ def initialize(subappid=nil)
8138
+ @SubAppId = subappid
8139
+ end
8140
+
8141
+ def deserialize(params)
8142
+ @SubAppId = params['SubAppId']
8143
+ end
8144
+ end
8145
+
8146
+ # DescribeDrmKeyProviderInfo返回参数结构体
8147
+ class DescribeDrmKeyProviderInfoResponse < TencentCloud::Common::AbstractModel
8148
+ # @param SDMCInfo: 华曦达(SDMC)相关的 DRM 密钥提供商信息。
8149
+ # 注意:此字段可能返回 null,表示取不到有效值。
8150
+ # @type SDMCInfo: :class:`Tencentcloud::Vod.v20180717.models.SDMCDrmKeyProviderInfo`
8151
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8152
+ # @type RequestId: String
8153
+
8154
+ attr_accessor :SDMCInfo, :RequestId
8155
+
8156
+ def initialize(sdmcinfo=nil, requestid=nil)
8157
+ @SDMCInfo = sdmcinfo
8158
+ @RequestId = requestid
8159
+ end
8160
+
8161
+ def deserialize(params)
8162
+ unless params['SDMCInfo'].nil?
8163
+ @SDMCInfo = SDMCDrmKeyProviderInfo.new
8164
+ @SDMCInfo.deserialize(params['SDMCInfo'])
8165
+ end
8166
+ @RequestId = params['RequestId']
8167
+ end
8168
+ end
8169
+
8066
8170
  # DescribeEventConfig请求参数结构体
8067
8171
  class DescribeEventConfigRequest < TencentCloud::Common::AbstractModel
8068
8172
  # @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
@@ -9359,7 +9463,7 @@ module TencentCloud
9359
9463
  # <li>WechatMiniProgramPublish:微信小程序视频发布任务;</li>
9360
9464
  # <li>PullUpload:拉取上传媒体文件任务;</li>
9361
9465
  # <li>FastClipMedia:快速剪辑任务;</li>
9362
- # <li>ReduceMediaBitrate:降码率任务。</li>
9466
+ # <li>RemoveWatermarkTask:智能去除水印任务。</li>
9363
9467
  # @type TaskType: String
9364
9468
  # @param Status: 任务状态,取值:
9365
9469
  # <li>WAITING:等待中;</li>
@@ -9408,12 +9512,15 @@ module TencentCloud
9408
9512
  # @param SnapshotByTimeOffsetTask: 视频指定时间点截图任务信息,仅当 TaskType 为 SnapshotByTimeOffset,该字段有值。
9409
9513
  # 注意:此字段可能返回 null,表示取不到有效值。
9410
9514
  # @type SnapshotByTimeOffsetTask: :class:`Tencentcloud::Vod.v20180717.models.SnapshotByTimeOffsetTask2017`
9515
+ # @param RemoveWatermarkTask: 智能去除水印任务信息,仅当 TaskType 为 RemoveWatermark,该字段有值。
9516
+ # 注意:此字段可能返回 null,表示取不到有效值。
9517
+ # @type RemoveWatermarkTask: :class:`Tencentcloud::Vod.v20180717.models.RemoveWatermarkTask`
9411
9518
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9412
9519
  # @type RequestId: String
9413
9520
 
9414
- attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RequestId
9521
+ attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RequestId
9415
9522
 
9416
- def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, requestid=nil)
9523
+ def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, removewatermarktask=nil, requestid=nil)
9417
9524
  @TaskType = tasktype
9418
9525
  @Status = status
9419
9526
  @CreateTime = createtime
@@ -9431,6 +9538,7 @@ module TencentCloud
9431
9538
  @ClipTask = cliptask
9432
9539
  @CreateImageSpriteTask = createimagespritetask
9433
9540
  @SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
9541
+ @RemoveWatermarkTask = removewatermarktask
9434
9542
  @RequestId = requestid
9435
9543
  end
9436
9544
 
@@ -9488,6 +9596,10 @@ module TencentCloud
9488
9596
  @SnapshotByTimeOffsetTask = SnapshotByTimeOffsetTask2017.new
9489
9597
  @SnapshotByTimeOffsetTask.deserialize(params['SnapshotByTimeOffsetTask'])
9490
9598
  end
9599
+ unless params['RemoveWatermarkTask'].nil?
9600
+ @RemoveWatermarkTask = RemoveWatermarkTask.new
9601
+ @RemoveWatermarkTask.deserialize(params['RemoveWatermarkTask'])
9602
+ end
9491
9603
  @RequestId = params['RequestId']
9492
9604
  end
9493
9605
  end
@@ -10459,13 +10571,16 @@ module TencentCloud
10459
10571
  # @param WechatMiniProgramPublishCompleteEvent: 微信小程序发布任务完成事件,当事件类型为 WechatMiniProgramPublishComplete 时有效。
10460
10572
  # 注意:此字段可能返回 null,表示取不到有效值。
10461
10573
  # @type WechatMiniProgramPublishCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.WechatMiniProgramPublishTask`
10574
+ # @param RemoveWatermarkCompleteEvent: 智能去除水印任务完成事件,当事件类型为 RemoveWatermark 有效。
10575
+ # 注意:此字段可能返回 null,表示取不到有效值。
10576
+ # @type RemoveWatermarkCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RemoveWatermarkTask`
10462
10577
  # @param RestoreMediaCompleteEvent: 视频取回完成事件,当事件类型为RestoreMediaComplete 时有效。
10463
10578
  # 注意:此字段可能返回 null,表示取不到有效值。
10464
10579
  # @type RestoreMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RestoreMediaTask`
10465
10580
 
10466
- attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RestoreMediaCompleteEvent
10581
+ attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent
10467
10582
 
10468
- def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, restoremediacompleteevent=nil)
10583
+ def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, removewatermarkcompleteevent=nil, restoremediacompleteevent=nil)
10469
10584
  @EventHandle = eventhandle
10470
10585
  @EventType = eventtype
10471
10586
  @FileUploadEvent = fileuploadevent
@@ -10482,6 +10597,7 @@ module TencentCloud
10482
10597
  @SnapshotByTimeOffsetCompleteEvent = snapshotbytimeoffsetcompleteevent
10483
10598
  @WechatPublishCompleteEvent = wechatpublishcompleteevent
10484
10599
  @WechatMiniProgramPublishCompleteEvent = wechatminiprogrampublishcompleteevent
10600
+ @RemoveWatermarkCompleteEvent = removewatermarkcompleteevent
10485
10601
  @RestoreMediaCompleteEvent = restoremediacompleteevent
10486
10602
  end
10487
10603
 
@@ -10544,6 +10660,10 @@ module TencentCloud
10544
10660
  @WechatMiniProgramPublishCompleteEvent = WechatMiniProgramPublishTask.new
10545
10661
  @WechatMiniProgramPublishCompleteEvent.deserialize(params['WechatMiniProgramPublishCompleteEvent'])
10546
10662
  end
10663
+ unless params['RemoveWatermarkCompleteEvent'].nil?
10664
+ @RemoveWatermarkCompleteEvent = RemoveWatermarkTask.new
10665
+ @RemoveWatermarkCompleteEvent.deserialize(params['RemoveWatermarkCompleteEvent'])
10666
+ end
10547
10667
  unless params['RestoreMediaCompleteEvent'].nil?
10548
10668
  @RestoreMediaCompleteEvent = RestoreMediaTask.new
10549
10669
  @RestoreMediaCompleteEvent.deserialize(params['RestoreMediaCompleteEvent'])
@@ -11517,16 +11637,28 @@ module TencentCloud
11517
11637
  # @type ExpireTime: String
11518
11638
  # @param Procedure: 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 时有效。
11519
11639
  # @type Procedure: String
11640
+ # @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
11641
+ # <li>默认值:0,表示其他分类。</li>
11642
+ # 仅 IsPersistence 为 1 时有效。
11643
+ # @type ClassId: Integer
11644
+ # @param SourceContext: 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。仅 IsPersistence 为 1 时有效。
11645
+ # @type SourceContext: String
11646
+ # @param SessionContext: 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。仅 IsPersistence 为 1 时有效。
11647
+ # @type SessionContext: String
11520
11648
  # @param MetaDataRequired: 是否需要返回剪辑后的视频元信息。0 不需要,1 需要。默认不需要。
11521
11649
  # @type MetaDataRequired: Integer
11522
11650
  # @param Host: 云点播中添加的用于时移播放的域名,必须在云直播已经[关联录制模板和开通时移服务](https://cloud.tencent.com/document/product/266/52220#.E6.AD.A5.E9.AA.A43.EF.BC.9A.E5.85.B3.E8.81.94.E5.BD.95.E5.88.B6.E6.A8.A1.E6.9D.BF.3Ca-id.3D.22step3.22.3E.3C.2Fa.3E)。**如果本接口的首次调用时间在 2021-01-01T00:00:00Z 之后,则此字段为必选字段。**
11523
11651
  # @type Host: String
11652
+ # @param StreamInfo: 剪辑的直播流信息:
11653
+ # <li>默认剪辑直播原始流。</li>
11654
+ # <li>当StreamInfo中指定的Type为Transcoding,则剪辑TemplateId对应的直播转码流。</li>
11655
+ # @type StreamInfo: :class:`Tencentcloud::Vod.v20180717.models.LiveRealTimeClipStreamInfo`
11524
11656
  # @param ExtInfo: 系统保留字段,请勿填写。
11525
11657
  # @type ExtInfo: String
11526
11658
 
11527
- attr_accessor :StreamId, :StartTime, :EndTime, :SubAppId, :IsPersistence, :ExpireTime, :Procedure, :MetaDataRequired, :Host, :ExtInfo
11659
+ attr_accessor :StreamId, :StartTime, :EndTime, :SubAppId, :IsPersistence, :ExpireTime, :Procedure, :ClassId, :SourceContext, :SessionContext, :MetaDataRequired, :Host, :StreamInfo, :ExtInfo
11528
11660
 
11529
- def initialize(streamid=nil, starttime=nil, endtime=nil, subappid=nil, ispersistence=nil, expiretime=nil, procedure=nil, metadatarequired=nil, host=nil, extinfo=nil)
11661
+ def initialize(streamid=nil, starttime=nil, endtime=nil, subappid=nil, ispersistence=nil, expiretime=nil, procedure=nil, classid=nil, sourcecontext=nil, sessioncontext=nil, metadatarequired=nil, host=nil, streaminfo=nil, extinfo=nil)
11530
11662
  @StreamId = streamid
11531
11663
  @StartTime = starttime
11532
11664
  @EndTime = endtime
@@ -11534,8 +11666,12 @@ module TencentCloud
11534
11666
  @IsPersistence = ispersistence
11535
11667
  @ExpireTime = expiretime
11536
11668
  @Procedure = procedure
11669
+ @ClassId = classid
11670
+ @SourceContext = sourcecontext
11671
+ @SessionContext = sessioncontext
11537
11672
  @MetaDataRequired = metadatarequired
11538
11673
  @Host = host
11674
+ @StreamInfo = streaminfo
11539
11675
  @ExtInfo = extinfo
11540
11676
  end
11541
11677
 
@@ -11547,8 +11683,15 @@ module TencentCloud
11547
11683
  @IsPersistence = params['IsPersistence']
11548
11684
  @ExpireTime = params['ExpireTime']
11549
11685
  @Procedure = params['Procedure']
11686
+ @ClassId = params['ClassId']
11687
+ @SourceContext = params['SourceContext']
11688
+ @SessionContext = params['SessionContext']
11550
11689
  @MetaDataRequired = params['MetaDataRequired']
11551
11690
  @Host = params['Host']
11691
+ unless params['StreamInfo'].nil?
11692
+ @StreamInfo = LiveRealTimeClipStreamInfo.new
11693
+ @StreamInfo.deserialize(params['StreamInfo'])
11694
+ end
11552
11695
  @ExtInfo = params['ExtInfo']
11553
11696
  end
11554
11697
  end
@@ -11600,6 +11743,29 @@ module TencentCloud
11600
11743
  end
11601
11744
  end
11602
11745
 
11746
+ # 直播即时剪辑流信息
11747
+ class LiveRealTimeClipStreamInfo < TencentCloud::Common::AbstractModel
11748
+ # @param Type: 直播流类型,可选值:
11749
+ # <li>Original(原始流,<b>默认值</b>)。</li>
11750
+ # <li>Transcoding(转码流)。</li>
11751
+ # @type Type: String
11752
+ # @param TemplateId: 直播转码模板ID。
11753
+ # <b>当Type值为"Transcoding"时,必须填写。</b>
11754
+ # @type TemplateId: Integer
11755
+
11756
+ attr_accessor :Type, :TemplateId
11757
+
11758
+ def initialize(type=nil, templateid=nil)
11759
+ @Type = type
11760
+ @TemplateId = templateid
11761
+ end
11762
+
11763
+ def deserialize(params)
11764
+ @Type = params['Type']
11765
+ @TemplateId = params['TemplateId']
11766
+ end
11767
+ end
11768
+
11603
11769
  # ManageTask请求参数结构体
11604
11770
  class ManageTaskRequest < TencentCloud::Common::AbstractModel
11605
11771
  # @param TaskId: 视频处理的任务 ID。
@@ -13333,17 +13499,25 @@ module TencentCloud
13333
13499
  # @type SourceType: String
13334
13500
  # @param SourceContext: 用户创建文件时透传的字段
13335
13501
  # @type SourceContext: String
13502
+ # @param TrtcRecordInfo: TRTC 伴生录制信息。
13503
+ # 注意:此字段可能返回 null,表示取不到有效值。
13504
+ # @type TrtcRecordInfo: :class:`Tencentcloud::Vod.v20180717.models.TrtcRecordInfo`
13336
13505
 
13337
- attr_accessor :SourceType, :SourceContext
13506
+ attr_accessor :SourceType, :SourceContext, :TrtcRecordInfo
13338
13507
 
13339
- def initialize(sourcetype=nil, sourcecontext=nil)
13508
+ def initialize(sourcetype=nil, sourcecontext=nil, trtcrecordinfo=nil)
13340
13509
  @SourceType = sourcetype
13341
13510
  @SourceContext = sourcecontext
13511
+ @TrtcRecordInfo = trtcrecordinfo
13342
13512
  end
13343
13513
 
13344
13514
  def deserialize(params)
13345
13515
  @SourceType = params['SourceType']
13346
13516
  @SourceContext = params['SourceContext']
13517
+ unless params['TrtcRecordInfo'].nil?
13518
+ @TrtcRecordInfo = TrtcRecordInfo.new
13519
+ @TrtcRecordInfo.deserialize(params['TrtcRecordInfo'])
13520
+ end
13347
13521
  end
13348
13522
  end
13349
13523
 
@@ -17385,6 +17559,162 @@ module TencentCloud
17385
17559
  end
17386
17560
  end
17387
17561
 
17562
+ # 智能去除水印任务的输入。
17563
+ class RemoveWaterMarkTaskInput < TencentCloud::Common::AbstractModel
17564
+ # @param FileId: 媒体文件 ID。
17565
+ # @type FileId: String
17566
+
17567
+ attr_accessor :FileId
17568
+
17569
+ def initialize(fileid=nil)
17570
+ @FileId = fileid
17571
+ end
17572
+
17573
+ def deserialize(params)
17574
+ @FileId = params['FileId']
17575
+ end
17576
+ end
17577
+
17578
+ # 智能去除水印任务的输出。
17579
+ class RemoveWaterMarkTaskOutput < TencentCloud::Common::AbstractModel
17580
+ # @param FileId: 视频 ID。
17581
+ # @type FileId: String
17582
+ # @param MetaData: 元信息。包括大小、时长、视频流信息、音频流信息等。
17583
+ # @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
17584
+
17585
+ attr_accessor :FileId, :MetaData
17586
+
17587
+ def initialize(fileid=nil, metadata=nil)
17588
+ @FileId = fileid
17589
+ @MetaData = metadata
17590
+ end
17591
+
17592
+ def deserialize(params)
17593
+ @FileId = params['FileId']
17594
+ unless params['MetaData'].nil?
17595
+ @MetaData = MediaMetaData.new
17596
+ @MetaData.deserialize(params['MetaData'])
17597
+ end
17598
+ end
17599
+ end
17600
+
17601
+ # RemoveWatermark请求参数结构体
17602
+ class RemoveWatermarkRequest < TencentCloud::Common::AbstractModel
17603
+ # @param FileId: 媒体文件 ID 。
17604
+ # @type FileId: String
17605
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
17606
+ # @type SubAppId: Integer
17607
+ # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
17608
+ # @type SessionId: String
17609
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
17610
+ # @type SessionContext: String
17611
+ # @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
17612
+ # @type TasksPriority: Integer
17613
+ # @param TasksNotifyMode: 该字段已无效。
17614
+ # @type TasksNotifyMode: String
17615
+
17616
+ attr_accessor :FileId, :SubAppId, :SessionId, :SessionContext, :TasksPriority, :TasksNotifyMode
17617
+
17618
+ def initialize(fileid=nil, subappid=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil, tasksnotifymode=nil)
17619
+ @FileId = fileid
17620
+ @SubAppId = subappid
17621
+ @SessionId = sessionid
17622
+ @SessionContext = sessioncontext
17623
+ @TasksPriority = taskspriority
17624
+ @TasksNotifyMode = tasksnotifymode
17625
+ end
17626
+
17627
+ def deserialize(params)
17628
+ @FileId = params['FileId']
17629
+ @SubAppId = params['SubAppId']
17630
+ @SessionId = params['SessionId']
17631
+ @SessionContext = params['SessionContext']
17632
+ @TasksPriority = params['TasksPriority']
17633
+ @TasksNotifyMode = params['TasksNotifyMode']
17634
+ end
17635
+ end
17636
+
17637
+ # RemoveWatermark返回参数结构体
17638
+ class RemoveWatermarkResponse < TencentCloud::Common::AbstractModel
17639
+ # @param TaskId: 任务 ID 。
17640
+ # @type TaskId: String
17641
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17642
+ # @type RequestId: String
17643
+
17644
+ attr_accessor :TaskId, :RequestId
17645
+
17646
+ def initialize(taskid=nil, requestid=nil)
17647
+ @TaskId = taskid
17648
+ @RequestId = requestid
17649
+ end
17650
+
17651
+ def deserialize(params)
17652
+ @TaskId = params['TaskId']
17653
+ @RequestId = params['RequestId']
17654
+ end
17655
+ end
17656
+
17657
+ # 智能去除水印任务信息,仅当 TaskType 为 RemoveWatermark,该字段有值。
17658
+ class RemoveWatermarkTask < TencentCloud::Common::AbstractModel
17659
+ # @param TaskId: 任务 ID 。
17660
+ # @type TaskId: String
17661
+ # @param Status: 任务流状态,取值:
17662
+ # <li>PROCESSING:处理中;</li>
17663
+ # <li>FINISH:已完成。</li>
17664
+ # @type Status: String
17665
+ # @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
17666
+ # @type ErrCodeExt: String
17667
+ # @param ErrCode: 错误码,0 表示成功,其他值表示失败:
17668
+ # <li>40000:输入参数不合法,请检查输入参数;</li>
17669
+ # <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
17670
+ # <li>70000:内部服务错误,建议重试。</li>
17671
+ # @type ErrCode: Integer
17672
+ # @param Message: 错误信息。
17673
+ # @type Message: String
17674
+ # @param Input: 智能去除水印任务的输入。
17675
+ # 注意:此字段可能返回 null,表示取不到有效值。
17676
+ # @type Input: :class:`Tencentcloud::Vod.v20180717.models.RemoveWaterMarkTaskInput`
17677
+ # @param Output: 智能去除水印任务的输出。
17678
+ # 注意:此字段可能返回 null,表示取不到有效值。
17679
+ # @type Output: :class:`Tencentcloud::Vod.v20180717.models.RemoveWaterMarkTaskOutput`
17680
+ # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
17681
+ # @type SessionId: String
17682
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
17683
+ # @type SessionContext: String
17684
+
17685
+ attr_accessor :TaskId, :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :SessionId, :SessionContext
17686
+
17687
+ def initialize(taskid=nil, status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, sessionid=nil, sessioncontext=nil)
17688
+ @TaskId = taskid
17689
+ @Status = status
17690
+ @ErrCodeExt = errcodeext
17691
+ @ErrCode = errcode
17692
+ @Message = message
17693
+ @Input = input
17694
+ @Output = output
17695
+ @SessionId = sessionid
17696
+ @SessionContext = sessioncontext
17697
+ end
17698
+
17699
+ def deserialize(params)
17700
+ @TaskId = params['TaskId']
17701
+ @Status = params['Status']
17702
+ @ErrCodeExt = params['ErrCodeExt']
17703
+ @ErrCode = params['ErrCode']
17704
+ @Message = params['Message']
17705
+ unless params['Input'].nil?
17706
+ @Input = RemoveWaterMarkTaskInput.new
17707
+ @Input.deserialize(params['Input'])
17708
+ end
17709
+ unless params['Output'].nil?
17710
+ @Output = RemoveWaterMarkTaskOutput.new
17711
+ @Output.deserialize(params['Output'])
17712
+ end
17713
+ @SessionId = params['SessionId']
17714
+ @SessionContext = params['SessionContext']
17715
+ end
17716
+ end
17717
+
17388
17718
  # ResetProcedureTemplate请求参数结构体
17389
17719
  class ResetProcedureTemplateRequest < TencentCloud::Common::AbstractModel
17390
17720
  # @param Name: 任务流名字
@@ -17637,6 +17967,34 @@ module TencentCloud
17637
17967
  end
17638
17968
  end
17639
17969
 
17970
+ # 华曦达(SDMC)相关的 DRM 密钥提供商信息。
17971
+ class SDMCDrmKeyProviderInfo < TencentCloud::Common::AbstractModel
17972
+ # @param Uid: 华曦达分配的用户 ID。最大长度为128个字符。
17973
+ # @type Uid: String
17974
+ # @param SecretId: 华曦达分配的用户密钥 ID。最大长度为128个字符。
17975
+ # @type SecretId: String
17976
+ # @param SecretKey: 华曦达分配的用户密钥内容。最大长度为128个字符。
17977
+ # @type SecretKey: String
17978
+ # @param FairPlayCertificateUrl: 华曦达分配的 FairPlay 证书地址。该地址需使用 HTTPS 协议,最大长度为1024个字符。
17979
+ # @type FairPlayCertificateUrl: String
17980
+
17981
+ attr_accessor :Uid, :SecretId, :SecretKey, :FairPlayCertificateUrl
17982
+
17983
+ def initialize(uid=nil, secretid=nil, secretkey=nil, fairplaycertificateurl=nil)
17984
+ @Uid = uid
17985
+ @SecretId = secretid
17986
+ @SecretKey = secretkey
17987
+ @FairPlayCertificateUrl = fairplaycertificateurl
17988
+ end
17989
+
17990
+ def deserialize(params)
17991
+ @Uid = params['Uid']
17992
+ @SecretId = params['SecretId']
17993
+ @SecretKey = params['SecretKey']
17994
+ @FairPlayCertificateUrl = params['FairPlayCertificateUrl']
17995
+ end
17996
+ end
17997
+
17640
17998
  # 对视频做采样截图任务输入参数类型
17641
17999
  class SampleSnapshotTaskInput < TencentCloud::Common::AbstractModel
17642
18000
  # @param Definition: 采样截图模板 ID。
@@ -17827,6 +18185,13 @@ module TencentCloud
17827
18185
  # <li> ARCHIVE:归档存储。</li>
17828
18186
  # <li> DEEP_ARCHIVE:深度归档存储。</li>
17829
18187
  # @type StorageClasses: Array
18188
+ # @param TrtcSdkAppIds: TRTC 应用 ID 集合。匹配集合中的任意元素。
18189
+ # <li>数组长度限制:10。</li>
18190
+ # @type TrtcSdkAppIds: Array
18191
+ # @param TrtcRoomIds: TRTC 房间 ID 集合。匹配集合中的任意元素。
18192
+ # <li>单个房间 ID 长度限制:64个字符;</li>
18193
+ # <li>数组长度限制:10。</li>
18194
+ # @type TrtcRoomIds: Array
17830
18195
  # @param Text: (不推荐:应使用 Names、NamePrefixes 或 Descriptions 替代)
17831
18196
  # 搜索文本,模糊匹配媒体文件名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:64个字符。
17832
18197
  # @type Text: String
@@ -17852,9 +18217,9 @@ module TencentCloud
17852
18217
  # <li>格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。</li>
17853
18218
  # @type EndTime: String
17854
18219
 
17855
- attr_accessor :SubAppId, :FileIds, :Names, :NamePrefixes, :Descriptions, :ClassIds, :Tags, :Categories, :SourceTypes, :StreamIds, :Vids, :CreateTime, :ExpireTime, :Sort, :Offset, :Limit, :Filters, :StorageRegions, :StorageClasses, :Text, :SourceType, :StreamId, :Vid, :StartTime, :EndTime
18220
+ attr_accessor :SubAppId, :FileIds, :Names, :NamePrefixes, :Descriptions, :ClassIds, :Tags, :Categories, :SourceTypes, :StreamIds, :Vids, :CreateTime, :ExpireTime, :Sort, :Offset, :Limit, :Filters, :StorageRegions, :StorageClasses, :TrtcSdkAppIds, :TrtcRoomIds, :Text, :SourceType, :StreamId, :Vid, :StartTime, :EndTime
17856
18221
 
17857
- def initialize(subappid=nil, fileids=nil, names=nil, nameprefixes=nil, descriptions=nil, classids=nil, tags=nil, categories=nil, sourcetypes=nil, streamids=nil, vids=nil, createtime=nil, expiretime=nil, sort=nil, offset=nil, limit=nil, filters=nil, storageregions=nil, storageclasses=nil, text=nil, sourcetype=nil, streamid=nil, vid=nil, starttime=nil, endtime=nil)
18222
+ def initialize(subappid=nil, fileids=nil, names=nil, nameprefixes=nil, descriptions=nil, classids=nil, tags=nil, categories=nil, sourcetypes=nil, streamids=nil, vids=nil, createtime=nil, expiretime=nil, sort=nil, offset=nil, limit=nil, filters=nil, storageregions=nil, storageclasses=nil, trtcsdkappids=nil, trtcroomids=nil, text=nil, sourcetype=nil, streamid=nil, vid=nil, starttime=nil, endtime=nil)
17858
18223
  @SubAppId = subappid
17859
18224
  @FileIds = fileids
17860
18225
  @Names = names
@@ -17874,6 +18239,8 @@ module TencentCloud
17874
18239
  @Filters = filters
17875
18240
  @StorageRegions = storageregions
17876
18241
  @StorageClasses = storageclasses
18242
+ @TrtcSdkAppIds = trtcsdkappids
18243
+ @TrtcRoomIds = trtcroomids
17877
18244
  @Text = text
17878
18245
  @SourceType = sourcetype
17879
18246
  @StreamId = streamid
@@ -17911,6 +18278,8 @@ module TencentCloud
17911
18278
  @Filters = params['Filters']
17912
18279
  @StorageRegions = params['StorageRegions']
17913
18280
  @StorageClasses = params['StorageClasses']
18281
+ @TrtcSdkAppIds = params['TrtcSdkAppIds']
18282
+ @TrtcRoomIds = params['TrtcRoomIds']
17914
18283
  @Text = params['Text']
17915
18284
  @SourceType = params['SourceType']
17916
18285
  @StreamId = params['StreamId']
@@ -17988,6 +18357,45 @@ module TencentCloud
17988
18357
  end
17989
18358
  end
17990
18359
 
18360
+ # SetDrmKeyProviderInfo请求参数结构体
18361
+ class SetDrmKeyProviderInfoRequest < TencentCloud::Common::AbstractModel
18362
+ # @param SDMCInfo: 华曦达(SDMC)相关的 DRM 密钥提供商信息。
18363
+ # @type SDMCInfo: :class:`Tencentcloud::Vod.v20180717.models.SDMCDrmKeyProviderInfo`
18364
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
18365
+ # @type SubAppId: Integer
18366
+
18367
+ attr_accessor :SDMCInfo, :SubAppId
18368
+
18369
+ def initialize(sdmcinfo=nil, subappid=nil)
18370
+ @SDMCInfo = sdmcinfo
18371
+ @SubAppId = subappid
18372
+ end
18373
+
18374
+ def deserialize(params)
18375
+ unless params['SDMCInfo'].nil?
18376
+ @SDMCInfo = SDMCDrmKeyProviderInfo.new
18377
+ @SDMCInfo.deserialize(params['SDMCInfo'])
18378
+ end
18379
+ @SubAppId = params['SubAppId']
18380
+ end
18381
+ end
18382
+
18383
+ # SetDrmKeyProviderInfo返回参数结构体
18384
+ class SetDrmKeyProviderInfoResponse < TencentCloud::Common::AbstractModel
18385
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18386
+ # @type RequestId: String
18387
+
18388
+ attr_accessor :RequestId
18389
+
18390
+ def initialize(requestid=nil)
18391
+ @RequestId = requestid
18392
+ end
18393
+
18394
+ def deserialize(params)
18395
+ @RequestId = params['RequestId']
18396
+ end
18397
+ end
18398
+
17991
18399
  # 简单加密加解密密钥对。
17992
18400
  class SimpleAesEdkPair < TencentCloud::Common::AbstractModel
17993
18401
  # @param Edk: 加密后的数据密钥。
@@ -18020,15 +18428,32 @@ module TencentCloud
18020
18428
  # @type EndTimeOffset: Float
18021
18429
  # @param IsPersistence: 是否固化。0 不固化,1 固化。默认不固化。
18022
18430
  # @type IsPersistence: Integer
18431
+ # @param ExpireTime: 剪辑固化后的视频存储过期时间。格式参照 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。填“9999-12-31T23:59:59Z”表示永不过期。过期后该媒体文件及其相关资源(转码结果、雪碧图等)将被永久删除。仅 IsPersistence 为 1 时有效,默认剪辑固化的视频永不过期。
18432
+ # @type ExpireTime: String
18433
+ # @param Procedure: 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 时有效。
18434
+ # @type Procedure: String
18435
+ # @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
18436
+ # <li>默认值:0,表示其他分类。</li>
18437
+ # 仅 IsPersistence 为 1 时有效。
18438
+ # @type ClassId: Integer
18439
+ # @param SourceContext: 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。仅 IsPersistence 为 1 时有效。
18440
+ # @type SourceContext: String
18441
+ # @param SessionContext: 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。仅 IsPersistence 为 1 时有效。
18442
+ # @type SessionContext: String
18023
18443
 
18024
- attr_accessor :Url, :SubAppId, :StartTimeOffset, :EndTimeOffset, :IsPersistence
18444
+ attr_accessor :Url, :SubAppId, :StartTimeOffset, :EndTimeOffset, :IsPersistence, :ExpireTime, :Procedure, :ClassId, :SourceContext, :SessionContext
18025
18445
 
18026
- def initialize(url=nil, subappid=nil, starttimeoffset=nil, endtimeoffset=nil, ispersistence=nil)
18446
+ def initialize(url=nil, subappid=nil, starttimeoffset=nil, endtimeoffset=nil, ispersistence=nil, expiretime=nil, procedure=nil, classid=nil, sourcecontext=nil, sessioncontext=nil)
18027
18447
  @Url = url
18028
18448
  @SubAppId = subappid
18029
18449
  @StartTimeOffset = starttimeoffset
18030
18450
  @EndTimeOffset = endtimeoffset
18031
18451
  @IsPersistence = ispersistence
18452
+ @ExpireTime = expiretime
18453
+ @Procedure = procedure
18454
+ @ClassId = classid
18455
+ @SourceContext = sourcecontext
18456
+ @SessionContext = sessioncontext
18032
18457
  end
18033
18458
 
18034
18459
  def deserialize(params)
@@ -18037,6 +18462,11 @@ module TencentCloud
18037
18462
  @StartTimeOffset = params['StartTimeOffset']
18038
18463
  @EndTimeOffset = params['EndTimeOffset']
18039
18464
  @IsPersistence = params['IsPersistence']
18465
+ @ExpireTime = params['ExpireTime']
18466
+ @Procedure = params['Procedure']
18467
+ @ClassId = params['ClassId']
18468
+ @SourceContext = params['SourceContext']
18469
+ @SessionContext = params['SessionContext']
18040
18470
  end
18041
18471
  end
18042
18472
 
@@ -18048,15 +18478,18 @@ module TencentCloud
18048
18478
  # @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
18049
18479
  # @param FileId: 剪辑固化后的视频的媒体文件的唯一标识。
18050
18480
  # @type FileId: String
18481
+ # @param TaskId: 剪辑固化后的视频任务流 ID。
18482
+ # @type TaskId: String
18051
18483
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18052
18484
  # @type RequestId: String
18053
18485
 
18054
- attr_accessor :Url, :MetaData, :FileId, :RequestId
18486
+ attr_accessor :Url, :MetaData, :FileId, :TaskId, :RequestId
18055
18487
 
18056
- def initialize(url=nil, metadata=nil, fileid=nil, requestid=nil)
18488
+ def initialize(url=nil, metadata=nil, fileid=nil, taskid=nil, requestid=nil)
18057
18489
  @Url = url
18058
18490
  @MetaData = metadata
18059
18491
  @FileId = fileid
18492
+ @TaskId = taskid
18060
18493
  @RequestId = requestid
18061
18494
  end
18062
18495
 
@@ -18067,6 +18500,7 @@ module TencentCloud
18067
18500
  @MetaData.deserialize(params['MetaData'])
18068
18501
  end
18069
18502
  @FileId = params['FileId']
18503
+ @TaskId = params['TaskId']
18070
18504
  @RequestId = params['RequestId']
18071
18505
  end
18072
18506
  end
@@ -18755,6 +19189,31 @@ module TencentCloud
18755
19189
  end
18756
19190
  end
18757
19191
 
19192
+ # 字幕格式列表操作。
19193
+ class SubtitleFormatsOperation < TencentCloud::Common::AbstractModel
19194
+ # @param Type: 操作类型,取值范围:
19195
+ # <li>add:添加 Formats 指定的格式列表;</li>
19196
+ # <li>delete:删除 Formats 指定的格式列表;<l/i>
19197
+ # <li>reset:将已配置的格式列表重置为 Formats 指定的格式列表。</li>
19198
+ # @type Type: String
19199
+ # @param Formats: 字幕格式列表,取值范围:
19200
+ # <li>vtt:生成 WebVTT 字幕文件;</li>
19201
+ # <li>srt:生成 SRT 字幕文件。</li>
19202
+ # @type Formats: Array
19203
+
19204
+ attr_accessor :Type, :Formats
19205
+
19206
+ def initialize(type=nil, formats=nil)
19207
+ @Type = type
19208
+ @Formats = formats
19209
+ end
19210
+
19211
+ def deserialize(params)
19212
+ @Type = params['Type']
19213
+ @Formats = params['Formats']
19214
+ end
19215
+ end
19216
+
18758
19217
  # SVG水印模板输入参数
18759
19218
  class SvgWatermarkInput < TencentCloud::Common::AbstractModel
18760
19219
  # @param Width: 水印的宽度,支持 px,%,W%,H%,S%,L% 六种格式:
@@ -19769,6 +20228,34 @@ module TencentCloud
19769
20228
  end
19770
20229
  end
19771
20230
 
20231
+ # TRTC伴生录制信息。
20232
+ class TrtcRecordInfo < TencentCloud::Common::AbstractModel
20233
+ # @param SdkAppId: TRTC 应用 ID。
20234
+ # @type SdkAppId: Integer
20235
+ # @param RoomId: TRTC 房间 ID。
20236
+ # @type RoomId: String
20237
+ # @param TaskId: 录制任务 ID。
20238
+ # @type TaskId: String
20239
+ # @param UserIds: 参与录制的用户 ID 列表。
20240
+ # @type UserIds: Array
20241
+
20242
+ attr_accessor :SdkAppId, :RoomId, :TaskId, :UserIds
20243
+
20244
+ def initialize(sdkappid=nil, roomid=nil, taskid=nil, userids=nil)
20245
+ @SdkAppId = sdkappid
20246
+ @RoomId = roomid
20247
+ @TaskId = taskid
20248
+ @UserIds = userids
20249
+ end
20250
+
20251
+ def deserialize(params)
20252
+ @SdkAppId = params['SdkAppId']
20253
+ @RoomId = params['RoomId']
20254
+ @TaskId = params['TaskId']
20255
+ @UserIds = params['UserIds']
20256
+ end
20257
+ end
20258
+
19772
20259
  # 基于签名的 Key 防盗链信息
19773
20260
  class UrlSignatureAuthPolicy < TencentCloud::Common::AbstractModel
19774
20261
  # @param Status: [Key 防盗链](https://cloud.tencent.com/document/product/266/14047)设置状态,可选值:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.390
4
+ version: 3.0.393
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-18 00:00:00.000000000 Z
11
+ date: 2022-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common