tencentcloud-sdk-mps 3.0.858 → 3.0.860

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: 7f2822ab841beb44343d8762f73a8a572527b78e
4
- data.tar.gz: 7302cbaaccbf3915d469a70ce2abc62ede68c789
3
+ metadata.gz: 5f69541ce43ea742f1271ba94055f477615a715a
4
+ data.tar.gz: f27caa9c622e494e62e0b09b0822c5abe14c0638
5
5
  SHA512:
6
- metadata.gz: 8e91cf6feefcd38bd2d500f8370334a1ab16e2c1f0fe7209f3b607ef47bc968d3d1fb6b165ce5dee7c0402c7959ef7fe3b90a8add37401f6dcae9ee405da518c
7
- data.tar.gz: 36513428443b49a9667ca75d9dfa927b2b05edafcdebdb360695d9389c2dd3b48227762aeb131b0642fd8f92f683243aa1b0e37fd438e0ea4d859c05826c9d52
6
+ metadata.gz: 5387411761c900558bcc6fed2774a84d7afc8dbadb19e8301f6ded8538bced3e15852ce9735b38cc7334849108514292e0ea24944433af0d0c2a00a8a3a97999
7
+ data.tar.gz: 056d6d9ec008fe64f09ecf0dc27a47b32454dcd34600ddde85ed5f9ee50930570eaa214cb061953093943e1e6e2582197941f22dfbed5cdab55325b50ba593b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.858
1
+ 3.0.860
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 创建媒体质检模板,数量上限:50。
273
+
274
+ # @param request: Request instance for CreateQualityControlTemplate.
275
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateQualityControlTemplateRequest`
276
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateQualityControlTemplateResponse`
277
+ def CreateQualityControlTemplate(request)
278
+ body = send_request('CreateQualityControlTemplate', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = CreateQualityControlTemplateResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 创建用户自定义采样截图模板,数量上限:16。
273
297
 
274
298
  # @param request: Request instance for CreateSampleSnapshotTemplate.
@@ -725,6 +749,30 @@ module TencentCloud
725
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
750
  end
727
751
 
752
+ # 删除媒体质检模板
753
+
754
+ # @param request: Request instance for DeleteQualityControlTemplate.
755
+ # @type request: :class:`Tencentcloud::mps::V20190612::DeleteQualityControlTemplateRequest`
756
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DeleteQualityControlTemplateResponse`
757
+ def DeleteQualityControlTemplate(request)
758
+ body = send_request('DeleteQualityControlTemplate', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DeleteQualityControlTemplateResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
728
776
  # 删除用户自定义采样截图模板。
729
777
 
730
778
  # @param request: Request instance for DeleteSampleSnapshotTemplate.
@@ -1157,6 +1205,30 @@ module TencentCloud
1157
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1206
  end
1159
1207
 
1208
+ # 查询用户自定义媒体质检模板,支持根据条件,分页查询。
1209
+
1210
+ # @param request: Request instance for DescribeQualityControlTemplates.
1211
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeQualityControlTemplatesRequest`
1212
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeQualityControlTemplatesResponse`
1213
+ def DescribeQualityControlTemplates(request)
1214
+ body = send_request('DescribeQualityControlTemplates', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = DescribeQualityControlTemplatesResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1160
1232
  # 查询采样截图模板,支持根据条件,分页查询。
1161
1233
 
1162
1234
  # @param request: Request instance for DescribeSampleSnapshotTemplates.
@@ -2013,6 +2085,30 @@ module TencentCloud
2013
2085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2014
2086
  end
2015
2087
 
2088
+ # 修改媒体质检模板。
2089
+
2090
+ # @param request: Request instance for ModifyQualityControlTemplate.
2091
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyQualityControlTemplateRequest`
2092
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyQualityControlTemplateResponse`
2093
+ def ModifyQualityControlTemplate(request)
2094
+ body = send_request('ModifyQualityControlTemplate', request.serialize)
2095
+ response = JSON.parse(body)
2096
+ if response['Response'].key?('Error') == false
2097
+ model = ModifyQualityControlTemplateResponse.new
2098
+ model.deserialize(response['Response'])
2099
+ model
2100
+ else
2101
+ code = response['Response']['Error']['Code']
2102
+ message = response['Response']['Error']['Message']
2103
+ reqid = response['Response']['RequestId']
2104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2105
+ end
2106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2107
+ raise e
2108
+ rescue StandardError => e
2109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2110
+ end
2111
+
2016
2112
  # 修改用户自定义采样截图模板。
2017
2113
 
2018
2114
  # @param request: Request instance for ModifySampleSnapshotTemplate.
@@ -262,10 +262,13 @@ module TencentCloud
262
262
  # @param AiRecognitionTask: 视频内容识别类型任务
263
263
  # 注意:此字段可能返回 null,表示取不到有效值。
264
264
  # @type AiRecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
265
+ # @param QualityControlTask: 媒体质检任务
266
+ # 注意:此字段可能返回 null,表示取不到有效值。
267
+ # @type QualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
265
268
 
266
- attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask
269
+ attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :QualityControlTask
267
270
 
268
- def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil)
271
+ def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, qualitycontroltask=nil)
269
272
  @TranscodeTask = transcodetask
270
273
  @AnimatedGraphicTask = animatedgraphictask
271
274
  @SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
@@ -275,6 +278,7 @@ module TencentCloud
275
278
  @AiContentReviewTask = aicontentreviewtask
276
279
  @AiAnalysisTask = aianalysistask
277
280
  @AiRecognitionTask = airecognitiontask
281
+ @QualityControlTask = qualitycontroltask
278
282
  end
279
283
 
280
284
  def deserialize(params)
@@ -314,6 +318,10 @@ module TencentCloud
314
318
  @AiRecognitionTask = AiRecognitionTaskInput.new
315
319
  @AiRecognitionTask.deserialize(params['AiRecognitionTask'])
316
320
  end
321
+ unless params['QualityControlTask'].nil?
322
+ @QualityControlTask = AiQualityControlTaskInput.new
323
+ @QualityControlTask.deserialize(params['QualityControlTask'])
324
+ end
317
325
  end
318
326
  end
319
327
 
@@ -346,10 +354,13 @@ module TencentCloud
346
354
  # @param AnalysisTask: 分析任务输出
347
355
  # 注意:此字段可能返回 null,表示取不到有效值。
348
356
  # @type AnalysisTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleAnalysisTaskResult`
357
+ # @param QualityControlTask: 媒体质检任务输出
358
+ # 注意:此字段可能返回 null,表示取不到有效值。
359
+ # @type QualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleQualityControlTaskResult`
349
360
 
350
- attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask
361
+ attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask, :QualityControlTask
351
362
 
352
- def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil)
363
+ def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil, qualitycontroltask=nil)
353
364
  @TranscodeTask = transcodetask
354
365
  @AnimatedGraphicTask = animatedgraphictask
355
366
  @SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
@@ -359,6 +370,7 @@ module TencentCloud
359
370
  @RecognitionTask = recognitiontask
360
371
  @ReviewTask = reviewtask
361
372
  @AnalysisTask = analysistask
373
+ @QualityControlTask = qualitycontroltask
362
374
  end
363
375
 
364
376
  def deserialize(params)
@@ -398,6 +410,10 @@ module TencentCloud
398
410
  @AnalysisTask = ScheduleAnalysisTaskResult.new
399
411
  @AnalysisTask.deserialize(params['AnalysisTask'])
400
412
  end
413
+ unless params['QualityControlTask'].nil?
414
+ @QualityControlTask = ScheduleQualityControlTaskResult.new
415
+ @QualityControlTask.deserialize(params['QualityControlTask'])
416
+ end
401
417
  end
402
418
  end
403
419
 
@@ -986,12 +1002,20 @@ module TencentCloud
986
1002
  # @type Path: String
987
1003
  # @param OutputStorage: 擦除后文件的存储位置。
988
1004
  # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
1005
+ # @param OriginSubtitlePath: 基于画面提取的字幕文件路径。
1006
+ # 注意:此字段可能返回 null,表示取不到有效值。
1007
+ # @type OriginSubtitlePath: String
1008
+ # @param TranslateSubtitlePath: 基于画面提取的字幕翻译文件路径。
1009
+ # 注意:此字段可能返回 null,表示取不到有效值。
1010
+ # @type TranslateSubtitlePath: String
989
1011
 
990
- attr_accessor :Path, :OutputStorage
1012
+ attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath
991
1013
 
992
- def initialize(path=nil, outputstorage=nil)
1014
+ def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil)
993
1015
  @Path = path
994
1016
  @OutputStorage = outputstorage
1017
+ @OriginSubtitlePath = originsubtitlepath
1018
+ @TranslateSubtitlePath = translatesubtitlepath
995
1019
  end
996
1020
 
997
1021
  def deserialize(params)
@@ -1000,6 +1024,8 @@ module TencentCloud
1000
1024
  @OutputStorage = TaskOutputStorage.new
1001
1025
  @OutputStorage.deserialize(params['OutputStorage'])
1002
1026
  end
1027
+ @OriginSubtitlePath = params['OriginSubtitlePath']
1028
+ @TranslateSubtitlePath = params['TranslateSubtitlePath']
1003
1029
  end
1004
1030
  end
1005
1031
 
@@ -1888,8 +1914,8 @@ module TencentCloud
1888
1914
 
1889
1915
  attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
1890
1916
  extend Gem::Deprecate
1891
- deprecate :OutputStorage, :none, 2024, 6
1892
- deprecate :OutputStorage=, :none, 2024, 6
1917
+ deprecate :OutputStorage, :none, 2024, 7
1918
+ deprecate :OutputStorage=, :none, 2024, 7
1893
1919
 
1894
1920
  def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
1895
1921
  @SegmentSet = segmentset
@@ -5546,6 +5572,103 @@ module TencentCloud
5546
5572
  end
5547
5573
  end
5548
5574
 
5575
+ # 容器格式诊断结果
5576
+ class ContainerDiagnoseResultItem < TencentCloud::Common::AbstractModel
5577
+ # @param Category: 诊断出的异常类别,取值范围:
5578
+ # DecodeParamException:解码参数异常
5579
+ # TimeStampException:时间戳异常
5580
+ # FrameException: 帧率异常
5581
+ # StreamStatusException:流状态异常
5582
+ # StreamInfo:流信息异常
5583
+ # StreamAbnormalCharacteristics:流特征异常
5584
+ # DecodeException:解码异常
5585
+ # HLSRequirements:HLS 格式异常
5586
+ # 注意:此字段可能返回 null,表示取不到有效值。
5587
+ # @type Category: String
5588
+ # @param Type: 诊断出的具体异常类型,取值如下:
5589
+
5590
+ # VideoResolutionChanged:视频分辨率变化
5591
+ # AudioSampleRateChanged:音频采样率变化
5592
+ # AudioChannelsChanged:音频通道数变化
5593
+ # ParameterSetsChanged:流参数集信息发生变化
5594
+ # DarOrSarInvalid:视频的宽高比异常
5595
+ # TimestampFallback:DTS时间戳回退
5596
+ # DtsJitter:DTS抖动过大
5597
+ # PtsJitter:PTS抖动过大
5598
+ # AACDurationDeviation:AAC帧时间戳间隔不合理
5599
+ # AudioDroppingFrames:音频丢帧
5600
+ # VideoDroppingFrames:视频丢帧
5601
+ # AVTimestampInterleave:音视频交织不合理
5602
+ # PtsLessThanDts:媒体流的 pts 小于 dts
5603
+ # ReceiveFpsJitter:网络接收帧率抖动过大
5604
+ # ReceiveFpsTooSmall:网络接收视频帧率过小
5605
+ # FpsJitter:通过PTS计算得到的流帧率抖动过大
5606
+ # StreamOpenFailed:流打开失败
5607
+ # StreamEnd:流结束
5608
+ # StreamParseFailed:流解析失败
5609
+ # VideoFirstFrameNotIdr:首帧不是IDR帧
5610
+ # StreamNALUError:NALU起始码错误
5611
+ # TsStreamNoAud:mpegts的H26x流缺失 AUD NALU
5612
+ # AudioStreamLack:无音频流
5613
+ # VideoStreamLack:无视频流
5614
+ # LackAudioRecover:缺失音频流恢复
5615
+ # LackVideoRecover:缺失视频流恢复
5616
+ # VideoBitrateOutofRange:视频流码率(kbps)超出范围
5617
+ # AudioBitrateOutofRange:音频流码率(kbps)超出范围
5618
+ # VideoDecodeFailed:视频解码错误
5619
+ # AudioDecodeFailed:音频解码错误
5620
+ # AudioOutOfPhase:双通道音频相位相反
5621
+ # VideoDuplicatedFrame:视频流中存在重复帧
5622
+ # AudioDuplicatedFrame:音频流中存在重复帧
5623
+ # VideoRotation:视频画面旋转
5624
+ # TsMultiPrograms:MPEG2-TS流有多个program
5625
+ # Mp4InvalidCodecFourcc:MP4中codec fourcc不符合Apple HLS要求
5626
+ # HLSBadM3u8Format:无效的m3u8文件
5627
+ # HLSInvalidMasterM3u8:无效的main m3u8文件
5628
+ # HLSInvalidMediaM3u8:无效的media m3u8文件
5629
+ # HLSMasterM3u8Recommended:main m3u8缺少标准推荐的参数
5630
+ # HLSMediaM3u8Recommended:media m3u8缺少标准推荐的参数
5631
+ # HLSMediaM3u8DiscontinuityExist:media m3u8存在EXT-X-DISCONTINUITY
5632
+ # HLSMediaSegmentsStreamNumChange:切片的流数目发生变化
5633
+ # HLSMediaSegmentsPTSJitterDeviation:切片间PTS跳变且没有EXT-X-DISCONTINUITY
5634
+ # HLSMediaSegmentsDTSJitterDeviation:切片间DTS跳变且没有EXT-X-DISCONTINUITY
5635
+ # TimecodeTrackExist:MP4存在tmcd轨道
5636
+ # 注意:此字段可能返回 null,表示取不到有效值。
5637
+ # @type Type: String
5638
+ # @param SeverityLevel: 诊断出的异常级别,取值范围:
5639
+ # Fatal:影响后续播放和解析,
5640
+ # Error: 可能会影响播放,
5641
+ # Warning: 可能会有潜在风险,但不一定会影响播放,
5642
+ # Notice:比较重要的流信息,
5643
+ # Info:一般性的流信息。
5644
+ # 注意:此字段可能返回 null,表示取不到有效值。
5645
+ # @type SeverityLevel: String
5646
+ # @param DateTimeSet: 警告出现的时间点,形式如 “2022-12-25T13:14:16Z”
5647
+ # 注意:此字段可能返回 null,表示取不到有效值。
5648
+ # @type DateTimeSet: Array
5649
+ # @param TimestampSet: 时间戳
5650
+ # 注意:此字段可能返回 null,表示取不到有效值。
5651
+ # @type TimestampSet: Array
5652
+
5653
+ attr_accessor :Category, :Type, :SeverityLevel, :DateTimeSet, :TimestampSet
5654
+
5655
+ def initialize(category=nil, type=nil, severitylevel=nil, datetimeset=nil, timestampset=nil)
5656
+ @Category = category
5657
+ @Type = type
5658
+ @SeverityLevel = severitylevel
5659
+ @DateTimeSet = datetimeset
5660
+ @TimestampSet = timestampset
5661
+ end
5662
+
5663
+ def deserialize(params)
5664
+ @Category = params['Category']
5665
+ @Type = params['Type']
5666
+ @SeverityLevel = params['SeverityLevel']
5667
+ @DateTimeSet = params['DateTimeSet']
5668
+ @TimestampSet = params['TimestampSet']
5669
+ end
5670
+ end
5671
+
5549
5672
  # 内容审核模板详情
5550
5673
  class ContentReviewTemplateItem < TencentCloud::Common::AbstractModel
5551
5674
  # @param Definition: 内容审核模板唯一标识。
@@ -6763,6 +6886,57 @@ module TencentCloud
6763
6886
  end
6764
6887
  end
6765
6888
 
6889
+ # CreateQualityControlTemplate请求参数结构体
6890
+ class CreateQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
6891
+ # @param Name: 媒体质检模板名称,长度限制:64 个字符。
6892
+ # @type Name: String
6893
+ # @param QualityControlItemSet: 媒体质检控制参数。
6894
+ # @type QualityControlItemSet: Array
6895
+ # @param Comment: 媒体质检模板描述信息,长度限制:256 个字符。
6896
+ # @type Comment: String
6897
+
6898
+ attr_accessor :Name, :QualityControlItemSet, :Comment
6899
+
6900
+ def initialize(name=nil, qualitycontrolitemset=nil, comment=nil)
6901
+ @Name = name
6902
+ @QualityControlItemSet = qualitycontrolitemset
6903
+ @Comment = comment
6904
+ end
6905
+
6906
+ def deserialize(params)
6907
+ @Name = params['Name']
6908
+ unless params['QualityControlItemSet'].nil?
6909
+ @QualityControlItemSet = []
6910
+ params['QualityControlItemSet'].each do |i|
6911
+ qualitycontrolitemconfig_tmp = QualityControlItemConfig.new
6912
+ qualitycontrolitemconfig_tmp.deserialize(i)
6913
+ @QualityControlItemSet << qualitycontrolitemconfig_tmp
6914
+ end
6915
+ end
6916
+ @Comment = params['Comment']
6917
+ end
6918
+ end
6919
+
6920
+ # CreateQualityControlTemplate返回参数结构体
6921
+ class CreateQualityControlTemplateResponse < TencentCloud::Common::AbstractModel
6922
+ # @param Definition: 媒体质检模板唯一标识。
6923
+ # @type Definition: Integer
6924
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6925
+ # @type RequestId: String
6926
+
6927
+ attr_accessor :Definition, :RequestId
6928
+
6929
+ def initialize(definition=nil, requestid=nil)
6930
+ @Definition = definition
6931
+ @RequestId = requestid
6932
+ end
6933
+
6934
+ def deserialize(params)
6935
+ @Definition = params['Definition']
6936
+ @RequestId = params['RequestId']
6937
+ end
6938
+ end
6939
+
6766
6940
  # CreateSampleSnapshotTemplate请求参数结构体
6767
6941
  class CreateSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
6768
6942
  # @param SampleType: 采样截图类型,取值:
@@ -7755,6 +7929,38 @@ module TencentCloud
7755
7929
  end
7756
7930
  end
7757
7931
 
7932
+ # DeleteQualityControlTemplate请求参数结构体
7933
+ class DeleteQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
7934
+ # @param Definition: 媒体质检模板唯一标识。
7935
+ # @type Definition: Integer
7936
+
7937
+ attr_accessor :Definition
7938
+
7939
+ def initialize(definition=nil)
7940
+ @Definition = definition
7941
+ end
7942
+
7943
+ def deserialize(params)
7944
+ @Definition = params['Definition']
7945
+ end
7946
+ end
7947
+
7948
+ # DeleteQualityControlTemplate返回参数结构体
7949
+ class DeleteQualityControlTemplateResponse < TencentCloud::Common::AbstractModel
7950
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7951
+ # @type RequestId: String
7952
+
7953
+ attr_accessor :RequestId
7954
+
7955
+ def initialize(requestid=nil)
7956
+ @RequestId = requestid
7957
+ end
7958
+
7959
+ def deserialize(params)
7960
+ @RequestId = params['RequestId']
7961
+ end
7962
+ end
7963
+
7758
7964
  # DeleteSampleSnapshotTemplate请求参数结构体
7759
7965
  class DeleteSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
7760
7966
  # @param Definition: 采样截图模板唯一标识。
@@ -9374,6 +9580,68 @@ module TencentCloud
9374
9580
  end
9375
9581
  end
9376
9582
 
9583
+ # DescribeQualityControlTemplates请求参数结构体
9584
+ class DescribeQualityControlTemplatesRequest < TencentCloud::Common::AbstractModel
9585
+ # @param Definitions: 媒体质检模板唯一标识过滤条件,数组长度限制:100。
9586
+ # @type Definitions: Array
9587
+ # @param Offset: 分页偏移量,默认值:0。
9588
+ # @type Offset: Integer
9589
+ # @param Limit: 返回记录条数
9590
+ # <li>默认值:10;</li>
9591
+ # <li>最大值:100。</li>
9592
+ # @type Limit: Integer
9593
+ # @param Type: "Preset":预设,Custom":客户魔板
9594
+ # @type Type: String
9595
+
9596
+ attr_accessor :Definitions, :Offset, :Limit, :Type
9597
+
9598
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil)
9599
+ @Definitions = definitions
9600
+ @Offset = offset
9601
+ @Limit = limit
9602
+ @Type = type
9603
+ end
9604
+
9605
+ def deserialize(params)
9606
+ @Definitions = params['Definitions']
9607
+ @Offset = params['Offset']
9608
+ @Limit = params['Limit']
9609
+ @Type = params['Type']
9610
+ end
9611
+ end
9612
+
9613
+ # DescribeQualityControlTemplates返回参数结构体
9614
+ class DescribeQualityControlTemplatesResponse < TencentCloud::Common::AbstractModel
9615
+ # @param TotalCount: 符合过滤条件的记录总数。
9616
+ # @type TotalCount: Integer
9617
+ # @param QualityControlTemplateSet: 媒体质检模板详情列表。
9618
+ # 注意:此字段可能返回 null,表示取不到有效值。
9619
+ # @type QualityControlTemplateSet: Array
9620
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9621
+ # @type RequestId: String
9622
+
9623
+ attr_accessor :TotalCount, :QualityControlTemplateSet, :RequestId
9624
+
9625
+ def initialize(totalcount=nil, qualitycontroltemplateset=nil, requestid=nil)
9626
+ @TotalCount = totalcount
9627
+ @QualityControlTemplateSet = qualitycontroltemplateset
9628
+ @RequestId = requestid
9629
+ end
9630
+
9631
+ def deserialize(params)
9632
+ @TotalCount = params['TotalCount']
9633
+ unless params['QualityControlTemplateSet'].nil?
9634
+ @QualityControlTemplateSet = []
9635
+ params['QualityControlTemplateSet'].each do |i|
9636
+ qualitycontroltemplate_tmp = QualityControlTemplate.new
9637
+ qualitycontroltemplate_tmp.deserialize(i)
9638
+ @QualityControlTemplateSet << qualitycontroltemplate_tmp
9639
+ end
9640
+ end
9641
+ @RequestId = params['RequestId']
9642
+ end
9643
+ end
9644
+
9377
9645
  # 查询输入的RTMP配置信息。
9378
9646
  class DescribeRTMPPullSourceAddress < TencentCloud::Common::AbstractModel
9379
9647
  # @param TcUrl: RTMP源站的TcUrl地址。
@@ -15641,6 +15909,57 @@ module TencentCloud
15641
15909
  end
15642
15910
  end
15643
15911
 
15912
+ # ModifyQualityControlTemplate请求参数结构体
15913
+ class ModifyQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
15914
+ # @param Definition: 媒体质检模板唯一标识。
15915
+ # @type Definition: Integer
15916
+ # @param Name: 媒体质检模板名称,长度限制:64 个字符。
15917
+ # @type Name: String
15918
+ # @param Comment: 模板描述信息,长度限制:256 个字符。
15919
+ # @type Comment: String
15920
+ # @param QualityControlItemSet: 媒体质检配置参数。
15921
+ # @type QualityControlItemSet: Array
15922
+
15923
+ attr_accessor :Definition, :Name, :Comment, :QualityControlItemSet
15924
+
15925
+ def initialize(definition=nil, name=nil, comment=nil, qualitycontrolitemset=nil)
15926
+ @Definition = definition
15927
+ @Name = name
15928
+ @Comment = comment
15929
+ @QualityControlItemSet = qualitycontrolitemset
15930
+ end
15931
+
15932
+ def deserialize(params)
15933
+ @Definition = params['Definition']
15934
+ @Name = params['Name']
15935
+ @Comment = params['Comment']
15936
+ unless params['QualityControlItemSet'].nil?
15937
+ @QualityControlItemSet = []
15938
+ params['QualityControlItemSet'].each do |i|
15939
+ qualitycontrolitemconfig_tmp = QualityControlItemConfig.new
15940
+ qualitycontrolitemconfig_tmp.deserialize(i)
15941
+ @QualityControlItemSet << qualitycontrolitemconfig_tmp
15942
+ end
15943
+ end
15944
+ end
15945
+ end
15946
+
15947
+ # ModifyQualityControlTemplate返回参数结构体
15948
+ class ModifyQualityControlTemplateResponse < TencentCloud::Common::AbstractModel
15949
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15950
+ # @type RequestId: String
15951
+
15952
+ attr_accessor :RequestId
15953
+
15954
+ def initialize(requestid=nil)
15955
+ @RequestId = requestid
15956
+ end
15957
+
15958
+ def deserialize(params)
15959
+ @RequestId = params['RequestId']
15960
+ end
15961
+ end
15962
+
15644
15963
  # ModifySampleSnapshotTemplate请求参数结构体
15645
15964
  class ModifySampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
15646
15965
  # @param Definition: 采样截图模板唯一标识。
@@ -17627,14 +17946,18 @@ module TencentCloud
17627
17946
  # @param QualityControlResultSet: 内容质检检出异常项。
17628
17947
  # 注意:此字段可能返回 null,表示取不到有效值。
17629
17948
  # @type QualityControlResultSet: Array
17949
+ # @param ContainerDiagnoseResultSet: 格式诊断检出异常项
17950
+ # 注意:此字段可能返回 null,表示取不到有效值。
17951
+ # @type ContainerDiagnoseResultSet: Array
17630
17952
 
17631
- attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityControlResultSet
17953
+ attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityControlResultSet, :ContainerDiagnoseResultSet
17632
17954
 
17633
- def initialize(noaudio=nil, novideo=nil, qualityevaluationscore=nil, qualitycontrolresultset=nil)
17955
+ def initialize(noaudio=nil, novideo=nil, qualityevaluationscore=nil, qualitycontrolresultset=nil, containerdiagnoseresultset=nil)
17634
17956
  @NoAudio = noaudio
17635
17957
  @NoVideo = novideo
17636
17958
  @QualityEvaluationScore = qualityevaluationscore
17637
17959
  @QualityControlResultSet = qualitycontrolresultset
17960
+ @ContainerDiagnoseResultSet = containerdiagnoseresultset
17638
17961
  end
17639
17962
 
17640
17963
  def deserialize(params)
@@ -17649,6 +17972,14 @@ module TencentCloud
17649
17972
  @QualityControlResultSet << qualitycontrolresult_tmp
17650
17973
  end
17651
17974
  end
17975
+ unless params['ContainerDiagnoseResultSet'].nil?
17976
+ @ContainerDiagnoseResultSet = []
17977
+ params['ContainerDiagnoseResultSet'].each do |i|
17978
+ containerdiagnoseresultitem_tmp = ContainerDiagnoseResultItem.new
17979
+ containerdiagnoseresultitem_tmp.deserialize(i)
17980
+ @ContainerDiagnoseResultSet << containerdiagnoseresultitem_tmp
17981
+ end
17982
+ end
17652
17983
  end
17653
17984
  end
17654
17985
 
@@ -17682,6 +18013,53 @@ module TencentCloud
17682
18013
  end
17683
18014
  end
17684
18015
 
18016
+ # 质检项配置
18017
+ class QualityControlItemConfig < TencentCloud::Common::AbstractModel
18018
+ # @param Type: 质检项名称。
18019
+ # @type Type: String
18020
+ # @param Switch: 能力配置开关,可选值:
18021
+ # <li>ON:开启;</li>
18022
+ # <li>OFF:关闭。</li>
18023
+ # 默认值:ON。
18024
+ # 注意:此字段可能返回 null,表示取不到有效值。
18025
+ # @type Switch: String
18026
+ # @param Sampling: 采样方式,取值范围:
18027
+ # - Time:根据时间间隔采样。
18028
+ # 注意:此字段可能返回 null,表示取不到有效值。
18029
+ # @type Sampling: String
18030
+ # @param IntervalTime: 采样间隔时间,取值范围:[0, 60000],单位:ms。
18031
+ # 默认值 0。
18032
+ # 注意:此字段可能返回 null,表示取不到有效值。
18033
+ # @type IntervalTime: Integer
18034
+ # @param Duration: 异常持续时间,取值范围:[0, 60000],单位:ms。
18035
+ # 默认值 0。
18036
+ # 注意:此字段可能返回 null,表示取不到有效值。
18037
+ # @type Duration: Integer
18038
+ # @param Threshold: 检测分值的阈值,使用数学区间格式,当检测值超出区间范围会触发回调。
18039
+ # 注意:此字段可能返回 null,表示取不到有效值。
18040
+ # @type Threshold: String
18041
+
18042
+ attr_accessor :Type, :Switch, :Sampling, :IntervalTime, :Duration, :Threshold
18043
+
18044
+ def initialize(type=nil, switch=nil, sampling=nil, intervaltime=nil, duration=nil, threshold=nil)
18045
+ @Type = type
18046
+ @Switch = switch
18047
+ @Sampling = sampling
18048
+ @IntervalTime = intervaltime
18049
+ @Duration = duration
18050
+ @Threshold = threshold
18051
+ end
18052
+
18053
+ def deserialize(params)
18054
+ @Type = params['Type']
18055
+ @Switch = params['Switch']
18056
+ @Sampling = params['Sampling']
18057
+ @IntervalTime = params['IntervalTime']
18058
+ @Duration = params['Duration']
18059
+ @Threshold = params['Threshold']
18060
+ end
18061
+ end
18062
+
17685
18063
  # 质检异常项。
17686
18064
  class QualityControlResult < TencentCloud::Common::AbstractModel
17687
18065
  # @param Type: 异常类型,取值范围:
@@ -17725,6 +18103,61 @@ module TencentCloud
17725
18103
  end
17726
18104
  end
17727
18105
 
18106
+ # 媒体质检模板详情
18107
+ class QualityControlTemplate < TencentCloud::Common::AbstractModel
18108
+ # @param Definition: 媒体质检模板唯一标识。
18109
+ # @type Definition: Integer
18110
+ # @param Name: 媒体质检模板名称。
18111
+ # 注意:此字段可能返回 null,表示取不到有效值。
18112
+ # @type Name: String
18113
+ # @param Comment: 模板描述信息。
18114
+ # 注意:此字段可能返回 null,表示取不到有效值。
18115
+ # @type Comment: String
18116
+ # @param Type: 模板类型,取值:
18117
+ # <li>Preset:系统预置模板;</li>
18118
+ # <li>Custom:用户自定义模板。</li>
18119
+ # 注意:此字段可能返回 null,表示取不到有效值。
18120
+ # @type Type: String
18121
+ # @param QualityControlItemSet: 媒体质检配置参数。
18122
+ # 注意:此字段可能返回 null,表示取不到有效值。
18123
+ # @type QualityControlItemSet: Array
18124
+ # @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
18125
+ # 注意:此字段可能返回 null,表示取不到有效值。
18126
+ # @type CreateTime: String
18127
+ # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
18128
+ # 注意:此字段可能返回 null,表示取不到有效值。
18129
+ # @type UpdateTime: String
18130
+
18131
+ attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime
18132
+
18133
+ def initialize(definition=nil, name=nil, comment=nil, type=nil, qualitycontrolitemset=nil, createtime=nil, updatetime=nil)
18134
+ @Definition = definition
18135
+ @Name = name
18136
+ @Comment = comment
18137
+ @Type = type
18138
+ @QualityControlItemSet = qualitycontrolitemset
18139
+ @CreateTime = createtime
18140
+ @UpdateTime = updatetime
18141
+ end
18142
+
18143
+ def deserialize(params)
18144
+ @Definition = params['Definition']
18145
+ @Name = params['Name']
18146
+ @Comment = params['Comment']
18147
+ @Type = params['Type']
18148
+ unless params['QualityControlItemSet'].nil?
18149
+ @QualityControlItemSet = []
18150
+ params['QualityControlItemSet'].each do |i|
18151
+ qualitycontrolitemconfig_tmp = QualityControlItemConfig.new
18152
+ qualitycontrolitemconfig_tmp.deserialize(i)
18153
+ @QualityControlItemSet << qualitycontrolitemconfig_tmp
18154
+ end
18155
+ end
18156
+ @CreateTime = params['CreateTime']
18157
+ @UpdateTime = params['UpdateTime']
18158
+ end
18159
+ end
18160
+
17728
18161
  # RTMP转推的目标地址信息。
17729
18162
  class RTMPAddressDestination < TencentCloud::Common::AbstractModel
17730
18163
  # @param Url: 转推RTMP的目标Url,格式如'rtmp://domain/live'。
@@ -20489,7 +20922,7 @@ module TencentCloud
20489
20922
  # 注意:MPEG2、dnxhd 编码容器目前只支持mxf。
20490
20923
  # 注意:此字段可能返回 null,表示取不到有效值。
20491
20924
  # @type Codec: String
20492
- # @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
20925
+ # @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
20493
20926
  # 注意:此字段可能返回 null,表示取不到有效值。
20494
20927
  # @type Fps: Integer
20495
20928
  # @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.858
4
+ version: 3.0.860
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-07-04 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common