tencentcloud-sdk-mps 3.0.640 → 3.0.642

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/v20190612/models.rb +45 -3
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 853cdb6d8a79c8eeb65df7fec765f6dbcffec749
4
- data.tar.gz: 8c998bbac9122b1ee22af2810da54ccc62077a3a
3
+ metadata.gz: 258f2a6e581f2084b60cdb82dafea84c8511735f
4
+ data.tar.gz: c63937bf6654928e9fdde1d574205f3013aaa5df
5
5
  SHA512:
6
- metadata.gz: cd2de165a2f52d8eaa298d1cf8bb47d4e5f2809b6a262d64778bc5d05436ba3a6d91e64b34c49c321ee164082ed9e50c594fd3e7728943df9fdf60debb6569c1
7
- data.tar.gz: bddd49b72d13bd8382d696d705f12d2adb85cae201c40c0baa1934a0cf6c31981e4bada9884a84650df5bfdc459c7e0a786b18621e9e83bde2386ed832da74e9
6
+ metadata.gz: 4e3aac3e2c8734b66f615ef1c3d7d728b1d648085102a18d24ec6a4c69897d76f502f1b94684f7801ec7dda827411cc81d0ddf1928a89508842a7f2463fde279
7
+ data.tar.gz: 3671576109a075c45ddbae2dd1b8ad1c489dc6d04ef92b248059bd1cba9da5323a38caa84aab2b6eb53dfdb7b87a6fce4027cca7d8ecc7d02d902ec97d323b9a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.640
1
+ 3.0.642
@@ -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:编码到SEI帧</li>
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.640
4
+ version: 3.0.642
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-21 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20190612/models.rb
37
36
  - lib/v20190612/client.rb
37
+ - lib/v20190612/models.rb
38
38
  - lib/tencentcloud-sdk-mps.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby