tencentcloud-sdk-mps 3.0.1156 → 3.0.1160

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +124 -16
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6df6d9a68516b154366304b33c7f3ce28c3519f
4
- data.tar.gz: 86ad9c77bae7481dff527ccc59e033a4e53b689a
3
+ metadata.gz: 5ae3c89b8f417c9aa6269baec0c804ce006baa52
4
+ data.tar.gz: 9d766c0191c2cee214306cae7156776a3453818f
5
5
  SHA512:
6
- metadata.gz: 056082969776c2050d289ce1ab032835a962121ad0ff50693d8bb408d20092867dc9c7adba2852f7749f6894f6fdc564038e851f10b7087169317cb25886d636
7
- data.tar.gz: ff101fa480d713ed65ab947cdd4a8a58c0d7ba6811967d9755cae88776c4be709c806cea1475e727194b6202bc27f099c77f84540451a6f36557cf4fad9de4c3
6
+ metadata.gz: 404a23497a42d15ea4dcdbec9b3b6f573fc0e9026430105228d44d5df5c35f9e76dfdddeeefbc472339a43e7d52e0631583cf20e0272daf68c5fa4d272e9af22
7
+ data.tar.gz: 3e162854d0e26e3fc301bcae803aed0af47ad1a8e7ecdac500da9872ef57f048c50a00fdf41a9cf5aefebb97962c612c31d32ea70fc1f5cb7581625c4760e72a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1156
1
+ 3.0.1160
@@ -5052,7 +5052,8 @@ module TencentCloud
5052
5052
  # 4)、Codec为:eac3时,取值范围:[26, 6144],备注:当SampleRate为44100HZ,最大值为:5644,当SampleRate为48000HZ,最大值为:6144,
5053
5053
 
5054
5054
  # @type Bitrate: Integer
5055
- # @param SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
5055
+ # @param SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
5056
+ # 详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
5056
5057
  # 单位:Hz
5057
5058
  # 注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
5058
5059
  # @type SampleRate: Integer
@@ -5114,7 +5115,8 @@ module TencentCloud
5114
5115
  # @param Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
5115
5116
  # 注意:此字段可能返回 null,表示取不到有效值。
5116
5117
  # @type Bitrate: Integer
5117
- # @param SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
5118
+ # @param SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
5119
+ # 详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
5118
5120
  # 单位:Hz
5119
5121
  # 注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
5120
5122
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -5581,8 +5583,12 @@ module TencentCloud
5581
5583
  # 美颜效果配置项
5582
5584
  class BeautyEffectItemConfig < TencentCloud::Common::AbstractModel
5583
5585
  # @param Type: 类型名称。取值如下:
5584
-
5585
5586
  # <li>Whiten:美白</li>
5587
+ # <li>BlackAlpha1:美黑</li>
5588
+ # <li>BlackAlpha2:较强美黑</li>
5589
+ # <li>FoundationAlpha2:美白-粉白</li>
5590
+ # <li>Clear:清晰度</li>
5591
+ # <li>Sharpen:锐化</li>
5586
5592
  # <li>Smooth:磨皮</li>
5587
5593
  # <li>BeautyThinFace:瘦脸</li>
5588
5594
  # <li>NatureFace:自然脸型</li>
@@ -5592,8 +5598,11 @@ module TencentCloud
5592
5598
  # <li>RemoveEyeBags:祛眼袋</li>
5593
5599
  # <li>ThinNose:瘦鼻</li>
5594
5600
  # <li>RemoveLawLine:祛法令纹</li>
5601
+ # <li>CheekboneThin:瘦颧骨</li>
5602
+ # <li>FaceFeatureLipsLut:口红</li>
5595
5603
  # <li>ToothWhiten:牙齿美白</li>
5596
-
5604
+ # <li>FaceFeatureSoftlight:柔光</li>
5605
+ # <li>Makeup:美妆</li>
5597
5606
  # @type Type: String
5598
5607
  # @param Switch: 能力配置开关,可选值:
5599
5608
  # <li>ON:开启;</li>
@@ -5602,19 +5611,27 @@ module TencentCloud
5602
5611
  # @type Switch: String
5603
5612
  # @param Value: 效果强度,值范围:[0, 100]。
5604
5613
  # @type Value: Integer
5614
+ # @param ResourcePath: 附加资源路径。
5615
+ # @type ResourcePath: String
5616
+ # @param ExtInfo: 自定义参数。
5617
+ # @type ExtInfo: String
5605
5618
 
5606
- attr_accessor :Type, :Switch, :Value
5619
+ attr_accessor :Type, :Switch, :Value, :ResourcePath, :ExtInfo
5607
5620
 
5608
- def initialize(type=nil, switch=nil, value=nil)
5621
+ def initialize(type=nil, switch=nil, value=nil, resourcepath=nil, extinfo=nil)
5609
5622
  @Type = type
5610
5623
  @Switch = switch
5611
5624
  @Value = value
5625
+ @ResourcePath = resourcepath
5626
+ @ExtInfo = extinfo
5612
5627
  end
5613
5628
 
5614
5629
  def deserialize(params)
5615
5630
  @Type = params['Type']
5616
5631
  @Switch = params['Switch']
5617
5632
  @Value = params['Value']
5633
+ @ResourcePath = params['ResourcePath']
5634
+ @ExtInfo = params['ExtInfo']
5618
5635
  end
5619
5636
  end
5620
5637
 
@@ -7867,12 +7884,17 @@ module TencentCloud
7867
7884
  # @type Zones: Array
7868
7885
  # @param RISTSettings: 输出的RIST的配置。
7869
7886
  # @type RISTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputRistSettings`
7870
- # @param PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
7887
+ # @param PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
7871
7888
  # @type PidSelector: :class:`Tencentcloud::Mps.v20190612.models.PidSelector`
7889
+ # @param StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
7890
+ # @type StreamSelector: :class:`Tencentcloud::Mps.v20190612.models.StreamSelector`
7872
7891
 
7873
- attr_accessor :OutputName, :Description, :Protocol, :OutputRegion, :OutputType, :OutputKind, :SRTSettings, :RTMPSettings, :RTPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector
7892
+ attr_accessor :OutputName, :Description, :Protocol, :OutputRegion, :OutputType, :OutputKind, :SRTSettings, :RTMPSettings, :RTPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamSelector
7893
+ extend Gem::Deprecate
7894
+ deprecate :PidSelector, :none, 2025, 10
7895
+ deprecate :PidSelector=, :none, 2025, 10
7874
7896
 
7875
- def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, outputtype=nil, outputkind=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil)
7897
+ def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, outputtype=nil, outputkind=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamselector=nil)
7876
7898
  @OutputName = outputname
7877
7899
  @Description = description
7878
7900
  @Protocol = protocol
@@ -7888,6 +7910,7 @@ module TencentCloud
7888
7910
  @Zones = zones
7889
7911
  @RISTSettings = ristsettings
7890
7912
  @PidSelector = pidselector
7913
+ @StreamSelector = streamselector
7891
7914
  end
7892
7915
 
7893
7916
  def deserialize(params)
@@ -7921,6 +7944,10 @@ module TencentCloud
7921
7944
  @PidSelector = PidSelector.new
7922
7945
  @PidSelector.deserialize(params['PidSelector'])
7923
7946
  end
7947
+ unless params['StreamSelector'].nil?
7948
+ @StreamSelector = StreamSelector.new
7949
+ @StreamSelector.deserialize(params['StreamSelector'])
7950
+ end
7924
7951
  end
7925
7952
  end
7926
7953
 
@@ -11006,7 +11033,6 @@ module TencentCloud
11006
11033
  class DescribeImageTaskDetailResponse < TencentCloud::Common::AbstractModel
11007
11034
  # @param TaskType: 任务类型,目前取值有:
11008
11035
  # <li>WorkflowTask:工作流处理任务。</li>
11009
-
11010
11036
  # 注意:此字段可能返回 null,表示取不到有效值。
11011
11037
  # @type TaskType: String
11012
11038
  # @param Status: 任务状态,取值:
@@ -11015,6 +11041,12 @@ module TencentCloud
11015
11041
  # <li>FINISH:已完成。</li>
11016
11042
  # 注意:此字段可能返回 null,表示取不到有效值。
11017
11043
  # @type Status: String
11044
+ # @param ErrCode: 任务失败时的错误码。
11045
+ # @type ErrCode: Integer
11046
+ # @param ErrMsg: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
11047
+ # @type ErrMsg: String
11048
+ # @param Message: 任务异常Message。
11049
+ # @type Message: String
11018
11050
  # @param ImageProcessTaskResultSet: 图片处理任务的执行状态与结果。
11019
11051
  # 注意:此字段可能返回 null,表示取不到有效值。
11020
11052
  # @type ImageProcessTaskResultSet: Array
@@ -11027,11 +11059,14 @@ module TencentCloud
11027
11059
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11028
11060
  # @type RequestId: String
11029
11061
 
11030
- attr_accessor :TaskType, :Status, :ImageProcessTaskResultSet, :CreateTime, :FinishTime, :RequestId
11062
+ attr_accessor :TaskType, :Status, :ErrCode, :ErrMsg, :Message, :ImageProcessTaskResultSet, :CreateTime, :FinishTime, :RequestId
11031
11063
 
11032
- def initialize(tasktype=nil, status=nil, imageprocesstaskresultset=nil, createtime=nil, finishtime=nil, requestid=nil)
11064
+ def initialize(tasktype=nil, status=nil, errcode=nil, errmsg=nil, message=nil, imageprocesstaskresultset=nil, createtime=nil, finishtime=nil, requestid=nil)
11033
11065
  @TaskType = tasktype
11034
11066
  @Status = status
11067
+ @ErrCode = errcode
11068
+ @ErrMsg = errmsg
11069
+ @Message = message
11035
11070
  @ImageProcessTaskResultSet = imageprocesstaskresultset
11036
11071
  @CreateTime = createtime
11037
11072
  @FinishTime = finishtime
@@ -11041,6 +11076,9 @@ module TencentCloud
11041
11076
  def deserialize(params)
11042
11077
  @TaskType = params['TaskType']
11043
11078
  @Status = params['Status']
11079
+ @ErrCode = params['ErrCode']
11080
+ @ErrMsg = params['ErrMsg']
11081
+ @Message = params['Message']
11044
11082
  unless params['ImageProcessTaskResultSet'].nil?
11045
11083
  @ImageProcessTaskResultSet = []
11046
11084
  params['ImageProcessTaskResultSet'].each do |i|
@@ -11553,10 +11591,15 @@ module TencentCloud
11553
11591
  # @type PidSelector: :class:`Tencentcloud::Mps.v20190612.models.PidSelector`
11554
11592
  # @param StreamUrls: 输出模块配置,相关的URL,包括提供的拉流地址,或者配置的输出到第三方的转推地址
11555
11593
  # @type StreamUrls: Array
11594
+ # @param StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
11595
+ # @type StreamSelector: :class:`Tencentcloud::Mps.v20190612.models.StreamSelector`
11556
11596
 
11557
- attr_accessor :OutputId, :OutputName, :OutputType, :OutputKind, :Description, :Protocol, :OutputAddressList, :OutputRegion, :SRTSettings, :RTPSettings, :RTMPSettings, :RTMPPullSettings, :AllowIpList, :RTSPPullSettings, :HLSPullSettings, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamUrls
11597
+ attr_accessor :OutputId, :OutputName, :OutputType, :OutputKind, :Description, :Protocol, :OutputAddressList, :OutputRegion, :SRTSettings, :RTPSettings, :RTMPSettings, :RTMPPullSettings, :AllowIpList, :RTSPPullSettings, :HLSPullSettings, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamUrls, :StreamSelector
11598
+ extend Gem::Deprecate
11599
+ deprecate :PidSelector, :none, 2025, 10
11600
+ deprecate :PidSelector=, :none, 2025, 10
11558
11601
 
11559
- def initialize(outputid=nil, outputname=nil, outputtype=nil, outputkind=nil, description=nil, protocol=nil, outputaddresslist=nil, outputregion=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, rtmppullsettings=nil, allowiplist=nil, rtsppullsettings=nil, hlspullsettings=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamurls=nil)
11602
+ def initialize(outputid=nil, outputname=nil, outputtype=nil, outputkind=nil, description=nil, protocol=nil, outputaddresslist=nil, outputregion=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, rtmppullsettings=nil, allowiplist=nil, rtsppullsettings=nil, hlspullsettings=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamurls=nil, streamselector=nil)
11560
11603
  @OutputId = outputid
11561
11604
  @OutputName = outputname
11562
11605
  @OutputType = outputtype
@@ -11578,6 +11621,7 @@ module TencentCloud
11578
11621
  @RISTSettings = ristsettings
11579
11622
  @PidSelector = pidselector
11580
11623
  @StreamUrls = streamurls
11624
+ @StreamSelector = streamselector
11581
11625
  end
11582
11626
 
11583
11627
  def deserialize(params)
@@ -11640,6 +11684,10 @@ module TencentCloud
11640
11684
  @StreamUrls << streamurldetail_tmp
11641
11685
  end
11642
11686
  end
11687
+ unless params['StreamSelector'].nil?
11688
+ @StreamSelector = StreamSelector.new
11689
+ @StreamSelector.deserialize(params['StreamSelector'])
11690
+ end
11643
11691
  end
11644
11692
  end
11645
11693
 
@@ -19831,10 +19879,15 @@ module TencentCloud
19831
19879
  # @type OutputType: String
19832
19880
  # @param PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
19833
19881
  # @type PidSelector: :class:`Tencentcloud::Mps.v20190612.models.PidSelector`
19882
+ # @param StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
19883
+ # @type StreamSelector: :class:`Tencentcloud::Mps.v20190612.models.StreamSelector`
19834
19884
 
19835
- attr_accessor :OutputId, :OutputName, :Description, :Protocol, :OutputKind, :SRTSettings, :RTPSettings, :RTMPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :OutputType, :PidSelector
19885
+ attr_accessor :OutputId, :OutputName, :Description, :Protocol, :OutputKind, :SRTSettings, :RTPSettings, :RTMPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :OutputType, :PidSelector, :StreamSelector
19886
+ extend Gem::Deprecate
19887
+ deprecate :PidSelector, :none, 2025, 10
19888
+ deprecate :PidSelector=, :none, 2025, 10
19836
19889
 
19837
- def initialize(outputid=nil, outputname=nil, description=nil, protocol=nil, outputkind=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, outputtype=nil, pidselector=nil)
19890
+ def initialize(outputid=nil, outputname=nil, description=nil, protocol=nil, outputkind=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, outputtype=nil, pidselector=nil, streamselector=nil)
19838
19891
  @OutputId = outputid
19839
19892
  @OutputName = outputname
19840
19893
  @Description = description
@@ -19850,6 +19903,7 @@ module TencentCloud
19850
19903
  @RISTSettings = ristsettings
19851
19904
  @OutputType = outputtype
19852
19905
  @PidSelector = pidselector
19906
+ @StreamSelector = streamselector
19853
19907
  end
19854
19908
 
19855
19909
  def deserialize(params)
@@ -19883,6 +19937,10 @@ module TencentCloud
19883
19937
  @PidSelector = PidSelector.new
19884
19938
  @PidSelector.deserialize(params['PidSelector'])
19885
19939
  end
19940
+ unless params['StreamSelector'].nil?
19941
+ @StreamSelector = StreamSelector.new
19942
+ @StreamSelector.deserialize(params['StreamSelector'])
19943
+ end
19886
19944
  end
19887
19945
  end
19888
19946
 
@@ -25595,6 +25653,36 @@ module TencentCloud
25595
25653
  end
25596
25654
  end
25597
25655
 
25656
+ # 选择指定的音轨或者视频输出
25657
+ class StreamSelector < TencentCloud::Common::AbstractModel
25658
+ # @param SelectorType: 选择类型: PID | TRACK
25659
+ # @type SelectorType: String
25660
+ # @param PidSelector: 根据 PID 配置选择器
25661
+ # @type PidSelector: :class:`Tencentcloud::Mps.v20190612.models.PidSelector`
25662
+ # @param TrackSelector: 根据 Track 配置选择器
25663
+ # @type TrackSelector: :class:`Tencentcloud::Mps.v20190612.models.TrackSelector`
25664
+
25665
+ attr_accessor :SelectorType, :PidSelector, :TrackSelector
25666
+
25667
+ def initialize(selectortype=nil, pidselector=nil, trackselector=nil)
25668
+ @SelectorType = selectortype
25669
+ @PidSelector = pidselector
25670
+ @TrackSelector = trackselector
25671
+ end
25672
+
25673
+ def deserialize(params)
25674
+ @SelectorType = params['SelectorType']
25675
+ unless params['PidSelector'].nil?
25676
+ @PidSelector = PidSelector.new
25677
+ @PidSelector.deserialize(params['PidSelector'])
25678
+ end
25679
+ unless params['TrackSelector'].nil?
25680
+ @TrackSelector = TrackSelector.new
25681
+ @TrackSelector.deserialize(params['TrackSelector'])
25682
+ end
25683
+ end
25684
+ end
25685
+
25598
25686
  # 描述 URL 的完整信息
25599
25687
  class StreamUrlDetail < TencentCloud::Common::AbstractModel
25600
25688
  # @param Label: 会描述运营商信息等
@@ -26461,6 +26549,26 @@ module TencentCloud
26461
26549
  end
26462
26550
  end
26463
26551
 
26552
+ # 音视频轨道选择
26553
+ class TrackSelector < TencentCloud::Common::AbstractModel
26554
+ # @param VideoIndex: 视频轨道序号,从1开始.
26555
+ # @type VideoIndex: Array
26556
+ # @param AudioIndex: 音频轨道序号,从1开始.
26557
+ # @type AudioIndex: Array
26558
+
26559
+ attr_accessor :VideoIndex, :AudioIndex
26560
+
26561
+ def initialize(videoindex=nil, audioindex=nil)
26562
+ @VideoIndex = videoindex
26563
+ @AudioIndex = audioindex
26564
+ end
26565
+
26566
+ def deserialize(params)
26567
+ @VideoIndex = params['VideoIndex']
26568
+ @AudioIndex = params['AudioIndex']
26569
+ end
26570
+ end
26571
+
26464
26572
  # 转码任务输入参数类型
26465
26573
  class TranscodeTaskInput < TencentCloud::Common::AbstractModel
26466
26574
  # @param Definition: 视频转码模板 ID。
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.1156
4
+ version: 3.0.1160
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-19 00:00:00.000000000 Z
11
+ date: 2025-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common