tencentcloud-sdk-mps 3.0.1123 → 3.0.1127
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 +83 -15
- 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: 809f44d6d1d72888d9a4ac4826a7c05159f1142a
|
4
|
+
data.tar.gz: 87e029f75b2a2443a003802078ba20e88840dd1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb4557760fa5c35e19e925e636599f0e25777a0ef22a59e6ec16139ac7c24308f6cd50dbff836e1a73fb7d16da9389bfa4b7e30e7bc44754a59991b3a69afd9
|
7
|
+
data.tar.gz: 860a0551fbb4426c0e8fed485baa4d4f8fc68e84d21911858009ffd5d6c43c5d665ec349c0b6bd72e2ef9e683d21b201a770fa0b094916bc659d188f8466962a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1127
|
data/lib/v20190612/models.rb
CHANGED
@@ -7294,14 +7294,17 @@ module TencentCloud
|
|
7294
7294
|
# @type Name: String
|
7295
7295
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
7296
7296
|
# @type Comment: String
|
7297
|
+
# @param RecordType: 录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。不填时默认值为video。
|
7298
|
+
# @type RecordType: String
|
7297
7299
|
|
7298
|
-
attr_accessor :HLSConfigure, :MP4Configure, :Name, :Comment
|
7300
|
+
attr_accessor :HLSConfigure, :MP4Configure, :Name, :Comment, :RecordType
|
7299
7301
|
|
7300
|
-
def initialize(hlsconfigure=nil, mp4configure=nil, name=nil, comment=nil)
|
7302
|
+
def initialize(hlsconfigure=nil, mp4configure=nil, name=nil, comment=nil, recordtype=nil)
|
7301
7303
|
@HLSConfigure = hlsconfigure
|
7302
7304
|
@MP4Configure = mp4configure
|
7303
7305
|
@Name = name
|
7304
7306
|
@Comment = comment
|
7307
|
+
@RecordType = recordtype
|
7305
7308
|
end
|
7306
7309
|
|
7307
7310
|
def deserialize(params)
|
@@ -7315,6 +7318,7 @@ module TencentCloud
|
|
7315
7318
|
end
|
7316
7319
|
@Name = params['Name']
|
7317
7320
|
@Comment = params['Comment']
|
7321
|
+
@RecordType = params['RecordType']
|
7318
7322
|
end
|
7319
7323
|
end
|
7320
7324
|
|
@@ -15726,10 +15730,12 @@ module TencentCloud
|
|
15726
15730
|
# @type CreateTime: String
|
15727
15731
|
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
15728
15732
|
# @type UpdateTime: String
|
15733
|
+
# @param RecordType: 录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。
|
15734
|
+
# @type RecordType: String
|
15729
15735
|
|
15730
|
-
attr_accessor :Definition, :HLSConfigure, :MP4Configure, :Name, :Comment, :Type, :CreateTime, :UpdateTime
|
15736
|
+
attr_accessor :Definition, :HLSConfigure, :MP4Configure, :Name, :Comment, :Type, :CreateTime, :UpdateTime, :RecordType
|
15731
15737
|
|
15732
|
-
def initialize(definition=nil, hlsconfigure=nil, mp4configure=nil, name=nil, comment=nil, type=nil, createtime=nil, updatetime=nil)
|
15738
|
+
def initialize(definition=nil, hlsconfigure=nil, mp4configure=nil, name=nil, comment=nil, type=nil, createtime=nil, updatetime=nil, recordtype=nil)
|
15733
15739
|
@Definition = definition
|
15734
15740
|
@HLSConfigure = hlsconfigure
|
15735
15741
|
@MP4Configure = mp4configure
|
@@ -15738,6 +15744,7 @@ module TencentCloud
|
|
15738
15744
|
@Type = type
|
15739
15745
|
@CreateTime = createtime
|
15740
15746
|
@UpdateTime = updatetime
|
15747
|
+
@RecordType = recordtype
|
15741
15748
|
end
|
15742
15749
|
|
15743
15750
|
def deserialize(params)
|
@@ -15755,6 +15762,7 @@ module TencentCloud
|
|
15755
15762
|
@Type = params['Type']
|
15756
15763
|
@CreateTime = params['CreateTime']
|
15757
15764
|
@UpdateTime = params['UpdateTime']
|
15765
|
+
@RecordType = params['RecordType']
|
15758
15766
|
end
|
15759
15767
|
end
|
15760
15768
|
|
@@ -16747,20 +16755,20 @@ module TencentCloud
|
|
16747
16755
|
# 任务处理的事件通知配置。
|
16748
16756
|
class LiveStreamTaskNotifyConfig < TencentCloud::Common::AbstractModel
|
16749
16757
|
# @param NotifyType: 通知类型:
|
16750
|
-
#
|
16758
|
+
# TDMQ-CMQ:消息队列
|
16751
16759
|
# "URL": 指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同[解析直播事件通知接口](https://cloud.tencent.com/document/product/862/39229) 的输出参数
|
16752
16760
|
|
16753
16761
|
# <font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
16754
16762
|
# @type NotifyType: String
|
16755
16763
|
# @param NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
|
16756
16764
|
# @type NotifyUrl: String
|
16757
|
-
# @param CmqModel:
|
16765
|
+
# @param CmqModel: 有 Queue 和 Topic 两种模型。
|
16758
16766
|
# @type CmqModel: String
|
16759
|
-
# @param CmqRegion: CMQ 的园区,如 sh,bj 等。
|
16767
|
+
# @param CmqRegion: TDMQ-CMQ 的园区,如 sh,bj 等。
|
16760
16768
|
# @type CmqRegion: String
|
16761
|
-
# @param QueueName: 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。
|
16769
|
+
# @param QueueName: 当模型为 Queue 时有效,表示接收事件通知的 TDMQ-CMQ 的队列名。
|
16762
16770
|
# @type QueueName: String
|
16763
|
-
# @param TopicName: 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
|
16771
|
+
# @param TopicName: 当模型为 Topic 时有效,表示接收事件通知的 TDMQ-CMQ 的主题名。
|
16764
16772
|
# @type TopicName: String
|
16765
16773
|
# @param NotifyKey: 用于生成回调签名的 Key。
|
16766
16774
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -18968,15 +18976,18 @@ module TencentCloud
|
|
18968
18976
|
# @type Name: String
|
18969
18977
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
18970
18978
|
# @type Comment: String
|
18979
|
+
# @param RecordType: 录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。
|
18980
|
+
# @type RecordType: String
|
18971
18981
|
|
18972
|
-
attr_accessor :Definition, :HLSConfigure, :MP4Configure, :Name, :Comment
|
18982
|
+
attr_accessor :Definition, :HLSConfigure, :MP4Configure, :Name, :Comment, :RecordType
|
18973
18983
|
|
18974
|
-
def initialize(definition=nil, hlsconfigure=nil, mp4configure=nil, name=nil, comment=nil)
|
18984
|
+
def initialize(definition=nil, hlsconfigure=nil, mp4configure=nil, name=nil, comment=nil, recordtype=nil)
|
18975
18985
|
@Definition = definition
|
18976
18986
|
@HLSConfigure = hlsconfigure
|
18977
18987
|
@MP4Configure = mp4configure
|
18978
18988
|
@Name = name
|
18979
18989
|
@Comment = comment
|
18990
|
+
@RecordType = recordtype
|
18980
18991
|
end
|
18981
18992
|
|
18982
18993
|
def deserialize(params)
|
@@ -18991,6 +19002,7 @@ module TencentCloud
|
|
18991
19002
|
end
|
18992
19003
|
@Name = params['Name']
|
18993
19004
|
@Comment = params['Comment']
|
19005
|
+
@RecordType = params['RecordType']
|
18994
19006
|
end
|
18995
19007
|
end
|
18996
19008
|
|
@@ -22054,10 +22066,13 @@ module TencentCloud
|
|
22054
22066
|
# @param EnhanceConfig: 音视频增强配置
|
22055
22067
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
22056
22068
|
# @type EnhanceConfig: :class:`Tencentcloud::Mps.v20190612.models.EnhanceConfig`
|
22069
|
+
# @param SubtitleTemplate: 字幕参数
|
22070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22071
|
+
# @type SubtitleTemplate: :class:`Tencentcloud::Mps.v20190612.models.SubtitleTemplate`
|
22057
22072
|
|
22058
|
-
attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :StdExtInfo, :EnhanceConfig
|
22073
|
+
attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :StdExtInfo, :EnhanceConfig, :SubtitleTemplate
|
22059
22074
|
|
22060
|
-
def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, stdextinfo=nil, enhanceconfig=nil)
|
22075
|
+
def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, stdextinfo=nil, enhanceconfig=nil, subtitletemplate=nil)
|
22061
22076
|
@Container = container
|
22062
22077
|
@RemoveVideo = removevideo
|
22063
22078
|
@RemoveAudio = removeaudio
|
@@ -22066,6 +22081,7 @@ module TencentCloud
|
|
22066
22081
|
@TEHDConfig = tehdconfig
|
22067
22082
|
@StdExtInfo = stdextinfo
|
22068
22083
|
@EnhanceConfig = enhanceconfig
|
22084
|
+
@SubtitleTemplate = subtitletemplate
|
22069
22085
|
end
|
22070
22086
|
|
22071
22087
|
def deserialize(params)
|
@@ -22089,6 +22105,10 @@ module TencentCloud
|
|
22089
22105
|
@EnhanceConfig = EnhanceConfig.new
|
22090
22106
|
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
22091
22107
|
end
|
22108
|
+
unless params['SubtitleTemplate'].nil?
|
22109
|
+
@SubtitleTemplate = SubtitleTemplate.new
|
22110
|
+
@SubtitleTemplate.deserialize(params['SubtitleTemplate'])
|
22111
|
+
end
|
22092
22112
|
end
|
22093
22113
|
end
|
22094
22114
|
|
@@ -24281,6 +24301,9 @@ module TencentCloud
|
|
24281
24301
|
|
24282
24302
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
24283
24303
|
# @type StreamIndex: Integer
|
24304
|
+
# @param SubtitleFileInput: 要压制到视频中的字幕文件的输入信息,目前仅支持存储在COS的字幕文件
|
24305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24306
|
+
# @type SubtitleFileInput: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
|
24284
24307
|
# @param FontType: 字体类型,支持:
|
24285
24308
|
# <li>hei.ttf:黑体</li>
|
24286
24309
|
# <li>song.ttf:宋体</li>
|
@@ -24356,12 +24379,37 @@ module TencentCloud
|
|
24356
24379
|
# 默认值:0.8。
|
24357
24380
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
24358
24381
|
# @type BoardAlpha: Float
|
24382
|
+
# @param OutlineWidth: 描边宽度
|
24383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24384
|
+
# @type OutlineWidth: Float
|
24385
|
+
# @param OutlineColor: 描边颜色。6位16进制RGB
|
24386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24387
|
+
# @type OutlineColor: String
|
24388
|
+
# @param OutlineAlpha: 描边透明度。(0,1] 正浮点数
|
24389
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24390
|
+
# @type OutlineAlpha: Float
|
24391
|
+
# @param ShadowWidth: 阴影宽度。浮点数 [0, 1000]
|
24392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24393
|
+
# @type ShadowWidth: Float
|
24394
|
+
# @param ShadowColor: 阴影颜色。6位16进制RGB
|
24395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24396
|
+
# @type ShadowColor: String
|
24397
|
+
# @param ShadowAlpha: 阴影透明度。(0,1] 正浮点数
|
24398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24399
|
+
# @type ShadowAlpha: Float
|
24400
|
+
# @param LineSpacing: 行间距。正整数 [0, 1000]
|
24401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24402
|
+
# @type LineSpacing: Integer
|
24403
|
+
# @param Alignment: 对齐方式,,取值:top: 顶部对齐,字幕顶部按位置固定,底部随行数变化。bottom: 底部对齐,字幕底部按位置固定,顶部随行数变化。
|
24404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24405
|
+
# @type Alignment: String
|
24359
24406
|
|
24360
|
-
attr_accessor :Path, :StreamIndex, :FontType, :FontSize, :FontColor, :FontAlpha, :YPos, :BoardY, :BoardWidth, :BoardHeight, :BoardColor, :BoardAlpha
|
24407
|
+
attr_accessor :Path, :StreamIndex, :SubtitleFileInput, :FontType, :FontSize, :FontColor, :FontAlpha, :YPos, :BoardY, :BoardWidth, :BoardHeight, :BoardColor, :BoardAlpha, :OutlineWidth, :OutlineColor, :OutlineAlpha, :ShadowWidth, :ShadowColor, :ShadowAlpha, :LineSpacing, :Alignment
|
24361
24408
|
|
24362
|
-
def initialize(path=nil, streamindex=nil, fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil, ypos=nil, boardy=nil, boardwidth=nil, boardheight=nil, boardcolor=nil, boardalpha=nil)
|
24409
|
+
def initialize(path=nil, streamindex=nil, subtitlefileinput=nil, fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil, ypos=nil, boardy=nil, boardwidth=nil, boardheight=nil, boardcolor=nil, boardalpha=nil, outlinewidth=nil, outlinecolor=nil, outlinealpha=nil, shadowwidth=nil, shadowcolor=nil, shadowalpha=nil, linespacing=nil, alignment=nil)
|
24363
24410
|
@Path = path
|
24364
24411
|
@StreamIndex = streamindex
|
24412
|
+
@SubtitleFileInput = subtitlefileinput
|
24365
24413
|
@FontType = fonttype
|
24366
24414
|
@FontSize = fontsize
|
24367
24415
|
@FontColor = fontcolor
|
@@ -24372,11 +24420,23 @@ module TencentCloud
|
|
24372
24420
|
@BoardHeight = boardheight
|
24373
24421
|
@BoardColor = boardcolor
|
24374
24422
|
@BoardAlpha = boardalpha
|
24423
|
+
@OutlineWidth = outlinewidth
|
24424
|
+
@OutlineColor = outlinecolor
|
24425
|
+
@OutlineAlpha = outlinealpha
|
24426
|
+
@ShadowWidth = shadowwidth
|
24427
|
+
@ShadowColor = shadowcolor
|
24428
|
+
@ShadowAlpha = shadowalpha
|
24429
|
+
@LineSpacing = linespacing
|
24430
|
+
@Alignment = alignment
|
24375
24431
|
end
|
24376
24432
|
|
24377
24433
|
def deserialize(params)
|
24378
24434
|
@Path = params['Path']
|
24379
24435
|
@StreamIndex = params['StreamIndex']
|
24436
|
+
unless params['SubtitleFileInput'].nil?
|
24437
|
+
@SubtitleFileInput = MediaInputInfo.new
|
24438
|
+
@SubtitleFileInput.deserialize(params['SubtitleFileInput'])
|
24439
|
+
end
|
24380
24440
|
@FontType = params['FontType']
|
24381
24441
|
@FontSize = params['FontSize']
|
24382
24442
|
@FontColor = params['FontColor']
|
@@ -24387,6 +24447,14 @@ module TencentCloud
|
|
24387
24447
|
@BoardHeight = params['BoardHeight']
|
24388
24448
|
@BoardColor = params['BoardColor']
|
24389
24449
|
@BoardAlpha = params['BoardAlpha']
|
24450
|
+
@OutlineWidth = params['OutlineWidth']
|
24451
|
+
@OutlineColor = params['OutlineColor']
|
24452
|
+
@OutlineAlpha = params['OutlineAlpha']
|
24453
|
+
@ShadowWidth = params['ShadowWidth']
|
24454
|
+
@ShadowColor = params['ShadowColor']
|
24455
|
+
@ShadowAlpha = params['ShadowAlpha']
|
24456
|
+
@LineSpacing = params['LineSpacing']
|
24457
|
+
@Alignment = params['Alignment']
|
24390
24458
|
end
|
24391
24459
|
end
|
24392
24460
|
|
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.1127
|
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-08-
|
11
|
+
date: 2025-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|