tencentcloud-sdk-mps 3.0.640 → 3.0.641
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 +45 -3
- 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: c6e1f340fba59728a9b853669247aca25b070df1
|
4
|
+
data.tar.gz: ff043968fdbb7634e4d63c7b2b5d576b74c29b2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fadcc7086d11ee7727be6bc3ce81c93476c7c2a1ac87329b08e68ae24518baa3ab343e85d52e241920b20ef86e53d52728a059412160679c7ead6fe79ed780bd
|
7
|
+
data.tar.gz: 0a459266b36983208543606633d43806447091e22bc3fe1026e72b4d8556e8a00edb8b526ecbd5f487dd905943bc0fbaa2da53338c3e30ca39eff8c7f19a8a15
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.641
|
data/lib/v20190612/models.rb
CHANGED
@@ -620,7 +620,8 @@ module TencentCloud
|
|
620
620
|
class AddOnSubtitle < TencentCloud::Common::AbstractModel
|
621
621
|
# @param Type: 插入形式,可选值:
|
622
622
|
# <li>subtitle-stream:插入字幕轨道</li>
|
623
|
-
# <li>close-caption
|
623
|
+
# <li>close-caption-708:CEA-708字幕编码到SEI帧</li>
|
624
|
+
# <li>close-caption-608:CEA-608字幕编码到SEI帧</li>
|
624
625
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
625
626
|
# @type Type: String
|
626
627
|
# @param Subtitle: 字幕文件。
|
@@ -10786,6 +10787,7 @@ module TencentCloud
|
|
10786
10787
|
# <li>AsrFullTextRecognition:语音全文识别,</li>
|
10787
10788
|
# <li>OcrFullTextRecognition:文本全文识别。</li>
|
10788
10789
|
# <li>TransTextRecognition:语音翻译。</li>
|
10790
|
+
# <li>TagRecognition:精彩打点。</li>
|
10789
10791
|
# @type Type: String
|
10790
10792
|
# @param FaceRecognitionResultSet: 人脸识别结果,当 Type 为
|
10791
10793
|
# FaceRecognition 时有效。
|
@@ -10804,10 +10806,13 @@ module TencentCloud
|
|
10804
10806
|
# @type OcrFullTextRecognitionResultSet: Array
|
10805
10807
|
# @param TransTextRecognitionResultSet: 翻译结果,当Type 为 TransTextRecognition 时有效。
|
10806
10808
|
# @type TransTextRecognitionResultSet: Array
|
10809
|
+
# @param TagRecognitionResultSet: 打点结果,当Type 为 TagRecognition 时有效。
|
10810
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10811
|
+
# @type TagRecognitionResultSet: Array
|
10807
10812
|
|
10808
|
-
attr_accessor :Type, :FaceRecognitionResultSet, :AsrWordsRecognitionResultSet, :OcrWordsRecognitionResultSet, :AsrFullTextRecognitionResultSet, :OcrFullTextRecognitionResultSet, :TransTextRecognitionResultSet
|
10813
|
+
attr_accessor :Type, :FaceRecognitionResultSet, :AsrWordsRecognitionResultSet, :OcrWordsRecognitionResultSet, :AsrFullTextRecognitionResultSet, :OcrFullTextRecognitionResultSet, :TransTextRecognitionResultSet, :TagRecognitionResultSet
|
10809
10814
|
|
10810
|
-
def initialize(type=nil, facerecognitionresultset=nil, asrwordsrecognitionresultset=nil, ocrwordsrecognitionresultset=nil, asrfulltextrecognitionresultset=nil, ocrfulltextrecognitionresultset=nil, transtextrecognitionresultset=nil)
|
10815
|
+
def initialize(type=nil, facerecognitionresultset=nil, asrwordsrecognitionresultset=nil, ocrwordsrecognitionresultset=nil, asrfulltextrecognitionresultset=nil, ocrfulltextrecognitionresultset=nil, transtextrecognitionresultset=nil, tagrecognitionresultset=nil)
|
10811
10816
|
@Type = type
|
10812
10817
|
@FaceRecognitionResultSet = facerecognitionresultset
|
10813
10818
|
@AsrWordsRecognitionResultSet = asrwordsrecognitionresultset
|
@@ -10815,6 +10820,7 @@ module TencentCloud
|
|
10815
10820
|
@AsrFullTextRecognitionResultSet = asrfulltextrecognitionresultset
|
10816
10821
|
@OcrFullTextRecognitionResultSet = ocrfulltextrecognitionresultset
|
10817
10822
|
@TransTextRecognitionResultSet = transtextrecognitionresultset
|
10823
|
+
@TagRecognitionResultSet = tagrecognitionresultset
|
10818
10824
|
end
|
10819
10825
|
|
10820
10826
|
def deserialize(params)
|
@@ -10867,6 +10873,14 @@ module TencentCloud
|
|
10867
10873
|
@TransTextRecognitionResultSet << livestreamtranstextrecognitionresult_tmp
|
10868
10874
|
end
|
10869
10875
|
end
|
10876
|
+
unless params['TagRecognitionResultSet'].nil?
|
10877
|
+
@TagRecognitionResultSet = []
|
10878
|
+
params['TagRecognitionResultSet'].each do |i|
|
10879
|
+
livestreamtagrecognitionresult_tmp = LiveStreamTagRecognitionResult.new
|
10880
|
+
livestreamtagrecognitionresult_tmp.deserialize(i)
|
10881
|
+
@TagRecognitionResultSet << livestreamtagrecognitionresult_tmp
|
10882
|
+
end
|
10883
|
+
end
|
10870
10884
|
end
|
10871
10885
|
end
|
10872
10886
|
|
@@ -11379,6 +11393,34 @@ module TencentCloud
|
|
11379
11393
|
end
|
11380
11394
|
end
|
11381
11395
|
|
11396
|
+
# 直播 AI 打点识别结果
|
11397
|
+
class LiveStreamTagRecognitionResult < TencentCloud::Common::AbstractModel
|
11398
|
+
# @param Id: 打点事件。
|
11399
|
+
# @type Id: String
|
11400
|
+
# @param StartPtsTime: 识别片段起始的 PTS 时间,单位:秒。
|
11401
|
+
# @type StartPtsTime: Float
|
11402
|
+
# @param EndPtsTime: 识别片段终止的 PTS 时间,单位:秒。
|
11403
|
+
# @type EndPtsTime: Float
|
11404
|
+
# @param Confidence: 识别片段置信度。取值:0~100。
|
11405
|
+
# @type Confidence: Float
|
11406
|
+
|
11407
|
+
attr_accessor :Id, :StartPtsTime, :EndPtsTime, :Confidence
|
11408
|
+
|
11409
|
+
def initialize(id=nil, startptstime=nil, endptstime=nil, confidence=nil)
|
11410
|
+
@Id = id
|
11411
|
+
@StartPtsTime = startptstime
|
11412
|
+
@EndPtsTime = endptstime
|
11413
|
+
@Confidence = confidence
|
11414
|
+
end
|
11415
|
+
|
11416
|
+
def deserialize(params)
|
11417
|
+
@Id = params['Id']
|
11418
|
+
@StartPtsTime = params['StartPtsTime']
|
11419
|
+
@EndPtsTime = params['EndPtsTime']
|
11420
|
+
@Confidence = params['Confidence']
|
11421
|
+
end
|
11422
|
+
end
|
11423
|
+
|
11382
11424
|
# 任务处理的事件通知配置。
|
11383
11425
|
class LiveStreamTaskNotifyConfig < TencentCloud::Common::AbstractModel
|
11384
11426
|
# @param CmqModel: CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
|
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.641
|
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-08-
|
11
|
+
date: 2023-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|