tencentcloud-sdk-mps 3.0.1157 → 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 +101 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c57398f3514be5e09c390f3b2bf306e0fc190587
4
- data.tar.gz: c3159741103531183938a99b7604e3686b266b59
3
+ metadata.gz: 5ae3c89b8f417c9aa6269baec0c804ce006baa52
4
+ data.tar.gz: 9d766c0191c2cee214306cae7156776a3453818f
5
5
  SHA512:
6
- metadata.gz: a12944fa751176877f4d0c20bba22e7bc6cdb9cbdfc47ab0053d946e13c61404ce5631cb25e778cc03542c89213539453c02ff03b777aec12eff6832ee8abd2d
7
- data.tar.gz: ae29b662788fa0b6b95e33909e24c2e9f91fd932bf45509d4702722adebee55866c2a69984f2b20405cfd1a3cac0ec5474953ab55dad2b3fcfa15a6f97855397
6
+ metadata.gz: 404a23497a42d15ea4dcdbec9b3b6f573fc0e9026430105228d44d5df5c35f9e76dfdddeeefbc472339a43e7d52e0631583cf20e0272daf68c5fa4d272e9af22
7
+ data.tar.gz: 3e162854d0e26e3fc301bcae803aed0af47ad1a8e7ecdac500da9872ef57f048c50a00fdf41a9cf5aefebb97962c612c31d32ea70fc1f5cb7581625c4760e72a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1157
1
+ 3.0.1160
@@ -7884,12 +7884,17 @@ module TencentCloud
7884
7884
  # @type Zones: Array
7885
7885
  # @param RISTSettings: 输出的RIST的配置。
7886
7886
  # @type RISTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputRistSettings`
7887
- # @param PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
7887
+ # @param PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
7888
7888
  # @type PidSelector: :class:`Tencentcloud::Mps.v20190612.models.PidSelector`
7889
+ # @param StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
7890
+ # @type StreamSelector: :class:`Tencentcloud::Mps.v20190612.models.StreamSelector`
7889
7891
 
7890
- 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
7891
7896
 
7892
- 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)
7893
7898
  @OutputName = outputname
7894
7899
  @Description = description
7895
7900
  @Protocol = protocol
@@ -7905,6 +7910,7 @@ module TencentCloud
7905
7910
  @Zones = zones
7906
7911
  @RISTSettings = ristsettings
7907
7912
  @PidSelector = pidselector
7913
+ @StreamSelector = streamselector
7908
7914
  end
7909
7915
 
7910
7916
  def deserialize(params)
@@ -7938,6 +7944,10 @@ module TencentCloud
7938
7944
  @PidSelector = PidSelector.new
7939
7945
  @PidSelector.deserialize(params['PidSelector'])
7940
7946
  end
7947
+ unless params['StreamSelector'].nil?
7948
+ @StreamSelector = StreamSelector.new
7949
+ @StreamSelector.deserialize(params['StreamSelector'])
7950
+ end
7941
7951
  end
7942
7952
  end
7943
7953
 
@@ -11023,7 +11033,6 @@ module TencentCloud
11023
11033
  class DescribeImageTaskDetailResponse < TencentCloud::Common::AbstractModel
11024
11034
  # @param TaskType: 任务类型,目前取值有:
11025
11035
  # <li>WorkflowTask:工作流处理任务。</li>
11026
-
11027
11036
  # 注意:此字段可能返回 null,表示取不到有效值。
11028
11037
  # @type TaskType: String
11029
11038
  # @param Status: 任务状态,取值:
@@ -11032,6 +11041,12 @@ module TencentCloud
11032
11041
  # <li>FINISH:已完成。</li>
11033
11042
  # 注意:此字段可能返回 null,表示取不到有效值。
11034
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
11035
11050
  # @param ImageProcessTaskResultSet: 图片处理任务的执行状态与结果。
11036
11051
  # 注意:此字段可能返回 null,表示取不到有效值。
11037
11052
  # @type ImageProcessTaskResultSet: Array
@@ -11044,11 +11059,14 @@ module TencentCloud
11044
11059
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11045
11060
  # @type RequestId: String
11046
11061
 
11047
- attr_accessor :TaskType, :Status, :ImageProcessTaskResultSet, :CreateTime, :FinishTime, :RequestId
11062
+ attr_accessor :TaskType, :Status, :ErrCode, :ErrMsg, :Message, :ImageProcessTaskResultSet, :CreateTime, :FinishTime, :RequestId
11048
11063
 
11049
- 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)
11050
11065
  @TaskType = tasktype
11051
11066
  @Status = status
11067
+ @ErrCode = errcode
11068
+ @ErrMsg = errmsg
11069
+ @Message = message
11052
11070
  @ImageProcessTaskResultSet = imageprocesstaskresultset
11053
11071
  @CreateTime = createtime
11054
11072
  @FinishTime = finishtime
@@ -11058,6 +11076,9 @@ module TencentCloud
11058
11076
  def deserialize(params)
11059
11077
  @TaskType = params['TaskType']
11060
11078
  @Status = params['Status']
11079
+ @ErrCode = params['ErrCode']
11080
+ @ErrMsg = params['ErrMsg']
11081
+ @Message = params['Message']
11061
11082
  unless params['ImageProcessTaskResultSet'].nil?
11062
11083
  @ImageProcessTaskResultSet = []
11063
11084
  params['ImageProcessTaskResultSet'].each do |i|
@@ -11570,10 +11591,15 @@ module TencentCloud
11570
11591
  # @type PidSelector: :class:`Tencentcloud::Mps.v20190612.models.PidSelector`
11571
11592
  # @param StreamUrls: 输出模块配置,相关的URL,包括提供的拉流地址,或者配置的输出到第三方的转推地址
11572
11593
  # @type StreamUrls: Array
11594
+ # @param StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
11595
+ # @type StreamSelector: :class:`Tencentcloud::Mps.v20190612.models.StreamSelector`
11573
11596
 
11574
- 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
11575
11601
 
11576
- 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)
11577
11603
  @OutputId = outputid
11578
11604
  @OutputName = outputname
11579
11605
  @OutputType = outputtype
@@ -11595,6 +11621,7 @@ module TencentCloud
11595
11621
  @RISTSettings = ristsettings
11596
11622
  @PidSelector = pidselector
11597
11623
  @StreamUrls = streamurls
11624
+ @StreamSelector = streamselector
11598
11625
  end
11599
11626
 
11600
11627
  def deserialize(params)
@@ -11657,6 +11684,10 @@ module TencentCloud
11657
11684
  @StreamUrls << streamurldetail_tmp
11658
11685
  end
11659
11686
  end
11687
+ unless params['StreamSelector'].nil?
11688
+ @StreamSelector = StreamSelector.new
11689
+ @StreamSelector.deserialize(params['StreamSelector'])
11690
+ end
11660
11691
  end
11661
11692
  end
11662
11693
 
@@ -19848,10 +19879,15 @@ module TencentCloud
19848
19879
  # @type OutputType: String
19849
19880
  # @param PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
19850
19881
  # @type PidSelector: :class:`Tencentcloud::Mps.v20190612.models.PidSelector`
19882
+ # @param StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
19883
+ # @type StreamSelector: :class:`Tencentcloud::Mps.v20190612.models.StreamSelector`
19851
19884
 
19852
- 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
19853
19889
 
19854
- 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)
19855
19891
  @OutputId = outputid
19856
19892
  @OutputName = outputname
19857
19893
  @Description = description
@@ -19867,6 +19903,7 @@ module TencentCloud
19867
19903
  @RISTSettings = ristsettings
19868
19904
  @OutputType = outputtype
19869
19905
  @PidSelector = pidselector
19906
+ @StreamSelector = streamselector
19870
19907
  end
19871
19908
 
19872
19909
  def deserialize(params)
@@ -19900,6 +19937,10 @@ module TencentCloud
19900
19937
  @PidSelector = PidSelector.new
19901
19938
  @PidSelector.deserialize(params['PidSelector'])
19902
19939
  end
19940
+ unless params['StreamSelector'].nil?
19941
+ @StreamSelector = StreamSelector.new
19942
+ @StreamSelector.deserialize(params['StreamSelector'])
19943
+ end
19903
19944
  end
19904
19945
  end
19905
19946
 
@@ -25612,6 +25653,36 @@ module TencentCloud
25612
25653
  end
25613
25654
  end
25614
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
+
25615
25686
  # 描述 URL 的完整信息
25616
25687
  class StreamUrlDetail < TencentCloud::Common::AbstractModel
25617
25688
  # @param Label: 会描述运营商信息等
@@ -26478,6 +26549,26 @@ module TencentCloud
26478
26549
  end
26479
26550
  end
26480
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
+
26481
26572
  # 转码任务输入参数类型
26482
26573
  class TranscodeTaskInput < TencentCloud::Common::AbstractModel
26483
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.1157
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-20 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