tencentcloud-sdk-mps 3.0.1021 → 3.0.1022
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +69 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ca421935af4dbe3f24d652c5173aa21c646899e
|
4
|
+
data.tar.gz: 19de6a61c99aa625e502d2eb7374a92ad3a48839
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48df0523bf61b4690971f165afa8ba8e2e71c786bb1ff005f7322eb24737a8e6b477f2d61c5e1cc8924a5d3a1b12a10c8d4dd1e1c6ffe8e86db4052cc9338a00
|
7
|
+
data.tar.gz: c7d5ccf8de3a90ac4062f614c7ebd5504ca858b791dd196e9ba84330379696627125a348d9a48397c9cb0b9e8b2d95617707e59f10e3259b22ff09223083c4fe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1022
|
data/lib/v20190612/models.rb
CHANGED
@@ -12115,12 +12115,15 @@ module TencentCloud
|
|
12115
12115
|
# @param SimpleAesDrm: SimpleAes 加密信息。
|
12116
12116
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12117
12117
|
# @type SimpleAesDrm: :class:`Tencentcloud::Mps.v20190612.models.SimpleAesDrm`
|
12118
|
+
# @param SpekeDrm: FairPlay, WideVine, PlayReady 加密信息。
|
12119
|
+
# @type SpekeDrm: :class:`Tencentcloud::Mps.v20190612.models.SpekeDrm`
|
12118
12120
|
|
12119
|
-
attr_accessor :Type, :SimpleAesDrm
|
12121
|
+
attr_accessor :Type, :SimpleAesDrm, :SpekeDrm
|
12120
12122
|
|
12121
|
-
def initialize(type=nil, simpleaesdrm=nil)
|
12123
|
+
def initialize(type=nil, simpleaesdrm=nil, spekedrm=nil)
|
12122
12124
|
@Type = type
|
12123
12125
|
@SimpleAesDrm = simpleaesdrm
|
12126
|
+
@SpekeDrm = spekedrm
|
12124
12127
|
end
|
12125
12128
|
|
12126
12129
|
def deserialize(params)
|
@@ -12129,6 +12132,10 @@ module TencentCloud
|
|
12129
12132
|
@SimpleAesDrm = SimpleAesDrm.new
|
12130
12133
|
@SimpleAesDrm.deserialize(params['SimpleAesDrm'])
|
12131
12134
|
end
|
12135
|
+
unless params['SpekeDrm'].nil?
|
12136
|
+
@SpekeDrm = SpekeDrm.new
|
12137
|
+
@SpekeDrm.deserialize(params['SpekeDrm'])
|
12138
|
+
end
|
12132
12139
|
end
|
12133
12140
|
end
|
12134
12141
|
|
@@ -16357,10 +16364,24 @@ module TencentCloud
|
|
16357
16364
|
# @type AudioStreamSet: Array
|
16358
16365
|
# @param VideoStreamSet: 视频流信息。
|
16359
16366
|
# @type VideoStreamSet: Array
|
16360
|
-
|
16361
|
-
|
16362
|
-
|
16363
|
-
|
16367
|
+
# @param CallBackExtInfo: 视频转码使用增强项说明,增强项解释
|
16368
|
+
# <li>hdr:HDR配置</li>
|
16369
|
+
# <li>wd_fps:插帧帧率配置</li>
|
16370
|
+
# <li>video_super_resolution: 超分配置</li>
|
16371
|
+
# <li>repair:综合增强配置</li>
|
16372
|
+
# <li>denoise:视频降噪配置</li>
|
16373
|
+
# <li>color_enhance:色彩增强配置</li>
|
16374
|
+
# <li>scratch:去划痕配置</li>
|
16375
|
+
# <li>artifact:去伪影(毛刺)配置</li>
|
16376
|
+
# <li>sharp:细节增强配置</li>
|
16377
|
+
# <li>low_light:低光照增强配置</li>
|
16378
|
+
# <li>face_enhance:人脸增强配置</li>
|
16379
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
16380
|
+
# @type CallBackExtInfo: String
|
16381
|
+
|
16382
|
+
attr_accessor :OutputStorage, :Path, :Definition, :Bitrate, :Height, :Width, :Size, :Duration, :Container, :Md5, :AudioStreamSet, :VideoStreamSet, :CallBackExtInfo
|
16383
|
+
|
16384
|
+
def initialize(outputstorage=nil, path=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil, container=nil, md5=nil, audiostreamset=nil, videostreamset=nil, callbackextinfo=nil)
|
16364
16385
|
@OutputStorage = outputstorage
|
16365
16386
|
@Path = path
|
16366
16387
|
@Definition = definition
|
@@ -16373,6 +16394,7 @@ module TencentCloud
|
|
16373
16394
|
@Md5 = md5
|
16374
16395
|
@AudioStreamSet = audiostreamset
|
16375
16396
|
@VideoStreamSet = videostreamset
|
16397
|
+
@CallBackExtInfo = callbackextinfo
|
16376
16398
|
end
|
16377
16399
|
|
16378
16400
|
def deserialize(params)
|
@@ -16405,6 +16427,7 @@ module TencentCloud
|
|
16405
16427
|
@VideoStreamSet << mediavideostreamitem_tmp
|
16406
16428
|
end
|
16407
16429
|
end
|
16430
|
+
@CallBackExtInfo = params['CallBackExtInfo']
|
16408
16431
|
end
|
16409
16432
|
end
|
16410
16433
|
|
@@ -21174,6 +21197,46 @@ module TencentCloud
|
|
21174
21197
|
end
|
21175
21198
|
end
|
21176
21199
|
|
21200
|
+
# FairPlay,WideVine,PlayReady 等Drm加密方式。
|
21201
|
+
class SpekeDrm < TencentCloud::Common::AbstractModel
|
21202
|
+
# @param ResourceId: 资源标记,
|
21203
|
+
# 支持1-128个字符的数字、字母、下划线(_)、中划线(-)。
|
21204
|
+
# @type ResourceId: String
|
21205
|
+
# @param KeyServerUrl: drm厂商访问地址;
|
21206
|
+
|
21207
|
+
# 注: 不同DRM厂商对子流的数量限制不一样,如 pallycon 限制不能超过5条子流,drmtoday厂商最多仅支持9条子流加密
|
21208
|
+
# @type KeyServerUrl: String
|
21209
|
+
# @param Vector: 加密初始化向量(32字节字符串)。
|
21210
|
+
# @type Vector: String
|
21211
|
+
# @param EncryptionMethod: 加密方式,FairPlay 默认cbcs,PlayReady,Widevine 默认cenc
|
21212
|
+
|
21213
|
+
# cbcs:PlayReady,Widevine,FairPlay 支持;
|
21214
|
+
# cenc:PlayReady,Widevine支持;
|
21215
|
+
# @type EncryptionMethod: String
|
21216
|
+
# @param EncryptionPreset: 子流加密规则,默认 preset0
|
21217
|
+
# preset0:全部子流使用同一个key加密;
|
21218
|
+
# preset1:每个子流使用不同的key加密;
|
21219
|
+
# @type EncryptionPreset: String
|
21220
|
+
|
21221
|
+
attr_accessor :ResourceId, :KeyServerUrl, :Vector, :EncryptionMethod, :EncryptionPreset
|
21222
|
+
|
21223
|
+
def initialize(resourceid=nil, keyserverurl=nil, vector=nil, encryptionmethod=nil, encryptionpreset=nil)
|
21224
|
+
@ResourceId = resourceid
|
21225
|
+
@KeyServerUrl = keyserverurl
|
21226
|
+
@Vector = vector
|
21227
|
+
@EncryptionMethod = encryptionmethod
|
21228
|
+
@EncryptionPreset = encryptionpreset
|
21229
|
+
end
|
21230
|
+
|
21231
|
+
def deserialize(params)
|
21232
|
+
@ResourceId = params['ResourceId']
|
21233
|
+
@KeyServerUrl = params['KeyServerUrl']
|
21234
|
+
@Vector = params['Vector']
|
21235
|
+
@EncryptionMethod = params['EncryptionMethod']
|
21236
|
+
@EncryptionPreset = params['EncryptionPreset']
|
21237
|
+
end
|
21238
|
+
end
|
21239
|
+
|
21177
21240
|
# StartStreamLinkFlow请求参数结构体
|
21178
21241
|
class StartStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
|
21179
21242
|
# @param FlowId: 流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.
|
4
|
+
version: 3.0.1022
|
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-03-
|
11
|
+
date: 2025-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|