tencentcloud-sdk-vod 3.0.519 → 3.0.521

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180717/models.rb +49 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdaa605b6933c10ed2ad6a7d406dfc9528718207
4
- data.tar.gz: 75011a91f102059f48dc690159f950f8ffc6927a
3
+ metadata.gz: 0493f4d68078b8ebfa40b82b6ea30fb774040124
4
+ data.tar.gz: 2b2e21f8b046f61bc453b4b562cce20025201d45
5
5
  SHA512:
6
- metadata.gz: 5f272f411cb5474c7d0f936d467ffee85cf52b5fb93864fb8ad4c078820cfc202201ef648d3d3abc15596db12f16a9a0afcd48863ddf7f7529ea39ae800e5d40
7
- data.tar.gz: 84009ac5ddda5a6c323871b255bd5d10624dd274a57025b7ca375c57b2324b0cf78f47c6178517e7f47c590a9c02ceb39939777c25b896d06f335619a6aafaf4
6
+ metadata.gz: af40cb5ddd37ed52c2b3215cf1f661146e3cc1fdd9dee6a2d9dcacf3824d76f9f4f588c579dbc8d95f0aaf1ef1d4ac99f21d32703324bc1bc9cc9bf9cd93d0e5
7
+ data.tar.gz: 919fd1d4b225cc7e6f1e42409d34fc8547c6a35775cfa632a7b6ae0185705dd355d1b89872034ceca9c8a7c39bfc2db5505138915f969716a39c3e155af57c92
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.519
1
+ 3.0.521
@@ -220,7 +220,9 @@ module TencentCloud
220
220
  class AdaptiveDynamicStreamingInfoItem < TencentCloud::Common::AbstractModel
221
221
  # @param Definition: 转自适应码流规格。
222
222
  # @type Definition: Integer
223
- # @param Package: 打包格式,只能为 HLS。
223
+ # @param Package: 打包格式,取值范围:
224
+ # <li>HLS;</li>
225
+ # <li>DASH。</li>
224
226
  # @type Package: String
225
227
  # @param DrmType: 加密类型。
226
228
  # @type DrmType: String
@@ -235,16 +237,19 @@ module TencentCloud
235
237
  # <li>Trace 表示经过溯源水印处理;</li>
236
238
  # <li>None 表示没有经过数字水印处理。</li>
237
239
  # @type DigitalWatermarkType: String
240
+ # @param SubStreamSet: 子流信息列表。
241
+ # @type SubStreamSet: Array
238
242
 
239
- attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType
243
+ attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType, :SubStreamSet
240
244
 
241
- def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil)
245
+ def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil, substreamset=nil)
242
246
  @Definition = definition
243
247
  @Package = package
244
248
  @DrmType = drmtype
245
249
  @Url = url
246
250
  @Size = size
247
251
  @DigitalWatermarkType = digitalwatermarktype
252
+ @SubStreamSet = substreamset
248
253
  end
249
254
 
250
255
  def deserialize(params)
@@ -254,6 +259,14 @@ module TencentCloud
254
259
  @Url = params['Url']
255
260
  @Size = params['Size']
256
261
  @DigitalWatermarkType = params['DigitalWatermarkType']
262
+ unless params['SubStreamSet'].nil?
263
+ @SubStreamSet = []
264
+ params['SubStreamSet'].each do |i|
265
+ mediasubstreaminfoitem_tmp = MediaSubStreamInfoItem.new
266
+ mediasubstreaminfoitem_tmp.deserialize(i)
267
+ @SubStreamSet << mediasubstreaminfoitem_tmp
268
+ end
269
+ end
257
270
  end
258
271
  end
259
272
 
@@ -10133,7 +10146,8 @@ module TencentCloud
10133
10146
  # <li>RemoveWatermarkTask:智能去除水印任务;</li>
10134
10147
  # <li>DescribeFileAttributesTask:获取文件属性任务;</li>
10135
10148
  # <li>RebuildMedia:音画质重生任务;</li>
10136
- # <li>ReviewAudioVideo:音视频审核任务。</li>
10149
+ # <li>ReviewAudioVideo:音视频审核任务;</li>
10150
+ # <li>ExtractTraceWatermark:提取溯源水印任务。</li>
10137
10151
  # @type TaskType: String
10138
10152
  # @param Status: 任务状态,取值:
10139
10153
  # <li>WAITING:等待中;</li>
@@ -14612,6 +14626,37 @@ module TencentCloud
14612
14626
  end
14613
14627
  end
14614
14628
 
14629
+ # 转自适应码流子流信息。
14630
+ class MediaSubStreamInfoItem < TencentCloud::Common::AbstractModel
14631
+ # @param Type: 子流类型,取值范围:
14632
+ # <li>audio:纯音频;</li>
14633
+ # <li>video:视频(可能包含音频流)。</li>
14634
+ # @type Type: String
14635
+ # @param Width: 当子流为视频流时,视频画面宽度,单位:px。
14636
+ # @type Width: Integer
14637
+ # @param Height: 当子流为视频流时,视频画面高度,单位:px。
14638
+ # @type Height: Integer
14639
+ # @param Size: 子流媒体文件大小,单位:Byte。
14640
+ # <font color=red>注意:</font>在 2023-02-09T16:00:00Z 前处理生成的自适应码流文件此字段为0。
14641
+ # @type Size: Integer
14642
+
14643
+ attr_accessor :Type, :Width, :Height, :Size
14644
+
14645
+ def initialize(type=nil, width=nil, height=nil, size=nil)
14646
+ @Type = type
14647
+ @Width = width
14648
+ @Height = height
14649
+ @Size = size
14650
+ end
14651
+
14652
+ def deserialize(params)
14653
+ @Type = params['Type']
14654
+ @Width = params['Width']
14655
+ @Height = params['Height']
14656
+ @Size = params['Size']
14657
+ end
14658
+ end
14659
+
14615
14660
  # 字幕信息。
14616
14661
  class MediaSubtitleInfo < TencentCloud::Common::AbstractModel
14617
14662
  # @param SubtitleSet: 字幕信息列表。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.519
4
+ version: 3.0.521
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-01 00:00:00.000000000 Z
11
+ date: 2023-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common