tencentcloud-sdk-mps 3.0.1078 → 3.0.1085

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 +215 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56433d2ced9b9d5a76e7c7d02ffd8df64bbfa662
4
- data.tar.gz: 79281aa31b7760c01778a76d85cc0f00c98118fb
3
+ metadata.gz: b11a0a14b49ba33502517b712a6833dcc45fd34b
4
+ data.tar.gz: 58a0e555c30e055b349138138ae55666e6e1423e
5
5
  SHA512:
6
- metadata.gz: ef5b615135e1fbab3c74c2de67ad1e0e74871a6b4d61141117757012a777f835f5d352f2b0ad36b4e1e7d9fd0e4952c5bbbee3f1400cab73687c9da60dbb996f
7
- data.tar.gz: 94a1e755ee42d601782e2957b4a43bf77bac9d51d1066c855fe3d01f637ee270b6e0c7ebf4020a5e1daa43dcebb95bc765a5188bbbaf2d43298322cd67e5afc3
6
+ metadata.gz: e685b7058a343bf62901bda90fd45f59d4e62fd86dccb55b6889ff9ef7abc841186dd3d01819a0b7ad85327a82f85d832e74a7c12ea1f7641be2ede8e9371a5a
7
+ data.tar.gz: 918466ae2d7d19525e0aaa2b5f17b86a80a0e3479e7e6baf32f086a745313d319ea7c5086f8c4548ef8d943f0fff7bd7ba7589402eedbd75a8805ccae2eae571
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1078
1
+ 3.0.1085
@@ -717,6 +717,34 @@ module TencentCloud
717
717
  end
718
718
  end
719
719
 
720
+ # 增加盲水印配置
721
+ class AddBlindWatermarkConfig < TencentCloud::Common::AbstractModel
722
+ # @param Switch: 能力配置开关,可选值:
723
+ # <li>ON:开启;</li>
724
+ # <li>OFF:关闭。</li>
725
+ # 默认值:ON。
726
+ # 注意:此字段可能返回 null,表示取不到有效值。
727
+ # @type Switch: String
728
+ # @param EmbedInfo: 盲水印嵌入数据
729
+ # 注意:此字段可能返回 null,表示取不到有效值。
730
+ # @type EmbedInfo: :class:`Tencentcloud::Mps.v20190612.models.BlindWatermarkEmbedInfo`
731
+
732
+ attr_accessor :Switch, :EmbedInfo
733
+
734
+ def initialize(switch=nil, embedinfo=nil)
735
+ @Switch = switch
736
+ @EmbedInfo = embedinfo
737
+ end
738
+
739
+ def deserialize(params)
740
+ @Switch = params['Switch']
741
+ unless params['EmbedInfo'].nil?
742
+ @EmbedInfo = BlindWatermarkEmbedInfo.new
743
+ @EmbedInfo.deserialize(params['EmbedInfo'])
744
+ end
745
+ end
746
+ end
747
+
720
748
  # 外挂字幕。
721
749
  class AddOnSubtitle < TencentCloud::Common::AbstractModel
722
750
  # @param Type: 插入形式,可选值:
@@ -5182,6 +5210,59 @@ module TencentCloud
5182
5210
  end
5183
5211
  end
5184
5212
 
5213
+ # 盲水印配置
5214
+ class BlindWatermarkConfig < TencentCloud::Common::AbstractModel
5215
+ # @param AddBlindWatermark: 增加盲水印
5216
+ # 注意:此字段可能返回 null,表示取不到有效值。
5217
+ # @type AddBlindWatermark: :class:`Tencentcloud::Mps.v20190612.models.AddBlindWatermarkConfig`
5218
+ # @param ExtractBlindWatermark: 提取盲水印
5219
+ # 注意:此字段可能返回 null,表示取不到有效值。
5220
+ # @type ExtractBlindWatermark: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkConfig`
5221
+ # @param RemoveBlindWatermark: 移除盲水印
5222
+ # 注意:此字段可能返回 null,表示取不到有效值。
5223
+ # @type RemoveBlindWatermark: :class:`Tencentcloud::Mps.v20190612.models.RemoveBlindWatermarkConfig`
5224
+
5225
+ attr_accessor :AddBlindWatermark, :ExtractBlindWatermark, :RemoveBlindWatermark
5226
+
5227
+ def initialize(addblindwatermark=nil, extractblindwatermark=nil, removeblindwatermark=nil)
5228
+ @AddBlindWatermark = addblindwatermark
5229
+ @ExtractBlindWatermark = extractblindwatermark
5230
+ @RemoveBlindWatermark = removeblindwatermark
5231
+ end
5232
+
5233
+ def deserialize(params)
5234
+ unless params['AddBlindWatermark'].nil?
5235
+ @AddBlindWatermark = AddBlindWatermarkConfig.new
5236
+ @AddBlindWatermark.deserialize(params['AddBlindWatermark'])
5237
+ end
5238
+ unless params['ExtractBlindWatermark'].nil?
5239
+ @ExtractBlindWatermark = ExtractBlindWatermarkConfig.new
5240
+ @ExtractBlindWatermark.deserialize(params['ExtractBlindWatermark'])
5241
+ end
5242
+ unless params['RemoveBlindWatermark'].nil?
5243
+ @RemoveBlindWatermark = RemoveBlindWatermarkConfig.new
5244
+ @RemoveBlindWatermark.deserialize(params['RemoveBlindWatermark'])
5245
+ end
5246
+ end
5247
+ end
5248
+
5249
+ # 嵌入盲水印配置
5250
+ class BlindWatermarkEmbedInfo < TencentCloud::Common::AbstractModel
5251
+ # @param EmbedText: 盲水印文字,经过URL安全的Base64编码的4Byte数据。Base64解码之后,少于4Byte将会填充0x00到4Byte,超过4Byte将会截断为4Byte。
5252
+ # 注意:此字段可能返回 null,表示取不到有效值。
5253
+ # @type EmbedText: String
5254
+
5255
+ attr_accessor :EmbedText
5256
+
5257
+ def initialize(embedtext=nil)
5258
+ @EmbedText = embedtext
5259
+ end
5260
+
5261
+ def deserialize(params)
5262
+ @EmbedText = params['EmbedText']
5263
+ end
5264
+ end
5265
+
5185
5266
  # 智能分类任务控制参数
5186
5267
  class ClassificationConfigureInfo < TencentCloud::Common::AbstractModel
5187
5268
  # @param Switch: 智能分类任务开关,可选值:
@@ -7133,10 +7214,12 @@ module TencentCloud
7133
7214
  # @type PbKeyLen: Integer
7134
7215
  # @param SourceAddresses: SRT对端地址,当Mode为CALLER时必填,且只能填1组。
7135
7216
  # @type SourceAddresses: Array
7217
+ # @param FEC: SRT FEC 设置
7218
+ # @type FEC: :class:`Tencentcloud::Mps.v20190612.models.SRTFECSimpleOptions`
7136
7219
 
7137
- attr_accessor :Mode, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :SourceAddresses
7220
+ attr_accessor :Mode, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :SourceAddresses, :FEC
7138
7221
 
7139
- def initialize(mode=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, sourceaddresses=nil)
7222
+ def initialize(mode=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, sourceaddresses=nil, fec=nil)
7140
7223
  @Mode = mode
7141
7224
  @StreamId = streamid
7142
7225
  @Latency = latency
@@ -7146,6 +7229,7 @@ module TencentCloud
7146
7229
  @Passphrase = passphrase
7147
7230
  @PbKeyLen = pbkeylen
7148
7231
  @SourceAddresses = sourceaddresses
7232
+ @FEC = fec
7149
7233
  end
7150
7234
 
7151
7235
  def deserialize(params)
@@ -7165,6 +7249,10 @@ module TencentCloud
7165
7249
  @SourceAddresses << srtsourceaddressreq_tmp
7166
7250
  end
7167
7251
  end
7252
+ unless params['FEC'].nil?
7253
+ @FEC = SRTFECSimpleOptions.new
7254
+ @FEC.deserialize(params['FEC'])
7255
+ end
7168
7256
  end
7169
7257
  end
7170
7258
 
@@ -7452,10 +7540,12 @@ module TencentCloud
7452
7540
  # @type PbKeyLen: Integer
7453
7541
  # @param Mode: SRT模式,可选[LISTENER|CALLER],默认为CALLER。
7454
7542
  # @type Mode: String
7543
+ # @param FEC: SRT FEC 设置
7544
+ # @type FEC: :class:`Tencentcloud::Mps.v20190612.models.SRTFECFullOptions`
7455
7545
 
7456
- attr_accessor :Destinations, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :Mode
7546
+ attr_accessor :Destinations, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :Mode, :FEC
7457
7547
 
7458
- def initialize(destinations=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, mode=nil)
7548
+ def initialize(destinations=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, mode=nil, fec=nil)
7459
7549
  @Destinations = destinations
7460
7550
  @StreamId = streamid
7461
7551
  @Latency = latency
@@ -7465,6 +7555,7 @@ module TencentCloud
7465
7555
  @Passphrase = passphrase
7466
7556
  @PbKeyLen = pbkeylen
7467
7557
  @Mode = mode
7558
+ @FEC = fec
7468
7559
  end
7469
7560
 
7470
7561
  def deserialize(params)
@@ -7484,6 +7575,10 @@ module TencentCloud
7484
7575
  @Passphrase = params['Passphrase']
7485
7576
  @PbKeyLen = params['PbKeyLen']
7486
7577
  @Mode = params['Mode']
7578
+ unless params['FEC'].nil?
7579
+ @FEC = SRTFECFullOptions.new
7580
+ @FEC.deserialize(params['FEC'])
7581
+ end
7487
7582
  end
7488
7583
  end
7489
7584
 
@@ -10624,10 +10719,12 @@ module TencentCloud
10624
10719
  # @param SourceAddresses: SRT对端地址。
10625
10720
  # 注意:此字段可能返回 null,表示取不到有效值。
10626
10721
  # @type SourceAddresses: Array
10722
+ # @param FEC: FEC 设置
10723
+ # @type FEC: :class:`Tencentcloud::Mps.v20190612.models.SRTFECSimpleOptions`
10627
10724
 
10628
- attr_accessor :Mode, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :SourceAddresses
10725
+ attr_accessor :Mode, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :SourceAddresses, :FEC
10629
10726
 
10630
- def initialize(mode=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, sourceaddresses=nil)
10727
+ def initialize(mode=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, sourceaddresses=nil, fec=nil)
10631
10728
  @Mode = mode
10632
10729
  @StreamId = streamid
10633
10730
  @Latency = latency
@@ -10637,6 +10734,7 @@ module TencentCloud
10637
10734
  @Passphrase = passphrase
10638
10735
  @PbKeyLen = pbkeylen
10639
10736
  @SourceAddresses = sourceaddresses
10737
+ @FEC = fec
10640
10738
  end
10641
10739
 
10642
10740
  def deserialize(params)
@@ -10656,6 +10754,10 @@ module TencentCloud
10656
10754
  @SourceAddresses << srtsourceaddressresp_tmp
10657
10755
  end
10658
10756
  end
10757
+ unless params['FEC'].nil?
10758
+ @FEC = SRTFECSimpleOptions.new
10759
+ @FEC.deserialize(params['FEC'])
10760
+ end
10659
10761
  end
10660
10762
  end
10661
10763
 
@@ -11172,10 +11274,12 @@ module TencentCloud
11172
11274
  # @param SourceAddresses: 服务器监听地址,SRT模式为LISTENER时使用。
11173
11275
  # 注意:此字段可能返回 null,表示取不到有效值。
11174
11276
  # @type SourceAddresses: Array
11277
+ # @param FEC: FEC 配置
11278
+ # @type FEC: :class:`Tencentcloud::Mps.v20190612.models.SRTFECFullOptions`
11175
11279
 
11176
- attr_accessor :Destinations, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :Mode, :SourceAddresses
11280
+ attr_accessor :Destinations, :StreamId, :Latency, :RecvLatency, :PeerLatency, :PeerIdleTimeout, :Passphrase, :PbKeyLen, :Mode, :SourceAddresses, :FEC
11177
11281
 
11178
- def initialize(destinations=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, mode=nil, sourceaddresses=nil)
11282
+ def initialize(destinations=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, mode=nil, sourceaddresses=nil, fec=nil)
11179
11283
  @Destinations = destinations
11180
11284
  @StreamId = streamid
11181
11285
  @Latency = latency
@@ -11186,6 +11290,7 @@ module TencentCloud
11186
11290
  @PbKeyLen = pbkeylen
11187
11291
  @Mode = mode
11188
11292
  @SourceAddresses = sourceaddresses
11293
+ @FEC = fec
11189
11294
  end
11190
11295
 
11191
11296
  def deserialize(params)
@@ -11213,6 +11318,10 @@ module TencentCloud
11213
11318
  @SourceAddresses << outputsrtsourceaddressresp_tmp
11214
11319
  end
11215
11320
  end
11321
+ unless params['FEC'].nil?
11322
+ @FEC = SRTFECFullOptions.new
11323
+ @FEC.deserialize(params['FEC'])
11324
+ end
11216
11325
  end
11217
11326
  end
11218
11327
 
@@ -13623,6 +13732,26 @@ module TencentCloud
13623
13732
  end
13624
13733
  end
13625
13734
 
13735
+ # 提取盲水印配置
13736
+ class ExtractBlindWatermarkConfig < TencentCloud::Common::AbstractModel
13737
+ # @param Switch: 能力配置开关,可选值:
13738
+ # <li>ON:开启;</li>
13739
+ # <li>OFF:关闭。</li>
13740
+ # 默认值:ON。
13741
+ # 注意:此字段可能返回 null,表示取不到有效值。
13742
+ # @type Switch: String
13743
+
13744
+ attr_accessor :Switch
13745
+
13746
+ def initialize(switch=nil)
13747
+ @Switch = switch
13748
+ end
13749
+
13750
+ def deserialize(params)
13751
+ @Switch = params['Switch']
13752
+ end
13753
+ end
13754
+
13626
13755
  # 人脸识别任务控制参数
13627
13756
  class FaceConfigureInfo < TencentCloud::Common::AbstractModel
13628
13757
  # @param Switch: 人脸识别任务开关,可选值:
@@ -14947,13 +15076,17 @@ module TencentCloud
14947
15076
  # @param EraseConfig: 图片擦除配置。
14948
15077
  # 注意:此字段可能返回 null,表示取不到有效值。
14949
15078
  # @type EraseConfig: :class:`Tencentcloud::Mps.v20190612.models.ImageEraseConfig`
15079
+ # @param BlindWatermarkConfig: 盲水印配置。
15080
+ # 注意:此字段可能返回 null,表示取不到有效值。
15081
+ # @type BlindWatermarkConfig: :class:`Tencentcloud::Mps.v20190612.models.BlindWatermarkConfig`
14950
15082
 
14951
- attr_accessor :EncodeConfig, :EnhanceConfig, :EraseConfig
15083
+ attr_accessor :EncodeConfig, :EnhanceConfig, :EraseConfig, :BlindWatermarkConfig
14952
15084
 
14953
- def initialize(encodeconfig=nil, enhanceconfig=nil, eraseconfig=nil)
15085
+ def initialize(encodeconfig=nil, enhanceconfig=nil, eraseconfig=nil, blindwatermarkconfig=nil)
14954
15086
  @EncodeConfig = encodeconfig
14955
15087
  @EnhanceConfig = enhanceconfig
14956
15088
  @EraseConfig = eraseconfig
15089
+ @BlindWatermarkConfig = blindwatermarkconfig
14957
15090
  end
14958
15091
 
14959
15092
  def deserialize(params)
@@ -14969,6 +15102,10 @@ module TencentCloud
14969
15102
  @EraseConfig = ImageEraseConfig.new
14970
15103
  @EraseConfig.deserialize(params['EraseConfig'])
14971
15104
  end
15105
+ unless params['BlindWatermarkConfig'].nil?
15106
+ @BlindWatermarkConfig = BlindWatermarkConfig.new
15107
+ @BlindWatermarkConfig.deserialize(params['BlindWatermarkConfig'])
15108
+ end
14972
15109
  end
14973
15110
  end
14974
15111
 
@@ -21680,6 +21817,26 @@ module TencentCloud
21680
21817
  end
21681
21818
  end
21682
21819
 
21820
+ # 移除盲水印配置
21821
+ class RemoveBlindWatermarkConfig < TencentCloud::Common::AbstractModel
21822
+ # @param Switch: 能力配置开关,可选值:
21823
+ # <li>ON:开启;</li>
21824
+ # <li>OFF:关闭。</li>
21825
+ # 默认值:ON。
21826
+ # 注意:此字段可能返回 null,表示取不到有效值。
21827
+ # @type Switch: String
21828
+
21829
+ attr_accessor :Switch
21830
+
21831
+ def initialize(switch=nil)
21832
+ @Switch = switch
21833
+ end
21834
+
21835
+ def deserialize(params)
21836
+ @Switch = params['Switch']
21837
+ end
21838
+ end
21839
+
21683
21840
  # ResetWorkflow请求参数结构体
21684
21841
  class ResetWorkflowRequest < TencentCloud::Common::AbstractModel
21685
21842
  # @param WorkflowId: 工作流 ID。
@@ -21888,6 +22045,54 @@ module TencentCloud
21888
22045
  end
21889
22046
  end
21890
22047
 
22048
+ # SRT FEC 高级配置
22049
+ class SRTFECFullOptions < TencentCloud::Common::AbstractModel
22050
+ # @param Enable: 是否开启 FEC
22051
+ # @type Enable: Boolean
22052
+ # @param Cols: FEC 数据包 Layout 列数量. 取值范围>0
22053
+ # @type Cols: Integer
22054
+ # @param Rows: FEC 数据包 Layout 行数量. 取值范围 >=2 或者 <=-2
22055
+ # @type Rows: Integer
22056
+ # @param ARQ: FEC 开启的情况下,ARQ的策略。取值 "always", "onreq", "never"
22057
+ # @type ARQ: String
22058
+ # @param Layout: FEC 数据包 Layout 组织形式,取值 "even", "staircase"
22059
+ # @type Layout: String
22060
+
22061
+ attr_accessor :Enable, :Cols, :Rows, :ARQ, :Layout
22062
+
22063
+ def initialize(enable=nil, cols=nil, rows=nil, arq=nil, layout=nil)
22064
+ @Enable = enable
22065
+ @Cols = cols
22066
+ @Rows = rows
22067
+ @ARQ = arq
22068
+ @Layout = layout
22069
+ end
22070
+
22071
+ def deserialize(params)
22072
+ @Enable = params['Enable']
22073
+ @Cols = params['Cols']
22074
+ @Rows = params['Rows']
22075
+ @ARQ = params['ARQ']
22076
+ @Layout = params['Layout']
22077
+ end
22078
+ end
22079
+
22080
+ # SRT FEC 设置
22081
+ class SRTFECSimpleOptions < TencentCloud::Common::AbstractModel
22082
+ # @param Enable: 是否开启 FEC
22083
+ # @type Enable: Boolean
22084
+
22085
+ attr_accessor :Enable
22086
+
22087
+ def initialize(enable=nil)
22088
+ @Enable = enable
22089
+ end
22090
+
22091
+ def deserialize(params)
22092
+ @Enable = params['Enable']
22093
+ end
22094
+ end
22095
+
21891
22096
  # SRT输入源地址。
21892
22097
  class SRTSourceAddressReq < TencentCloud::Common::AbstractModel
21893
22098
  # @param Ip: 对端IP或域名。
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.1078
4
+ version: 3.0.1085
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-06-11 00:00:00.000000000 Z
11
+ date: 2025-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common