tencentcloud-sdk-vod 3.0.936 → 3.0.938

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: 3b2f901d13ae7cc526f01a6265aba856d3f874ef
4
- data.tar.gz: 8b1ad7f1a469699a51336e854e00671232449f0c
3
+ metadata.gz: 8044a7aaba115a772f7567d1d2965e3e53106412
4
+ data.tar.gz: 2b9f7e68482600bd2a7931236bcaa6a95d9e3f08
5
5
  SHA512:
6
- metadata.gz: 9b92a29d326f539936fed384413208102c6364f9928d8eb581a76ab5dfd7b7ecff9ae322ce157d3bebaf829604fd48316affad1557162ab3abbc0d47ce6b2780
7
- data.tar.gz: dfca29ca65be5a805343a7b539f5393f6ccd5eb7978e331c5df7147fce84e0334c1fd0f5e08f21ab4e4169a989b63c6522ea5f2178c636b0542392efff9f0e68
6
+ metadata.gz: 9b7e9f4689f659232485cfafb7a06c58fbd9f3c35f9abc8fd086c0ff9deefbd9ef6af1eb70ecf72f83320585b89df072b95d138d052c6495e7fa608e491c983b
7
+ data.tar.gz: 8161d810eca2a77d98e26cddff7a9a470a150862798aa3fe80c09b6903ae56e528c1428c564b50f969e38a63b05100bd78f58df1a875d82ef57b4a57d041b5bf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.936
1
+ 3.0.938
@@ -335,6 +335,41 @@ module TencentCloud
335
335
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
336
336
  end
337
337
 
338
+ # 发起复杂自适应码流处理任务,功能包括:
339
+ # 1. 按指定的自适应码流模版输出 HLS、DASH 自适应码流;
340
+ # 2. 自适应码流的内容保护方案可选择无加密、Widevine 或 FairPlay;
341
+ # 3. 支持添加片头片尾;
342
+ # 4. 输出的自适应码流可包含多语言音频流,每种语言分别来自不同的媒体文件;
343
+ # 5. 输出的自适应码流可包含多语言字幕流。
344
+
345
+ # 注意事项:
346
+ # 1. 当使用片头时,片头媒体中的视频流需要和音频流对齐,否则将导致输出的内容音画不同步;
347
+ # 2. 如果输出的自适应码流需要包含主媒体的音频,那么需要在 AudioSet 参数中指定主媒体的 FileId;
348
+ # 3. 使用字幕时,需要先将字幕添加到主媒体,可通过 ModifyMediaInfo 接口或控制台的音视频详情页进行添加;
349
+ # 4. 暂不支持极速高清、水印。
350
+
351
+ # @param request: Request instance for CreateComplexAdaptiveDynamicStreamingTask.
352
+ # @type request: :class:`Tencentcloud::vod::V20180717::CreateComplexAdaptiveDynamicStreamingTaskRequest`
353
+ # @rtype: :class:`Tencentcloud::vod::V20180717::CreateComplexAdaptiveDynamicStreamingTaskResponse`
354
+ def CreateComplexAdaptiveDynamicStreamingTask(request)
355
+ body = send_request('CreateComplexAdaptiveDynamicStreamingTask', request.serialize)
356
+ response = JSON.parse(body)
357
+ if response['Response'].key?('Error') == false
358
+ model = CreateComplexAdaptiveDynamicStreamingTaskResponse.new
359
+ model.deserialize(response['Response'])
360
+ model
361
+ else
362
+ code = response['Response']['Error']['Code']
363
+ message = response['Response']['Error']['Message']
364
+ reqid = response['Response']['RequestId']
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
366
+ end
367
+ rescue TencentCloud::Common::TencentCloudSDKException => e
368
+ raise e
369
+ rescue StandardError => e
370
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
371
+ end
372
+
338
373
  # 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [创建审核模板](https://cloud.tencent.com/document/api/266/84391)。
339
374
  # 创建用户自定义音视频内容审核模板,数量上限:50。
340
375
 
@@ -2181,8 +2181,8 @@ module TencentCloud
2181
2181
 
2182
2182
  attr_accessor :Name, :SegmentSet, :RecognitionSegmentSet
2183
2183
  extend Gem::Deprecate
2184
- deprecate :SegmentSet, :none, 2024, 10
2185
- deprecate :SegmentSet=, :none, 2024, 10
2184
+ deprecate :SegmentSet, :none, 2024, 11
2185
+ deprecate :SegmentSet=, :none, 2024, 11
2186
2186
 
2187
2187
  def initialize(name=nil, segmentset=nil, recognitionsegmentset=nil)
2188
2188
  @Name = name
@@ -5351,6 +5351,207 @@ module TencentCloud
5351
5351
  end
5352
5352
  end
5353
5353
 
5354
+ # 自适应码流任务信息。
5355
+ class ComplexAdaptiveDynamicStreamingTask < TencentCloud::Common::AbstractModel
5356
+ # @param TaskId: 任务 ID。
5357
+ # @type TaskId: String
5358
+ # @param Status: 任务状态,取值:
5359
+ # <li>PROCESSING:处理中;</li>
5360
+ # <li>FINISH:已完成。</li>
5361
+ # @type Status: String
5362
+ # @param ComplexAdaptiveDynamicStreamingTaskResultSet: 自适应码流任务的执行状态与结果,每个元素对应一个自适应码流模版。
5363
+ # @type ComplexAdaptiveDynamicStreamingTaskResultSet: Array
5364
+
5365
+ attr_accessor :TaskId, :Status, :ComplexAdaptiveDynamicStreamingTaskResultSet
5366
+
5367
+ def initialize(taskid=nil, status=nil, complexadaptivedynamicstreamingtaskresultset=nil)
5368
+ @TaskId = taskid
5369
+ @Status = status
5370
+ @ComplexAdaptiveDynamicStreamingTaskResultSet = complexadaptivedynamicstreamingtaskresultset
5371
+ end
5372
+
5373
+ def deserialize(params)
5374
+ @TaskId = params['TaskId']
5375
+ @Status = params['Status']
5376
+ unless params['ComplexAdaptiveDynamicStreamingTaskResultSet'].nil?
5377
+ @ComplexAdaptiveDynamicStreamingTaskResultSet = []
5378
+ params['ComplexAdaptiveDynamicStreamingTaskResultSet'].each do |i|
5379
+ complexadaptivedynamicstreamingtaskresult_tmp = ComplexAdaptiveDynamicStreamingTaskResult.new
5380
+ complexadaptivedynamicstreamingtaskresult_tmp.deserialize(i)
5381
+ @ComplexAdaptiveDynamicStreamingTaskResultSet << complexadaptivedynamicstreamingtaskresult_tmp
5382
+ end
5383
+ end
5384
+ end
5385
+ end
5386
+
5387
+ # 自适应码流任务多语言音频流输入参数。
5388
+ class ComplexAdaptiveDynamicStreamingTaskAudioInput < TencentCloud::Common::AbstractModel
5389
+ # @param FileId: 音频源的媒体 ID。固定取该媒体中的首个音频流,视频流和其它音频流(如有)将被忽略。
5390
+ # @type FileId: String
5391
+ # @param Name: 输出的自适应码流中的音频流名称,长度限制为16个字符。
5392
+ # @type Name: String
5393
+ # @param Language: 输出的自适应码流中的音频流语言,长度限制为16个字符。要求符合 RFC5646 规范。
5394
+ # @type Language: String
5395
+ # @param Default: 是否设置为自适应码流的默认音频。取值:
5396
+ # <li>YES:设置为默认音频;</li>
5397
+ # <li>NO:不设置为默认音频(默认值)。</li>
5398
+ # @type Default: String
5399
+
5400
+ attr_accessor :FileId, :Name, :Language, :Default
5401
+
5402
+ def initialize(fileid=nil, name=nil, language=nil, default=nil)
5403
+ @FileId = fileid
5404
+ @Name = name
5405
+ @Language = language
5406
+ @Default = default
5407
+ end
5408
+
5409
+ def deserialize(params)
5410
+ @FileId = params['FileId']
5411
+ @Name = params['Name']
5412
+ @Language = params['Language']
5413
+ @Default = params['Default']
5414
+ end
5415
+ end
5416
+
5417
+ # 自适应码流任务的输入参数。
5418
+ class ComplexAdaptiveDynamicStreamingTaskInput < TencentCloud::Common::AbstractModel
5419
+ # @param StreamPara: 自适应码流参数。
5420
+ # 注意:此字段可能返回 null,表示取不到有效值。
5421
+ # @type StreamPara: :class:`Tencentcloud::Vod.v20180717.models.ComplexAdaptiveDynamicStreamingTaskStreamPara`
5422
+
5423
+ attr_accessor :StreamPara
5424
+
5425
+ def initialize(streampara=nil)
5426
+ @StreamPara = streampara
5427
+ end
5428
+
5429
+ def deserialize(params)
5430
+ unless params['StreamPara'].nil?
5431
+ @StreamPara = ComplexAdaptiveDynamicStreamingTaskStreamPara.new
5432
+ @StreamPara.deserialize(params['StreamPara'])
5433
+ end
5434
+ end
5435
+ end
5436
+
5437
+ # 自适应码流任务的输出结果。
5438
+ class ComplexAdaptiveDynamicStreamingTaskOutput < TencentCloud::Common::AbstractModel
5439
+ # @param Definition: 自适应码流模版 ID。
5440
+ # @type Definition: Integer
5441
+ # @param Format: 自适应码流打包格式。可选值:
5442
+ # <li>HLS;</li>
5443
+ # <li>MPEG-DASH。</li>
5444
+ # @type Format: String
5445
+ # @param DrmType: DRM 方案类型。可选值:
5446
+ # <li>空字符串:无加密;</li>
5447
+ # <li>SimpleAES;</li>
5448
+ # <li>Widevine;</li>
5449
+ # <li>FairPlay。</li>
5450
+ # @type DrmType: String
5451
+ # @param Url: 自适应码流的播放地址。
5452
+ # @type Url: String
5453
+
5454
+ attr_accessor :Definition, :Format, :DrmType, :Url
5455
+
5456
+ def initialize(definition=nil, format=nil, drmtype=nil, url=nil)
5457
+ @Definition = definition
5458
+ @Format = format
5459
+ @DrmType = drmtype
5460
+ @Url = url
5461
+ end
5462
+
5463
+ def deserialize(params)
5464
+ @Definition = params['Definition']
5465
+ @Format = params['Format']
5466
+ @DrmType = params['DrmType']
5467
+ @Url = params['Url']
5468
+ end
5469
+ end
5470
+
5471
+ # 自适应码流任务信息。
5472
+ class ComplexAdaptiveDynamicStreamingTaskResult < TencentCloud::Common::AbstractModel
5473
+ # @param Status: 任务状态,取值:
5474
+ # <li>PROCESSING:处理中;</li>
5475
+ # <li>SUCCESS:已完成;</li>
5476
+ # <li>FAIL:失败。</li>
5477
+ # @type Status: String
5478
+ # @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) 列表。
5479
+ # @type ErrCodeExt: String
5480
+ # @param Message: 错误信息。
5481
+ # @type Message: String
5482
+ # @param Progress: 转码进度,取值范围 [0-100] 。
5483
+ # @type Progress: Integer
5484
+ # @param Input: 自适应码流任务的输入。
5485
+ # @type Input: :class:`Tencentcloud::Vod.v20180717.models.ComplexAdaptiveDynamicStreamingTaskInput`
5486
+ # @param Output: 自适应码流任务的输出。
5487
+ # 注意:此字段可能返回 null,表示取不到有效值。
5488
+ # @type Output: :class:`Tencentcloud::Vod.v20180717.models.ComplexAdaptiveDynamicStreamingTaskOutput`
5489
+
5490
+ attr_accessor :Status, :ErrCodeExt, :Message, :Progress, :Input, :Output
5491
+
5492
+ def initialize(status=nil, errcodeext=nil, message=nil, progress=nil, input=nil, output=nil)
5493
+ @Status = status
5494
+ @ErrCodeExt = errcodeext
5495
+ @Message = message
5496
+ @Progress = progress
5497
+ @Input = input
5498
+ @Output = output
5499
+ end
5500
+
5501
+ def deserialize(params)
5502
+ @Status = params['Status']
5503
+ @ErrCodeExt = params['ErrCodeExt']
5504
+ @Message = params['Message']
5505
+ @Progress = params['Progress']
5506
+ unless params['Input'].nil?
5507
+ @Input = ComplexAdaptiveDynamicStreamingTaskInput.new
5508
+ @Input.deserialize(params['Input'])
5509
+ end
5510
+ unless params['Output'].nil?
5511
+ @Output = ComplexAdaptiveDynamicStreamingTaskOutput.new
5512
+ @Output.deserialize(params['Output'])
5513
+ end
5514
+ end
5515
+ end
5516
+
5517
+ # 自适应码流任务的流参数。
5518
+ class ComplexAdaptiveDynamicStreamingTaskStreamPara < TencentCloud::Common::AbstractModel
5519
+ # @param Definition: 自适应码流模版 ID。
5520
+ # @type Definition: Integer
5521
+
5522
+ attr_accessor :Definition
5523
+
5524
+ def initialize(definition=nil)
5525
+ @Definition = definition
5526
+ end
5527
+
5528
+ def deserialize(params)
5529
+ @Definition = params['Definition']
5530
+ end
5531
+ end
5532
+
5533
+ # 自适应码流任务多语言字幕的输入参数。
5534
+ class ComplexAdaptiveDynamicStreamingTaskSubtitleInput < TencentCloud::Common::AbstractModel
5535
+ # @param Id: 字幕 ID。该字幕必须归属于自适应码流任务的输入主媒体。
5536
+ # @type Id: String
5537
+ # @param Default: 是否设置为自适应码流的默认字幕。取值:
5538
+ # <li>YES:设置为默认字幕;</li>
5539
+ # <li>NO:不设置为默认字幕(默认值)。</li>
5540
+ # @type Default: String
5541
+
5542
+ attr_accessor :Id, :Default
5543
+
5544
+ def initialize(id=nil, default=nil)
5545
+ @Id = id
5546
+ @Default = default
5547
+ end
5548
+
5549
+ def deserialize(params)
5550
+ @Id = params['Id']
5551
+ @Default = params['Default']
5552
+ end
5553
+ end
5554
+
5354
5555
  # 输出的媒体文件信息。
5355
5556
  class ComposeMediaOutput < TencentCloud::Common::AbstractModel
5356
5557
  # @param FileName: 文件名称,最长 64 个字符。
@@ -6549,6 +6750,96 @@ module TencentCloud
6549
6750
  end
6550
6751
  end
6551
6752
 
6753
+ # CreateComplexAdaptiveDynamicStreamingTask请求参数结构体
6754
+ class CreateComplexAdaptiveDynamicStreamingTaskRequest < TencentCloud::Common::AbstractModel
6755
+ # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
6756
+ # @type SubAppId: Integer
6757
+ # @param FileId: 主媒体文件的媒体 ID。
6758
+ # @type FileId: String
6759
+ # @param StreamParaSet: 自适应码流参数,最大支持8个。
6760
+ # @type StreamParaSet: Array
6761
+ # @param HeadTailSet: 片头片尾列表,支持多片头片尾,最大可支持 4 个。
6762
+ # 如果填写了该字段,AudioSet 和 SubtitleSet 中指定的媒体的起始时间将会自动调整,和主媒体保持同步。
6763
+ # @type HeadTailSet: Array
6764
+ # @param AudioSet: 多语言音频流参数,最大支持16个。
6765
+ # 每个数组元素对应自适应码流中的一条音频流。如果要将主媒体文件中的音频流添加到输出的自适应码流中,那么也需要在此处指定。
6766
+ # 数组中元素的顺序将决定自适应码流中的音频流顺序。
6767
+ # 如果输入的媒体文件同时带有视频流和音频流,那么视频流将被忽略。
6768
+ # @type AudioSet: Array
6769
+ # @param SubtitleSet: 多语言字幕参数,最大可支持16个。
6770
+ # 每个数组元素对应自适应码流中的一条字幕流。
6771
+ # 数组中元素的顺序将决定自适应码流中的字幕流顺序。
6772
+ # @type SubtitleSet: Array
6773
+
6774
+ attr_accessor :SubAppId, :FileId, :StreamParaSet, :HeadTailSet, :AudioSet, :SubtitleSet
6775
+
6776
+ def initialize(subappid=nil, fileid=nil, streamparaset=nil, headtailset=nil, audioset=nil, subtitleset=nil)
6777
+ @SubAppId = subappid
6778
+ @FileId = fileid
6779
+ @StreamParaSet = streamparaset
6780
+ @HeadTailSet = headtailset
6781
+ @AudioSet = audioset
6782
+ @SubtitleSet = subtitleset
6783
+ end
6784
+
6785
+ def deserialize(params)
6786
+ @SubAppId = params['SubAppId']
6787
+ @FileId = params['FileId']
6788
+ unless params['StreamParaSet'].nil?
6789
+ @StreamParaSet = []
6790
+ params['StreamParaSet'].each do |i|
6791
+ complexadaptivedynamicstreamingtaskstreampara_tmp = ComplexAdaptiveDynamicStreamingTaskStreamPara.new
6792
+ complexadaptivedynamicstreamingtaskstreampara_tmp.deserialize(i)
6793
+ @StreamParaSet << complexadaptivedynamicstreamingtaskstreampara_tmp
6794
+ end
6795
+ end
6796
+ unless params['HeadTailSet'].nil?
6797
+ @HeadTailSet = []
6798
+ params['HeadTailSet'].each do |i|
6799
+ headtailtaskinput_tmp = HeadTailTaskInput.new
6800
+ headtailtaskinput_tmp.deserialize(i)
6801
+ @HeadTailSet << headtailtaskinput_tmp
6802
+ end
6803
+ end
6804
+ unless params['AudioSet'].nil?
6805
+ @AudioSet = []
6806
+ params['AudioSet'].each do |i|
6807
+ complexadaptivedynamicstreamingtaskaudioinput_tmp = ComplexAdaptiveDynamicStreamingTaskAudioInput.new
6808
+ complexadaptivedynamicstreamingtaskaudioinput_tmp.deserialize(i)
6809
+ @AudioSet << complexadaptivedynamicstreamingtaskaudioinput_tmp
6810
+ end
6811
+ end
6812
+ unless params['SubtitleSet'].nil?
6813
+ @SubtitleSet = []
6814
+ params['SubtitleSet'].each do |i|
6815
+ complexadaptivedynamicstreamingtasksubtitleinput_tmp = ComplexAdaptiveDynamicStreamingTaskSubtitleInput.new
6816
+ complexadaptivedynamicstreamingtasksubtitleinput_tmp.deserialize(i)
6817
+ @SubtitleSet << complexadaptivedynamicstreamingtasksubtitleinput_tmp
6818
+ end
6819
+ end
6820
+ end
6821
+ end
6822
+
6823
+ # CreateComplexAdaptiveDynamicStreamingTask返回参数结构体
6824
+ class CreateComplexAdaptiveDynamicStreamingTaskResponse < TencentCloud::Common::AbstractModel
6825
+ # @param TaskId: 任务 ID。
6826
+ # @type TaskId: String
6827
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6828
+ # @type RequestId: String
6829
+
6830
+ attr_accessor :TaskId, :RequestId
6831
+
6832
+ def initialize(taskid=nil, requestid=nil)
6833
+ @TaskId = taskid
6834
+ @RequestId = requestid
6835
+ end
6836
+
6837
+ def deserialize(params)
6838
+ @TaskId = params['TaskId']
6839
+ @RequestId = params['RequestId']
6840
+ end
6841
+ end
6842
+
6552
6843
  # CreateContentReviewTemplate请求参数结构体
6553
6844
  class CreateContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
6554
6845
  # @param ReviewWallSwitch: 音视频审核结果是否进入音视频审核墙(对识别结果进行人工复核)的开关。
@@ -10344,8 +10635,8 @@ module TencentCloud
10344
10635
 
10345
10636
  attr_accessor :DomainName, :Domain, :Scheme, :PlayKey, :RequestId
10346
10637
  extend Gem::Deprecate
10347
- deprecate :DomainName, :none, 2024, 10
10348
- deprecate :DomainName=, :none, 2024, 10
10638
+ deprecate :DomainName, :none, 2024, 11
10639
+ deprecate :DomainName=, :none, 2024, 11
10349
10640
 
10350
10641
  def initialize(domainname=nil, domain=nil, scheme=nil, playkey=nil, requestid=nil)
10351
10642
  @DomainName = domainname
@@ -12299,23 +12590,7 @@ module TencentCloud
12299
12590
 
12300
12591
  # DescribeTaskDetail返回参数结构体
12301
12592
  class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
12302
- # @param TaskType: 任务类型,取值:
12303
- # <li>Procedure:视频处理任务;</li>
12304
- # <li>EditMedia:视频编辑任务;</li>
12305
- # <li>SplitMedia:视频拆条任务;</li>
12306
- # <li>ComposeMedia:制作媒体文件任务;</li>
12307
- # <li>WechatPublish:微信发布任务;</li>
12308
- # <li>WechatMiniProgramPublish:微信小程序视频发布任务;</li>
12309
- # <li>PullUpload:拉取上传媒体文件任务;</li>
12310
- # <li>FastClipMedia:快速剪辑任务;</li>
12311
- # <li>RemoveWatermarkTask:智能去除水印任务;</li>
12312
- # <li>DescribeFileAttributesTask:获取文件属性任务;</li>
12313
- # <li>RebuildMedia:音画质重生任务(不推荐使用);</li>
12314
- # <li>ReviewAudioVideo:音视频审核任务;</li>
12315
- # <li>ExtractTraceWatermark:提取溯源水印任务;</li>
12316
- # <li>ExtractCopyRightWatermark:提取版权水印任务;</li>
12317
- # <li>QualityInspect:音画质检测任务;</li>
12318
- # <li>QualityEnhance:音画质重生任务。</li>
12593
+ # @param TaskType: 任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务。</li>
12319
12594
  # @type TaskType: String
12320
12595
  # @param Status: 任务状态,取值:
12321
12596
  # <li>WAITING:等待中;</li>
@@ -12392,12 +12667,15 @@ module TencentCloud
12392
12667
  # @param QualityEnhanceTask: 音画质重生任务信息,仅当 TaskType 为 QualityEnhance,该字段有值。
12393
12668
  # 注意:此字段可能返回 null,表示取不到有效值。
12394
12669
  # @type QualityEnhanceTask: :class:`Tencentcloud::Vod.v20180717.models.QualityEnhanceTask`
12670
+ # @param ComplexAdaptiveDynamicStreamingTask: 复杂自适应码流任务信息,仅当 TaskType 为 ComplexAdaptiveDynamicStreaming,该字段有值。
12671
+ # 注意:此字段可能返回 null,表示取不到有效值。
12672
+ # @type ComplexAdaptiveDynamicStreamingTask: :class:`Tencentcloud::Vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
12395
12673
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12396
12674
  # @type RequestId: String
12397
12675
 
12398
- attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RebuildMediaTask, :ExtractTraceWatermarkTask, :ExtractCopyRightWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :QualityInspectTask, :QualityEnhanceTask, :RequestId
12676
+ attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RebuildMediaTask, :ExtractTraceWatermarkTask, :ExtractCopyRightWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :QualityInspectTask, :QualityEnhanceTask, :ComplexAdaptiveDynamicStreamingTask, :RequestId
12399
12677
 
12400
- 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, rebuildmediatask=nil, extracttracewatermarktask=nil, extractcopyrightwatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, qualityinspecttask=nil, qualityenhancetask=nil, requestid=nil)
12678
+ 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, rebuildmediatask=nil, extracttracewatermarktask=nil, extractcopyrightwatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, qualityinspecttask=nil, qualityenhancetask=nil, complexadaptivedynamicstreamingtask=nil, requestid=nil)
12401
12679
  @TaskType = tasktype
12402
12680
  @Status = status
12403
12681
  @CreateTime = createtime
@@ -12424,6 +12702,7 @@ module TencentCloud
12424
12702
  @DescribeFileAttributesTask = describefileattributestask
12425
12703
  @QualityInspectTask = qualityinspecttask
12426
12704
  @QualityEnhanceTask = qualityenhancetask
12705
+ @ComplexAdaptiveDynamicStreamingTask = complexadaptivedynamicstreamingtask
12427
12706
  @RequestId = requestid
12428
12707
  end
12429
12708
 
@@ -12517,6 +12796,10 @@ module TencentCloud
12517
12796
  @QualityEnhanceTask = QualityEnhanceTask.new
12518
12797
  @QualityEnhanceTask.deserialize(params['QualityEnhanceTask'])
12519
12798
  end
12799
+ unless params['ComplexAdaptiveDynamicStreamingTask'].nil?
12800
+ @ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask.new
12801
+ @ComplexAdaptiveDynamicStreamingTask.deserialize(params['ComplexAdaptiveDynamicStreamingTask'])
12802
+ end
12520
12803
  @RequestId = params['RequestId']
12521
12804
  end
12522
12805
  end
@@ -13722,7 +14005,8 @@ module TencentCloud
13722
14005
  # <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
13723
14006
  # <li>QualityInspectComplete:音画质检测完成;</li>
13724
14007
  # <li>QualityEnhanceComplete:音画质重生任务完成;</li>
13725
- # <li>PersistenceComplete:剪辑固化完成。</li>
14008
+ # <li>PersistenceComplete:剪辑固化完成;</li>
14009
+ # <li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
13726
14010
  # <b>兼容 2017 版的事件类型:</b>
13727
14011
  # <li>TranscodeComplete:视频转码完成;</li>
13728
14012
  # <li>ConcatComplete:视频拼接完成;</li>
@@ -13808,10 +14092,13 @@ module TencentCloud
13808
14092
  # @param PersistenceCompleteEvent: 剪辑固化完成事件,当事件类型为 PersistenceComplete 时有效。
13809
14093
  # 注意:此字段可能返回 null,表示取不到有效值。
13810
14094
  # @type PersistenceCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.PersistenceCompleteTask`
14095
+ # @param ComplexAdaptiveDynamicStreamingCompleteEvent: 自适应码流任务信息,仅当 EventType 为ComplexAdaptiveDynamicStreamingComplete 时有效。
14096
+ # 注意:此字段可能返回 null,表示取不到有效值。
14097
+ # @type ComplexAdaptiveDynamicStreamingCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
13811
14098
 
13812
- attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ExtractCopyRightWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent, :QualityInspectCompleteEvent, :QualityEnhanceCompleteEvent, :MediaCastStatusChangedEvent, :PersistenceCompleteEvent
14099
+ attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ExtractCopyRightWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent, :QualityInspectCompleteEvent, :QualityEnhanceCompleteEvent, :MediaCastStatusChangedEvent, :PersistenceCompleteEvent, :ComplexAdaptiveDynamicStreamingCompleteEvent
13813
14100
 
13814
- 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, rebuildmediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, extractcopyrightwatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil, qualityinspectcompleteevent=nil, qualityenhancecompleteevent=nil, mediacaststatuschangedevent=nil, persistencecompleteevent=nil)
14101
+ 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, rebuildmediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, extractcopyrightwatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil, qualityinspectcompleteevent=nil, qualityenhancecompleteevent=nil, mediacaststatuschangedevent=nil, persistencecompleteevent=nil, complexadaptivedynamicstreamingcompleteevent=nil)
13815
14102
  @EventHandle = eventhandle
13816
14103
  @EventType = eventtype
13817
14104
  @FileUploadEvent = fileuploadevent
@@ -13840,6 +14127,7 @@ module TencentCloud
13840
14127
  @QualityEnhanceCompleteEvent = qualityenhancecompleteevent
13841
14128
  @MediaCastStatusChangedEvent = mediacaststatuschangedevent
13842
14129
  @PersistenceCompleteEvent = persistencecompleteevent
14130
+ @ComplexAdaptiveDynamicStreamingCompleteEvent = complexadaptivedynamicstreamingcompleteevent
13843
14131
  end
13844
14132
 
13845
14133
  def deserialize(params)
@@ -13949,6 +14237,10 @@ module TencentCloud
13949
14237
  @PersistenceCompleteEvent = PersistenceCompleteTask.new
13950
14238
  @PersistenceCompleteEvent.deserialize(params['PersistenceCompleteEvent'])
13951
14239
  end
14240
+ unless params['ComplexAdaptiveDynamicStreamingCompleteEvent'].nil?
14241
+ @ComplexAdaptiveDynamicStreamingCompleteEvent = ComplexAdaptiveDynamicStreamingTask.new
14242
+ @ComplexAdaptiveDynamicStreamingCompleteEvent.deserialize(params['ComplexAdaptiveDynamicStreamingCompleteEvent'])
14243
+ end
13952
14244
  end
13953
14245
  end
13954
14246
 
@@ -18102,8 +18394,8 @@ module TencentCloud
18102
18394
 
18103
18395
  attr_accessor :Duration, :Transitions, :MediaTransitions
18104
18396
  extend Gem::Deprecate
18105
- deprecate :Transitions, :none, 2024, 10
18106
- deprecate :Transitions=, :none, 2024, 10
18397
+ deprecate :Transitions, :none, 2024, 11
18398
+ deprecate :Transitions=, :none, 2024, 11
18107
18399
 
18108
18400
  def initialize(duration=nil, transitions=nil, mediatransitions=nil)
18109
18401
  @Duration = duration
@@ -22049,8 +22341,8 @@ module TencentCloud
22049
22341
 
22050
22342
  attr_accessor :ProductType, :StartTime, :ExpireTime, :ProductInstanceId, :LastConsumeDate, :BindStatus, :ProductInstanceResourceSet, :ResourceSet, :ProductInstanceStatus, :RefundStatus, :RenewStatus
22051
22343
  extend Gem::Deprecate
22052
- deprecate :ProductInstanceResourceSet, :none, 2024, 10
22053
- deprecate :ProductInstanceResourceSet=, :none, 2024, 10
22344
+ deprecate :ProductInstanceResourceSet, :none, 2024, 11
22345
+ deprecate :ProductInstanceResourceSet=, :none, 2024, 11
22054
22346
 
22055
22347
  def initialize(producttype=nil, starttime=nil, expiretime=nil, productinstanceid=nil, lastconsumedate=nil, bindstatus=nil, productinstanceresourceset=nil, resourceset=nil, productinstancestatus=nil, refundstatus=nil, renewstatus=nil)
22056
22348
  @ProductType = producttype
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.936
4
+ version: 3.0.938
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-05 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common