tencentcloud-sdk-mps 3.0.956 → 3.0.958
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +46 -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: 6d7fdb16cf17b328bd81501d01267b1f3e6165f2
|
4
|
+
data.tar.gz: c4388869b6984830fd8aff0c0c376f1c61fee0d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bdb1da8b7315991ac702ce7f245260509fe41e2fc3dd5a16b13cb8bfeae625e224f675e325e937775367e0833b5a05fb6cd2e4e34ed20ae122cf3434f8a562e
|
7
|
+
data.tar.gz: 2c1d2431c6fb6dc980d1356e79b58afc236f1a398cfb28c277eba04d37373f1a05e4c241258b85e1820966c4e65f9d4fb97151f4b06ae9ec1ba84cc83b02fb5b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.958
|
data/lib/v20190612/models.rb
CHANGED
@@ -697,12 +697,16 @@ module TencentCloud
|
|
697
697
|
# @param Subtitle: 字幕文件。
|
698
698
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
699
699
|
# @type Subtitle: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
|
700
|
+
# @param SubtitleName: 字幕名称
|
701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
702
|
+
# @type SubtitleName: String
|
700
703
|
|
701
|
-
attr_accessor :Type, :Subtitle
|
704
|
+
attr_accessor :Type, :Subtitle, :SubtitleName
|
702
705
|
|
703
|
-
def initialize(type=nil, subtitle=nil)
|
706
|
+
def initialize(type=nil, subtitle=nil, subtitlename=nil)
|
704
707
|
@Type = type
|
705
708
|
@Subtitle = subtitle
|
709
|
+
@SubtitleName = subtitlename
|
706
710
|
end
|
707
711
|
|
708
712
|
def deserialize(params)
|
@@ -711,6 +715,7 @@ module TencentCloud
|
|
711
715
|
@Subtitle = MediaInputInfo.new
|
712
716
|
@Subtitle.deserialize(params['Subtitle'])
|
713
717
|
end
|
718
|
+
@SubtitleName = params['SubtitleName']
|
714
719
|
end
|
715
720
|
end
|
716
721
|
|
@@ -12958,11 +12963,23 @@ module TencentCloud
|
|
12958
12963
|
# @param SuperResolution: 超分配置。
|
12959
12964
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12960
12965
|
# @type SuperResolution: :class:`Tencentcloud::Mps.v20190612.models.SuperResolutionConfig`
|
12966
|
+
# @param ColorEnhance: 色彩增强配置。
|
12967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12968
|
+
# @type ColorEnhance: :class:`Tencentcloud::Mps.v20190612.models.ColorEnhanceConfig`
|
12969
|
+
# @param SharpEnhance: 细节增强配置。
|
12970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12971
|
+
# @type SharpEnhance: :class:`Tencentcloud::Mps.v20190612.models.SharpEnhanceConfig`
|
12972
|
+
# @param FaceEnhance: 人脸增强配置。
|
12973
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12974
|
+
# @type FaceEnhance: :class:`Tencentcloud::Mps.v20190612.models.FaceEnhanceConfig`
|
12961
12975
|
|
12962
|
-
attr_accessor :SuperResolution
|
12976
|
+
attr_accessor :SuperResolution, :ColorEnhance, :SharpEnhance, :FaceEnhance
|
12963
12977
|
|
12964
|
-
def initialize(superresolution=nil)
|
12978
|
+
def initialize(superresolution=nil, colorenhance=nil, sharpenhance=nil, faceenhance=nil)
|
12965
12979
|
@SuperResolution = superresolution
|
12980
|
+
@ColorEnhance = colorenhance
|
12981
|
+
@SharpEnhance = sharpenhance
|
12982
|
+
@FaceEnhance = faceenhance
|
12966
12983
|
end
|
12967
12984
|
|
12968
12985
|
def deserialize(params)
|
@@ -12970,6 +12987,18 @@ module TencentCloud
|
|
12970
12987
|
@SuperResolution = SuperResolutionConfig.new
|
12971
12988
|
@SuperResolution.deserialize(params['SuperResolution'])
|
12972
12989
|
end
|
12990
|
+
unless params['ColorEnhance'].nil?
|
12991
|
+
@ColorEnhance = ColorEnhanceConfig.new
|
12992
|
+
@ColorEnhance.deserialize(params['ColorEnhance'])
|
12993
|
+
end
|
12994
|
+
unless params['SharpEnhance'].nil?
|
12995
|
+
@SharpEnhance = SharpEnhanceConfig.new
|
12996
|
+
@SharpEnhance.deserialize(params['SharpEnhance'])
|
12997
|
+
end
|
12998
|
+
unless params['FaceEnhance'].nil?
|
12999
|
+
@FaceEnhance = FaceEnhanceConfig.new
|
13000
|
+
@FaceEnhance.deserialize(params['FaceEnhance'])
|
13001
|
+
end
|
12973
13002
|
end
|
12974
13003
|
end
|
12975
13004
|
|
@@ -17694,6 +17723,7 @@ module TencentCloud
|
|
17694
17723
|
# <li>AiReviewResult:内容审核结果;</li>
|
17695
17724
|
# <li>AiRecognitionResult:内容识别结果;</li>
|
17696
17725
|
# <li>LiveRecordResult:直播录制结果;</li>
|
17726
|
+
# <li>AiQualityControlResult:媒体质检结果;</li>
|
17697
17727
|
# <li>ProcessEof:直播流处理结束。</li>
|
17698
17728
|
# @type NotificationType: String
|
17699
17729
|
# @param TaskId: 视频处理任务 ID。
|
@@ -17720,12 +17750,18 @@ module TencentCloud
|
|
17720
17750
|
# @type SessionId: String
|
17721
17751
|
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
|
17722
17752
|
# @type SessionContext: String
|
17753
|
+
# @param Timestamp: - 过期时间,事件通知签名过期 UNIX 时间戳。 - 来自媒体处理的消息通知默认过期时间是10分钟,如果一条消息通知中的 Timestamp 值所指定的时间已经过期,则可以判定这条通知无效,进而可以防止网络重放攻击。 - Timestamp 的格式为十进制 UNIX 时间戳,即从1970年01月01日(UTC/GMT 的午夜)开始所经过的秒数。
|
17754
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17755
|
+
# @type Timestamp: Integer
|
17756
|
+
# @param Sign: 事件通知安全签名 Sign = MD5(Timestamp + NotifyKey)。说明:媒体处理把Timestamp 和 TaskNotifyConfig 里面的NotifyKey 进行字符串拼接后通过 MD5 计算得出 Sign 值,并将其放在通知消息里,您的后台服务器在收到通知消息后可以根据同样的算法确认 Sign 是否正确,进而确认消息是否确实来自媒体处理后台。
|
17757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17758
|
+
# @type Sign: String
|
17723
17759
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17724
17760
|
# @type RequestId: String
|
17725
17761
|
|
17726
|
-
attr_accessor :NotificationType, :TaskId, :ProcessEofInfo, :AiReviewResultInfo, :AiRecognitionResultInfo, :AiAnalysisResultInfo, :AiQualityControlResultInfo, :LiveRecordResultInfo, :SessionId, :SessionContext, :RequestId
|
17762
|
+
attr_accessor :NotificationType, :TaskId, :ProcessEofInfo, :AiReviewResultInfo, :AiRecognitionResultInfo, :AiAnalysisResultInfo, :AiQualityControlResultInfo, :LiveRecordResultInfo, :SessionId, :SessionContext, :Timestamp, :Sign, :RequestId
|
17727
17763
|
|
17728
|
-
def initialize(notificationtype=nil, taskid=nil, processeofinfo=nil, aireviewresultinfo=nil, airecognitionresultinfo=nil, aianalysisresultinfo=nil, aiqualitycontrolresultinfo=nil, liverecordresultinfo=nil, sessionid=nil, sessioncontext=nil, requestid=nil)
|
17764
|
+
def initialize(notificationtype=nil, taskid=nil, processeofinfo=nil, aireviewresultinfo=nil, airecognitionresultinfo=nil, aianalysisresultinfo=nil, aiqualitycontrolresultinfo=nil, liverecordresultinfo=nil, sessionid=nil, sessioncontext=nil, timestamp=nil, sign=nil, requestid=nil)
|
17729
17765
|
@NotificationType = notificationtype
|
17730
17766
|
@TaskId = taskid
|
17731
17767
|
@ProcessEofInfo = processeofinfo
|
@@ -17736,6 +17772,8 @@ module TencentCloud
|
|
17736
17772
|
@LiveRecordResultInfo = liverecordresultinfo
|
17737
17773
|
@SessionId = sessionid
|
17738
17774
|
@SessionContext = sessioncontext
|
17775
|
+
@Timestamp = timestamp
|
17776
|
+
@Sign = sign
|
17739
17777
|
@RequestId = requestid
|
17740
17778
|
end
|
17741
17779
|
|
@@ -17768,6 +17806,8 @@ module TencentCloud
|
|
17768
17806
|
end
|
17769
17807
|
@SessionId = params['SessionId']
|
17770
17808
|
@SessionContext = params['SessionContext']
|
17809
|
+
@Timestamp = params['Timestamp']
|
17810
|
+
@Sign = params['Sign']
|
17771
17811
|
@RequestId = params['RequestId']
|
17772
17812
|
end
|
17773
17813
|
end
|
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.958
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|