tencentcloud-sdk-vod 1.0.249 → 1.0.250

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 +36 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 514dbcae52cbffdfa0456d6ec1065c40d4c8fc92
4
- data.tar.gz: 11a1ba54bd1437a956abcb337ab8c037f38c67df
3
+ metadata.gz: 80d3f847d6b46dc0bcf4837fe68ca5d68eb742ad
4
+ data.tar.gz: 77337725803b25ff6fcc377800c65f083f8324a2
5
5
  SHA512:
6
- metadata.gz: 38252d75b0fe469d53092c8c77f22a7ac857e99324113387bcf3dc75e61fa159850bbf74e4d7d73a280dc4f51c6749ec8e9ff8e2bb184d9c04abf038e49d02c7
7
- data.tar.gz: 9cedd3ffcaf0fd86118e4d95b4dfa18d16d3c55f23d8843e601ead4f9da4c84340339dac1fdbd960ccb5a6ab538187c1fd0c8eedb2b390171687b579aac0decc
6
+ metadata.gz: 10930624d5468db978dd9b62ee3ba6c4925841a199e15b5107ef9c462352ca557c6258f3996f7f17146b083e4a33814d67e100d1405fe5687cb8a8736c1d6bcc
7
+ data.tar.gz: e7df9bc98f4dd1b94d253d712619ab43b5524b9a4d0b30940097fc2a01b28b06b9a5ad20f60f951bd1a471fc823c5b5140af4b098d78a4442d7cfe9102fc933a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.249
1
+ 1.0.250
@@ -5888,15 +5888,30 @@ module TencentCloud
5888
5888
  class CreateSuperPlayerConfigRequest < TencentCloud::Common::AbstractModel
5889
5889
  # @param Name: 播放器配置名称,长度限制:64 个字符。只允许出现 [0-9a-zA-Z] 及 _- 字符(如 test_ABC-123),同一个用户该名称唯一。
5890
5890
  # @type Name: String
5891
+ # @param AudioVideoType: 播放的音视频类型,可选值:
5892
+ # <li>AdaptiveDynamicStream:自适应码流输出;</li>
5893
+ # <li>Transcode:转码输出;</li>
5894
+ # <li>Original:原始音视频。</li>
5895
+ # 默认为 AdaptiveDynamicStream。
5896
+ # @type AudioVideoType: String
5891
5897
  # @param DrmSwitch: 播放 DRM 保护的自适应码流开关:
5892
5898
  # <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li>
5893
5899
  # <li>OFF:关闭,表示播放未加密的自适应码流输出。</li>
5894
5900
  # 默认为 OFF。
5901
+ # 当 AudioVideoType 为 AdaptiveDynamicStream 时,此参数有效。
5895
5902
  # @type DrmSwitch: String
5896
- # @param AdaptiveDynamicStreamingDefinition: 允许输出的未加密的自适应码流模板 ID,当 DrmSwitch 为 OFF 时必填。
5903
+ # @param AdaptiveDynamicStreamingDefinition: 允许输出的未加密的自适应码流模板 ID
5904
+
5905
+ # 当 AudioVideoType 为 AdaptiveDynamicStream 并且 DrmSwitch 为 OFF 时,此参数为必填。
5897
5906
  # @type AdaptiveDynamicStreamingDefinition: Integer
5898
- # @param DrmStreamingsInfo: 允许输出的 DRM 自适应码流模板内容,当 DrmSwitch 为 ON 时必填。
5907
+ # @param DrmStreamingsInfo: 允许输出的 DRM 自适应码流模板内容。
5908
+
5909
+ # 当 AudioVideoType 为 AdaptiveDynamicStream 并且 DrmSwitch 为 ON 时,此参数为必填。
5899
5910
  # @type DrmStreamingsInfo: :class:`Tencentcloud::Vod.v20180717.models.DrmStreamingsInfo`
5911
+ # @param TranscodeDefinition: 允许输出的转码模板 ID。
5912
+
5913
+ # 当 AudioVideoType 为 Transcode 时必填。
5914
+ # @type TranscodeDefinition: Integer
5900
5915
  # @param ImageSpriteDefinition: 允许输出的雪碧图模板 ID。
5901
5916
  # @type ImageSpriteDefinition: Integer
5902
5917
  # @param ResolutionNames: 播放器对不于不同分辨率的子流展示名字,不填或者填空数组则使用默认配置:
@@ -5919,13 +5934,15 @@ module TencentCloud
5919
5934
  # @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
5920
5935
  # @type SubAppId: Integer
5921
5936
 
5922
- attr_accessor :Name, :DrmSwitch, :AdaptiveDynamicStreamingDefinition, :DrmStreamingsInfo, :ImageSpriteDefinition, :ResolutionNames, :Domain, :Scheme, :Comment, :SubAppId
5937
+ attr_accessor :Name, :AudioVideoType, :DrmSwitch, :AdaptiveDynamicStreamingDefinition, :DrmStreamingsInfo, :TranscodeDefinition, :ImageSpriteDefinition, :ResolutionNames, :Domain, :Scheme, :Comment, :SubAppId
5923
5938
 
5924
- def initialize(name=nil, drmswitch=nil, adaptivedynamicstreamingdefinition=nil, drmstreamingsinfo=nil, imagespritedefinition=nil, resolutionnames=nil, domain=nil, scheme=nil, comment=nil, subappid=nil)
5939
+ def initialize(name=nil, audiovideotype=nil, drmswitch=nil, adaptivedynamicstreamingdefinition=nil, drmstreamingsinfo=nil, transcodedefinition=nil, imagespritedefinition=nil, resolutionnames=nil, domain=nil, scheme=nil, comment=nil, subappid=nil)
5925
5940
  @Name = name
5941
+ @AudioVideoType = audiovideotype
5926
5942
  @DrmSwitch = drmswitch
5927
5943
  @AdaptiveDynamicStreamingDefinition = adaptivedynamicstreamingdefinition
5928
5944
  @DrmStreamingsInfo = drmstreamingsinfo
5945
+ @TranscodeDefinition = transcodedefinition
5929
5946
  @ImageSpriteDefinition = imagespritedefinition
5930
5947
  @ResolutionNames = resolutionnames
5931
5948
  @Domain = domain
@@ -5936,12 +5953,14 @@ module TencentCloud
5936
5953
 
5937
5954
  def deserialize(params)
5938
5955
  @Name = params['Name']
5956
+ @AudioVideoType = params['AudioVideoType']
5939
5957
  @DrmSwitch = params['DrmSwitch']
5940
5958
  @AdaptiveDynamicStreamingDefinition = params['AdaptiveDynamicStreamingDefinition']
5941
5959
  unless params['DrmStreamingsInfo'].nil?
5942
5960
  @DrmStreamingsInfo = DrmStreamingsInfo.new
5943
5961
  @DrmStreamingsInfo.deserialize(params['DrmStreamingsInfo'])
5944
5962
  end
5963
+ @TranscodeDefinition = params['TranscodeDefinition']
5945
5964
  @ImageSpriteDefinition = params['ImageSpriteDefinition']
5946
5965
  unless params['ResolutionNames'].nil?
5947
5966
  @ResolutionNames = []
@@ -14168,6 +14187,11 @@ module TencentCloud
14168
14187
  class ModifySuperPlayerConfigRequest < TencentCloud::Common::AbstractModel
14169
14188
  # @param Name: 播放器配置名称。
14170
14189
  # @type Name: String
14190
+ # @param AudioVideoType: 播放的音视频类型,可选值:
14191
+ # <li>AdaptiveDynamicStream:自适应码流输出;</li>
14192
+ # <li>Transcode:转码输出;</li>
14193
+ # <li>Original:原始音视频。</li>
14194
+ # @type AudioVideoType: String
14171
14195
  # @param DrmSwitch: 播放 DRM 保护的自适应码流开关:
14172
14196
  # <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li>
14173
14197
  # <li>OFF:关闭,表示播放未加密的自适应码流输出。</li>
@@ -14176,6 +14200,8 @@ module TencentCloud
14176
14200
  # @type AdaptiveDynamicStreamingDefinition: Integer
14177
14201
  # @param DrmStreamingsInfo: 允许输出的 DRM 自适应码流模板内容。
14178
14202
  # @type DrmStreamingsInfo: :class:`Tencentcloud::Vod.v20180717.models.DrmStreamingsInfoForUpdate`
14203
+ # @param TranscodeDefinition: 允许输出的转码模板 ID。
14204
+ # @type TranscodeDefinition: Integer
14179
14205
  # @param ImageSpriteDefinition: 允许输出的雪碧图模板 ID。
14180
14206
  # @type ImageSpriteDefinition: Integer
14181
14207
  # @param ResolutionNames: 播放器对不于不同分辨率的子流展示名字。
@@ -14192,13 +14218,15 @@ module TencentCloud
14192
14218
  # @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
14193
14219
  # @type SubAppId: Integer
14194
14220
 
14195
- attr_accessor :Name, :DrmSwitch, :AdaptiveDynamicStreamingDefinition, :DrmStreamingsInfo, :ImageSpriteDefinition, :ResolutionNames, :Domain, :Scheme, :Comment, :SubAppId
14221
+ attr_accessor :Name, :AudioVideoType, :DrmSwitch, :AdaptiveDynamicStreamingDefinition, :DrmStreamingsInfo, :TranscodeDefinition, :ImageSpriteDefinition, :ResolutionNames, :Domain, :Scheme, :Comment, :SubAppId
14196
14222
 
14197
- def initialize(name=nil, drmswitch=nil, adaptivedynamicstreamingdefinition=nil, drmstreamingsinfo=nil, imagespritedefinition=nil, resolutionnames=nil, domain=nil, scheme=nil, comment=nil, subappid=nil)
14223
+ def initialize(name=nil, audiovideotype=nil, drmswitch=nil, adaptivedynamicstreamingdefinition=nil, drmstreamingsinfo=nil, transcodedefinition=nil, imagespritedefinition=nil, resolutionnames=nil, domain=nil, scheme=nil, comment=nil, subappid=nil)
14198
14224
  @Name = name
14225
+ @AudioVideoType = audiovideotype
14199
14226
  @DrmSwitch = drmswitch
14200
14227
  @AdaptiveDynamicStreamingDefinition = adaptivedynamicstreamingdefinition
14201
14228
  @DrmStreamingsInfo = drmstreamingsinfo
14229
+ @TranscodeDefinition = transcodedefinition
14202
14230
  @ImageSpriteDefinition = imagespritedefinition
14203
14231
  @ResolutionNames = resolutionnames
14204
14232
  @Domain = domain
@@ -14209,12 +14237,14 @@ module TencentCloud
14209
14237
 
14210
14238
  def deserialize(params)
14211
14239
  @Name = params['Name']
14240
+ @AudioVideoType = params['AudioVideoType']
14212
14241
  @DrmSwitch = params['DrmSwitch']
14213
14242
  @AdaptiveDynamicStreamingDefinition = params['AdaptiveDynamicStreamingDefinition']
14214
14243
  unless params['DrmStreamingsInfo'].nil?
14215
14244
  @DrmStreamingsInfo = DrmStreamingsInfoForUpdate.new
14216
14245
  @DrmStreamingsInfo.deserialize(params['DrmStreamingsInfo'])
14217
14246
  end
14247
+ @TranscodeDefinition = params['TranscodeDefinition']
14218
14248
  @ImageSpriteDefinition = params['ImageSpriteDefinition']
14219
14249
  unless params['ResolutionNames'].nil?
14220
14250
  @ResolutionNames = []
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: 1.0.249
4
+ version: 1.0.250
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-25 00:00:00.000000000 Z
11
+ date: 2022-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common