tencentcloud-sdk-mps 3.0.857 → 3.0.859

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: 7aad801cd27dab0f08efe4f735093155dfd0e1a6
4
- data.tar.gz: f3ab9b109cde9bba65bfb0969e5b2da304944e5f
3
+ metadata.gz: be010fee83351fbaa7bd106fe1899501c97a63df
4
+ data.tar.gz: f9fe81a66b87fecd7f9f84ae4a300dcadd07180f
5
5
  SHA512:
6
- metadata.gz: 34ea5633cdd3375f8e1da1a0cd96c2278d6b3b3ba0d6ead8fa06592a60e1ceb7fe606c209675b55135e8180239dbe6c793c2399fe7605b6d5401e6d3fca55f96
7
- data.tar.gz: 7dbe13a6e6f271814a2ad962e3e871328c19f899ca697620b15094b87e454707d03f1e7c66baaeb27292d3c4131c339f16860e2efb895d5d69be48d5a7184d65
6
+ metadata.gz: 539dabbb32bdc79678be51ac2ebebd160b53f985c2c0faca0b3c7e788192e9e47f7685550a021c9b7c8319628b26a0a890417cc6d81517016740dd09fb1ef655
7
+ data.tar.gz: 1c3a14ab8c7373f06a318589650a81fcead654d78acdd9243b8b4a334edbdbe7a0ffb4e5f9a8815e850224f32fe207dd90cae2b7e21972dbd64927ed180ad4a9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.857
1
+ 3.0.859
@@ -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
 
@@ -1888,8 +1904,8 @@ module TencentCloud
1888
1904
 
1889
1905
  attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
1890
1906
  extend Gem::Deprecate
1891
- deprecate :OutputStorage, :none, 2024, 6
1892
- deprecate :OutputStorage=, :none, 2024, 6
1907
+ deprecate :OutputStorage, :none, 2024, 7
1908
+ deprecate :OutputStorage=, :none, 2024, 7
1893
1909
 
1894
1910
  def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
1895
1911
  @SegmentSet = segmentset
@@ -5546,6 +5562,103 @@ module TencentCloud
5546
5562
  end
5547
5563
  end
5548
5564
 
5565
+ # 容器格式诊断结果
5566
+ class ContainerDiagnoseResultItem < TencentCloud::Common::AbstractModel
5567
+ # @param Category: 诊断出的异常类别,取值范围:
5568
+ # DecodeParamException:解码参数异常
5569
+ # TimeStampException:时间戳异常
5570
+ # FrameException: 帧率异常
5571
+ # StreamStatusException:流状态异常
5572
+ # StreamInfo:流信息异常
5573
+ # StreamAbnormalCharacteristics:流特征异常
5574
+ # DecodeException:解码异常
5575
+ # HLSRequirements:HLS 格式异常
5576
+ # 注意:此字段可能返回 null,表示取不到有效值。
5577
+ # @type Category: String
5578
+ # @param Type: 诊断出的具体异常类型,取值如下:
5579
+
5580
+ # VideoResolutionChanged:视频分辨率变化
5581
+ # AudioSampleRateChanged:音频采样率变化
5582
+ # AudioChannelsChanged:音频通道数变化
5583
+ # ParameterSetsChanged:流参数集信息发生变化
5584
+ # DarOrSarInvalid:视频的宽高比异常
5585
+ # TimestampFallback:DTS时间戳回退
5586
+ # DtsJitter:DTS抖动过大
5587
+ # PtsJitter:PTS抖动过大
5588
+ # AACDurationDeviation:AAC帧时间戳间隔不合理
5589
+ # AudioDroppingFrames:音频丢帧
5590
+ # VideoDroppingFrames:视频丢帧
5591
+ # AVTimestampInterleave:音视频交织不合理
5592
+ # PtsLessThanDts:媒体流的 pts 小于 dts
5593
+ # ReceiveFpsJitter:网络接收帧率抖动过大
5594
+ # ReceiveFpsTooSmall:网络接收视频帧率过小
5595
+ # FpsJitter:通过PTS计算得到的流帧率抖动过大
5596
+ # StreamOpenFailed:流打开失败
5597
+ # StreamEnd:流结束
5598
+ # StreamParseFailed:流解析失败
5599
+ # VideoFirstFrameNotIdr:首帧不是IDR帧
5600
+ # StreamNALUError:NALU起始码错误
5601
+ # TsStreamNoAud:mpegts的H26x流缺失 AUD NALU
5602
+ # AudioStreamLack:无音频流
5603
+ # VideoStreamLack:无视频流
5604
+ # LackAudioRecover:缺失音频流恢复
5605
+ # LackVideoRecover:缺失视频流恢复
5606
+ # VideoBitrateOutofRange:视频流码率(kbps)超出范围
5607
+ # AudioBitrateOutofRange:音频流码率(kbps)超出范围
5608
+ # VideoDecodeFailed:视频解码错误
5609
+ # AudioDecodeFailed:音频解码错误
5610
+ # AudioOutOfPhase:双通道音频相位相反
5611
+ # VideoDuplicatedFrame:视频流中存在重复帧
5612
+ # AudioDuplicatedFrame:音频流中存在重复帧
5613
+ # VideoRotation:视频画面旋转
5614
+ # TsMultiPrograms:MPEG2-TS流有多个program
5615
+ # Mp4InvalidCodecFourcc:MP4中codec fourcc不符合Apple HLS要求
5616
+ # HLSBadM3u8Format:无效的m3u8文件
5617
+ # HLSInvalidMasterM3u8:无效的main m3u8文件
5618
+ # HLSInvalidMediaM3u8:无效的media m3u8文件
5619
+ # HLSMasterM3u8Recommended:main m3u8缺少标准推荐的参数
5620
+ # HLSMediaM3u8Recommended:media m3u8缺少标准推荐的参数
5621
+ # HLSMediaM3u8DiscontinuityExist:media m3u8存在EXT-X-DISCONTINUITY
5622
+ # HLSMediaSegmentsStreamNumChange:切片的流数目发生变化
5623
+ # HLSMediaSegmentsPTSJitterDeviation:切片间PTS跳变且没有EXT-X-DISCONTINUITY
5624
+ # HLSMediaSegmentsDTSJitterDeviation:切片间DTS跳变且没有EXT-X-DISCONTINUITY
5625
+ # TimecodeTrackExist:MP4存在tmcd轨道
5626
+ # 注意:此字段可能返回 null,表示取不到有效值。
5627
+ # @type Type: String
5628
+ # @param SeverityLevel: 诊断出的异常级别,取值范围:
5629
+ # Fatal:影响后续播放和解析,
5630
+ # Error: 可能会影响播放,
5631
+ # Warning: 可能会有潜在风险,但不一定会影响播放,
5632
+ # Notice:比较重要的流信息,
5633
+ # Info:一般性的流信息。
5634
+ # 注意:此字段可能返回 null,表示取不到有效值。
5635
+ # @type SeverityLevel: String
5636
+ # @param DateTimeSet: 警告出现的时间点,形式如 “2022-12-25T13:14:16Z”
5637
+ # 注意:此字段可能返回 null,表示取不到有效值。
5638
+ # @type DateTimeSet: Array
5639
+ # @param TimestampSet: 时间戳
5640
+ # 注意:此字段可能返回 null,表示取不到有效值。
5641
+ # @type TimestampSet: Array
5642
+
5643
+ attr_accessor :Category, :Type, :SeverityLevel, :DateTimeSet, :TimestampSet
5644
+
5645
+ def initialize(category=nil, type=nil, severitylevel=nil, datetimeset=nil, timestampset=nil)
5646
+ @Category = category
5647
+ @Type = type
5648
+ @SeverityLevel = severitylevel
5649
+ @DateTimeSet = datetimeset
5650
+ @TimestampSet = timestampset
5651
+ end
5652
+
5653
+ def deserialize(params)
5654
+ @Category = params['Category']
5655
+ @Type = params['Type']
5656
+ @SeverityLevel = params['SeverityLevel']
5657
+ @DateTimeSet = params['DateTimeSet']
5658
+ @TimestampSet = params['TimestampSet']
5659
+ end
5660
+ end
5661
+
5549
5662
  # 内容审核模板详情
5550
5663
  class ContentReviewTemplateItem < TencentCloud::Common::AbstractModel
5551
5664
  # @param Definition: 内容审核模板唯一标识。
@@ -6763,6 +6876,57 @@ module TencentCloud
6763
6876
  end
6764
6877
  end
6765
6878
 
6879
+ # CreateQualityControlTemplate请求参数结构体
6880
+ class CreateQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
6881
+ # @param Name: 媒体质检模板名称,长度限制:64 个字符。
6882
+ # @type Name: String
6883
+ # @param QualityControlItemSet: 媒体质检控制参数。
6884
+ # @type QualityControlItemSet: Array
6885
+ # @param Comment: 媒体质检模板描述信息,长度限制:256 个字符。
6886
+ # @type Comment: String
6887
+
6888
+ attr_accessor :Name, :QualityControlItemSet, :Comment
6889
+
6890
+ def initialize(name=nil, qualitycontrolitemset=nil, comment=nil)
6891
+ @Name = name
6892
+ @QualityControlItemSet = qualitycontrolitemset
6893
+ @Comment = comment
6894
+ end
6895
+
6896
+ def deserialize(params)
6897
+ @Name = params['Name']
6898
+ unless params['QualityControlItemSet'].nil?
6899
+ @QualityControlItemSet = []
6900
+ params['QualityControlItemSet'].each do |i|
6901
+ qualitycontrolitemconfig_tmp = QualityControlItemConfig.new
6902
+ qualitycontrolitemconfig_tmp.deserialize(i)
6903
+ @QualityControlItemSet << qualitycontrolitemconfig_tmp
6904
+ end
6905
+ end
6906
+ @Comment = params['Comment']
6907
+ end
6908
+ end
6909
+
6910
+ # CreateQualityControlTemplate返回参数结构体
6911
+ class CreateQualityControlTemplateResponse < TencentCloud::Common::AbstractModel
6912
+ # @param Definition: 媒体质检模板唯一标识。
6913
+ # @type Definition: Integer
6914
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6915
+ # @type RequestId: String
6916
+
6917
+ attr_accessor :Definition, :RequestId
6918
+
6919
+ def initialize(definition=nil, requestid=nil)
6920
+ @Definition = definition
6921
+ @RequestId = requestid
6922
+ end
6923
+
6924
+ def deserialize(params)
6925
+ @Definition = params['Definition']
6926
+ @RequestId = params['RequestId']
6927
+ end
6928
+ end
6929
+
6766
6930
  # CreateSampleSnapshotTemplate请求参数结构体
6767
6931
  class CreateSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
6768
6932
  # @param SampleType: 采样截图类型,取值:
@@ -7755,6 +7919,38 @@ module TencentCloud
7755
7919
  end
7756
7920
  end
7757
7921
 
7922
+ # DeleteQualityControlTemplate请求参数结构体
7923
+ class DeleteQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
7924
+ # @param Definition: 媒体质检模板唯一标识。
7925
+ # @type Definition: Integer
7926
+
7927
+ attr_accessor :Definition
7928
+
7929
+ def initialize(definition=nil)
7930
+ @Definition = definition
7931
+ end
7932
+
7933
+ def deserialize(params)
7934
+ @Definition = params['Definition']
7935
+ end
7936
+ end
7937
+
7938
+ # DeleteQualityControlTemplate返回参数结构体
7939
+ class DeleteQualityControlTemplateResponse < TencentCloud::Common::AbstractModel
7940
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7941
+ # @type RequestId: String
7942
+
7943
+ attr_accessor :RequestId
7944
+
7945
+ def initialize(requestid=nil)
7946
+ @RequestId = requestid
7947
+ end
7948
+
7949
+ def deserialize(params)
7950
+ @RequestId = params['RequestId']
7951
+ end
7952
+ end
7953
+
7758
7954
  # DeleteSampleSnapshotTemplate请求参数结构体
7759
7955
  class DeleteSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
7760
7956
  # @param Definition: 采样截图模板唯一标识。
@@ -9374,6 +9570,68 @@ module TencentCloud
9374
9570
  end
9375
9571
  end
9376
9572
 
9573
+ # DescribeQualityControlTemplates请求参数结构体
9574
+ class DescribeQualityControlTemplatesRequest < TencentCloud::Common::AbstractModel
9575
+ # @param Definitions: 媒体质检模板唯一标识过滤条件,数组长度限制:100。
9576
+ # @type Definitions: Array
9577
+ # @param Offset: 分页偏移量,默认值:0。
9578
+ # @type Offset: Integer
9579
+ # @param Limit: 返回记录条数
9580
+ # <li>默认值:10;</li>
9581
+ # <li>最大值:100。</li>
9582
+ # @type Limit: Integer
9583
+ # @param Type: "Preset":预设,Custom":客户魔板
9584
+ # @type Type: String
9585
+
9586
+ attr_accessor :Definitions, :Offset, :Limit, :Type
9587
+
9588
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil)
9589
+ @Definitions = definitions
9590
+ @Offset = offset
9591
+ @Limit = limit
9592
+ @Type = type
9593
+ end
9594
+
9595
+ def deserialize(params)
9596
+ @Definitions = params['Definitions']
9597
+ @Offset = params['Offset']
9598
+ @Limit = params['Limit']
9599
+ @Type = params['Type']
9600
+ end
9601
+ end
9602
+
9603
+ # DescribeQualityControlTemplates返回参数结构体
9604
+ class DescribeQualityControlTemplatesResponse < TencentCloud::Common::AbstractModel
9605
+ # @param TotalCount: 符合过滤条件的记录总数。
9606
+ # @type TotalCount: Integer
9607
+ # @param QualityControlTemplateSet: 媒体质检模板详情列表。
9608
+ # 注意:此字段可能返回 null,表示取不到有效值。
9609
+ # @type QualityControlTemplateSet: Array
9610
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9611
+ # @type RequestId: String
9612
+
9613
+ attr_accessor :TotalCount, :QualityControlTemplateSet, :RequestId
9614
+
9615
+ def initialize(totalcount=nil, qualitycontroltemplateset=nil, requestid=nil)
9616
+ @TotalCount = totalcount
9617
+ @QualityControlTemplateSet = qualitycontroltemplateset
9618
+ @RequestId = requestid
9619
+ end
9620
+
9621
+ def deserialize(params)
9622
+ @TotalCount = params['TotalCount']
9623
+ unless params['QualityControlTemplateSet'].nil?
9624
+ @QualityControlTemplateSet = []
9625
+ params['QualityControlTemplateSet'].each do |i|
9626
+ qualitycontroltemplate_tmp = QualityControlTemplate.new
9627
+ qualitycontroltemplate_tmp.deserialize(i)
9628
+ @QualityControlTemplateSet << qualitycontroltemplate_tmp
9629
+ end
9630
+ end
9631
+ @RequestId = params['RequestId']
9632
+ end
9633
+ end
9634
+
9377
9635
  # 查询输入的RTMP配置信息。
9378
9636
  class DescribeRTMPPullSourceAddress < TencentCloud::Common::AbstractModel
9379
9637
  # @param TcUrl: RTMP源站的TcUrl地址。
@@ -15641,6 +15899,57 @@ module TencentCloud
15641
15899
  end
15642
15900
  end
15643
15901
 
15902
+ # ModifyQualityControlTemplate请求参数结构体
15903
+ class ModifyQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
15904
+ # @param Definition: 媒体质检模板唯一标识。
15905
+ # @type Definition: Integer
15906
+ # @param Name: 媒体质检模板名称,长度限制:64 个字符。
15907
+ # @type Name: String
15908
+ # @param Comment: 模板描述信息,长度限制:256 个字符。
15909
+ # @type Comment: String
15910
+ # @param QualityControlItemSet: 媒体质检配置参数。
15911
+ # @type QualityControlItemSet: Array
15912
+
15913
+ attr_accessor :Definition, :Name, :Comment, :QualityControlItemSet
15914
+
15915
+ def initialize(definition=nil, name=nil, comment=nil, qualitycontrolitemset=nil)
15916
+ @Definition = definition
15917
+ @Name = name
15918
+ @Comment = comment
15919
+ @QualityControlItemSet = qualitycontrolitemset
15920
+ end
15921
+
15922
+ def deserialize(params)
15923
+ @Definition = params['Definition']
15924
+ @Name = params['Name']
15925
+ @Comment = params['Comment']
15926
+ unless params['QualityControlItemSet'].nil?
15927
+ @QualityControlItemSet = []
15928
+ params['QualityControlItemSet'].each do |i|
15929
+ qualitycontrolitemconfig_tmp = QualityControlItemConfig.new
15930
+ qualitycontrolitemconfig_tmp.deserialize(i)
15931
+ @QualityControlItemSet << qualitycontrolitemconfig_tmp
15932
+ end
15933
+ end
15934
+ end
15935
+ end
15936
+
15937
+ # ModifyQualityControlTemplate返回参数结构体
15938
+ class ModifyQualityControlTemplateResponse < TencentCloud::Common::AbstractModel
15939
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15940
+ # @type RequestId: String
15941
+
15942
+ attr_accessor :RequestId
15943
+
15944
+ def initialize(requestid=nil)
15945
+ @RequestId = requestid
15946
+ end
15947
+
15948
+ def deserialize(params)
15949
+ @RequestId = params['RequestId']
15950
+ end
15951
+ end
15952
+
15644
15953
  # ModifySampleSnapshotTemplate请求参数结构体
15645
15954
  class ModifySampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
15646
15955
  # @param Definition: 采样截图模板唯一标识。
@@ -17627,14 +17936,18 @@ module TencentCloud
17627
17936
  # @param QualityControlResultSet: 内容质检检出异常项。
17628
17937
  # 注意:此字段可能返回 null,表示取不到有效值。
17629
17938
  # @type QualityControlResultSet: Array
17939
+ # @param ContainerDiagnoseResultSet: 格式诊断检出异常项
17940
+ # 注意:此字段可能返回 null,表示取不到有效值。
17941
+ # @type ContainerDiagnoseResultSet: Array
17630
17942
 
17631
- attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityControlResultSet
17943
+ attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityControlResultSet, :ContainerDiagnoseResultSet
17632
17944
 
17633
- def initialize(noaudio=nil, novideo=nil, qualityevaluationscore=nil, qualitycontrolresultset=nil)
17945
+ def initialize(noaudio=nil, novideo=nil, qualityevaluationscore=nil, qualitycontrolresultset=nil, containerdiagnoseresultset=nil)
17634
17946
  @NoAudio = noaudio
17635
17947
  @NoVideo = novideo
17636
17948
  @QualityEvaluationScore = qualityevaluationscore
17637
17949
  @QualityControlResultSet = qualitycontrolresultset
17950
+ @ContainerDiagnoseResultSet = containerdiagnoseresultset
17638
17951
  end
17639
17952
 
17640
17953
  def deserialize(params)
@@ -17649,6 +17962,14 @@ module TencentCloud
17649
17962
  @QualityControlResultSet << qualitycontrolresult_tmp
17650
17963
  end
17651
17964
  end
17965
+ unless params['ContainerDiagnoseResultSet'].nil?
17966
+ @ContainerDiagnoseResultSet = []
17967
+ params['ContainerDiagnoseResultSet'].each do |i|
17968
+ containerdiagnoseresultitem_tmp = ContainerDiagnoseResultItem.new
17969
+ containerdiagnoseresultitem_tmp.deserialize(i)
17970
+ @ContainerDiagnoseResultSet << containerdiagnoseresultitem_tmp
17971
+ end
17972
+ end
17652
17973
  end
17653
17974
  end
17654
17975
 
@@ -17682,6 +18003,53 @@ module TencentCloud
17682
18003
  end
17683
18004
  end
17684
18005
 
18006
+ # 质检项配置
18007
+ class QualityControlItemConfig < TencentCloud::Common::AbstractModel
18008
+ # @param Type: 质检项名称。
18009
+ # @type Type: String
18010
+ # @param Switch: 能力配置开关,可选值:
18011
+ # <li>ON:开启;</li>
18012
+ # <li>OFF:关闭。</li>
18013
+ # 默认值:ON。
18014
+ # 注意:此字段可能返回 null,表示取不到有效值。
18015
+ # @type Switch: String
18016
+ # @param Sampling: 采样方式,取值范围:
18017
+ # - Time:根据时间间隔采样。
18018
+ # 注意:此字段可能返回 null,表示取不到有效值。
18019
+ # @type Sampling: String
18020
+ # @param IntervalTime: 采样间隔时间,取值范围:[0, 60000],单位:ms。
18021
+ # 默认值 0。
18022
+ # 注意:此字段可能返回 null,表示取不到有效值。
18023
+ # @type IntervalTime: Integer
18024
+ # @param Duration: 异常持续时间,取值范围:[0, 60000],单位:ms。
18025
+ # 默认值 0。
18026
+ # 注意:此字段可能返回 null,表示取不到有效值。
18027
+ # @type Duration: Integer
18028
+ # @param Threshold: 检测分值的阈值,使用数学区间格式,当检测值超出区间范围会触发回调。
18029
+ # 注意:此字段可能返回 null,表示取不到有效值。
18030
+ # @type Threshold: String
18031
+
18032
+ attr_accessor :Type, :Switch, :Sampling, :IntervalTime, :Duration, :Threshold
18033
+
18034
+ def initialize(type=nil, switch=nil, sampling=nil, intervaltime=nil, duration=nil, threshold=nil)
18035
+ @Type = type
18036
+ @Switch = switch
18037
+ @Sampling = sampling
18038
+ @IntervalTime = intervaltime
18039
+ @Duration = duration
18040
+ @Threshold = threshold
18041
+ end
18042
+
18043
+ def deserialize(params)
18044
+ @Type = params['Type']
18045
+ @Switch = params['Switch']
18046
+ @Sampling = params['Sampling']
18047
+ @IntervalTime = params['IntervalTime']
18048
+ @Duration = params['Duration']
18049
+ @Threshold = params['Threshold']
18050
+ end
18051
+ end
18052
+
17685
18053
  # 质检异常项。
17686
18054
  class QualityControlResult < TencentCloud::Common::AbstractModel
17687
18055
  # @param Type: 异常类型,取值范围:
@@ -17725,6 +18093,61 @@ module TencentCloud
17725
18093
  end
17726
18094
  end
17727
18095
 
18096
+ # 媒体质检模板详情
18097
+ class QualityControlTemplate < TencentCloud::Common::AbstractModel
18098
+ # @param Definition: 媒体质检模板唯一标识。
18099
+ # @type Definition: Integer
18100
+ # @param Name: 媒体质检模板名称。
18101
+ # 注意:此字段可能返回 null,表示取不到有效值。
18102
+ # @type Name: String
18103
+ # @param Comment: 模板描述信息。
18104
+ # 注意:此字段可能返回 null,表示取不到有效值。
18105
+ # @type Comment: String
18106
+ # @param Type: 模板类型,取值:
18107
+ # <li>Preset:系统预置模板;</li>
18108
+ # <li>Custom:用户自定义模板。</li>
18109
+ # 注意:此字段可能返回 null,表示取不到有效值。
18110
+ # @type Type: String
18111
+ # @param QualityControlItemSet: 媒体质检配置参数。
18112
+ # 注意:此字段可能返回 null,表示取不到有效值。
18113
+ # @type QualityControlItemSet: Array
18114
+ # @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
18115
+ # 注意:此字段可能返回 null,表示取不到有效值。
18116
+ # @type CreateTime: String
18117
+ # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
18118
+ # 注意:此字段可能返回 null,表示取不到有效值。
18119
+ # @type UpdateTime: String
18120
+
18121
+ attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime
18122
+
18123
+ def initialize(definition=nil, name=nil, comment=nil, type=nil, qualitycontrolitemset=nil, createtime=nil, updatetime=nil)
18124
+ @Definition = definition
18125
+ @Name = name
18126
+ @Comment = comment
18127
+ @Type = type
18128
+ @QualityControlItemSet = qualitycontrolitemset
18129
+ @CreateTime = createtime
18130
+ @UpdateTime = updatetime
18131
+ end
18132
+
18133
+ def deserialize(params)
18134
+ @Definition = params['Definition']
18135
+ @Name = params['Name']
18136
+ @Comment = params['Comment']
18137
+ @Type = params['Type']
18138
+ unless params['QualityControlItemSet'].nil?
18139
+ @QualityControlItemSet = []
18140
+ params['QualityControlItemSet'].each do |i|
18141
+ qualitycontrolitemconfig_tmp = QualityControlItemConfig.new
18142
+ qualitycontrolitemconfig_tmp.deserialize(i)
18143
+ @QualityControlItemSet << qualitycontrolitemconfig_tmp
18144
+ end
18145
+ end
18146
+ @CreateTime = params['CreateTime']
18147
+ @UpdateTime = params['UpdateTime']
18148
+ end
18149
+ end
18150
+
17728
18151
  # RTMP转推的目标地址信息。
17729
18152
  class RTMPAddressDestination < TencentCloud::Common::AbstractModel
17730
18153
  # @param Url: 转推RTMP的目标Url,格式如'rtmp://domain/live'。
@@ -20489,7 +20912,7 @@ module TencentCloud
20489
20912
  # 注意:MPEG2、dnxhd 编码容器目前只支持mxf。
20490
20913
  # 注意:此字段可能返回 null,表示取不到有效值。
20491
20914
  # @type Codec: String
20492
- # @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
20915
+ # @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
20493
20916
  # 注意:此字段可能返回 null,表示取不到有效值。
20494
20917
  # @type Fps: Integer
20495
20918
  # @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.857
4
+ version: 3.0.859
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-03 00:00:00.000000000 Z
11
+ date: 2024-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common