tencentcloud-sdk-live 3.0.1100 → 3.0.1109
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/v20180801/models.rb +243 -17
- 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: 5168b9c95b69f96ec3843f74b8c3320a84e014ca
|
4
|
+
data.tar.gz: be3de43f180b82b8390317e9e9346c9d4ef8eafa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60cf66e259367bc8531024046d105ab73e62f8b1fc6b3da429dca889c4698f80ff9e7e439993ee8ab9808fa261c68b01985417bd213e93c4af336712792cda32
|
7
|
+
data.tar.gz: ac18d8e815fa7952618aa5cb27ab5fcf9b2f18acedf63b605fb4c8217100d511283808c01ac3bfd2308047d446fb38f9e948b1d0a1f49b5dcaaa36053046c3fa
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1109
|
data/lib/v20180801/models.rb
CHANGED
@@ -411,6 +411,86 @@ module TencentCloud
|
|
411
411
|
end
|
412
412
|
end
|
413
413
|
|
414
|
+
# 直播审核关键词信息
|
415
|
+
class AuditKeyword < TencentCloud::Common::AbstractModel
|
416
|
+
# @param Content: 关键词内容。
|
417
|
+
# @type Content: String
|
418
|
+
# @param Label: 关键词标签。
|
419
|
+
# 可取值:Normal: 正常 ,Polity: 政治,Porn: 色情,Sexy:性感,Ad: 广告,Illegal: 违法,Abuse: 谩骂,Terror: 暴恐,Spam: 灌水,Moan:呻吟。
|
420
|
+
# @type Label: String
|
421
|
+
|
422
|
+
attr_accessor :Content, :Label
|
423
|
+
|
424
|
+
def initialize(content=nil, label=nil)
|
425
|
+
@Content = content
|
426
|
+
@Label = label
|
427
|
+
end
|
428
|
+
|
429
|
+
def deserialize(params)
|
430
|
+
@Content = params['Content']
|
431
|
+
@Label = params['Label']
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
# 直播审核删除关键词结果详情。
|
436
|
+
class AuditKeywordDeleteDetail < TencentCloud::Common::AbstractModel
|
437
|
+
# @param KeywordId: 关键词 Id。
|
438
|
+
# @type KeywordId: String
|
439
|
+
# @param Content: 关键词内容。
|
440
|
+
# @type Content: String
|
441
|
+
# @param Deleted: 是否删除成功。
|
442
|
+
# @type Deleted: Boolean
|
443
|
+
# @param Error: 如果删除失败,错误信息。
|
444
|
+
# @type Error: String
|
445
|
+
|
446
|
+
attr_accessor :KeywordId, :Content, :Deleted, :Error
|
447
|
+
|
448
|
+
def initialize(keywordid=nil, content=nil, deleted=nil, error=nil)
|
449
|
+
@KeywordId = keywordid
|
450
|
+
@Content = content
|
451
|
+
@Deleted = deleted
|
452
|
+
@Error = error
|
453
|
+
end
|
454
|
+
|
455
|
+
def deserialize(params)
|
456
|
+
@KeywordId = params['KeywordId']
|
457
|
+
@Content = params['Content']
|
458
|
+
@Deleted = params['Deleted']
|
459
|
+
@Error = params['Error']
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
# 直播审核关键词查询信息。
|
464
|
+
class AuditKeywordInfo < TencentCloud::Common::AbstractModel
|
465
|
+
# @param KeywordId: 关键词 Id。
|
466
|
+
# @type KeywordId: String
|
467
|
+
# @param Content: 关键词内容。
|
468
|
+
# @type Content: String
|
469
|
+
# @param Label: 关键词标签。
|
470
|
+
# 可取值:Normal: 正常 ,Polity: 政治,Porn: 色情,Sexy:性感,Ad: 广告,Illegal: 违法,Abuse: 谩骂,Terror: 暴恐,Spam: 灌水,Moan:呻吟。
|
471
|
+
# @type Label: String
|
472
|
+
# @param CreateTime: 创建时间。UTC 格式,例如:2018-11-29T19:00:00Z。
|
473
|
+
# 注意:
|
474
|
+
# 1. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示。
|
475
|
+
# @type CreateTime: String
|
476
|
+
|
477
|
+
attr_accessor :KeywordId, :Content, :Label, :CreateTime
|
478
|
+
|
479
|
+
def initialize(keywordid=nil, content=nil, label=nil, createtime=nil)
|
480
|
+
@KeywordId = keywordid
|
481
|
+
@Content = content
|
482
|
+
@Label = label
|
483
|
+
@CreateTime = createtime
|
484
|
+
end
|
485
|
+
|
486
|
+
def deserialize(params)
|
487
|
+
@KeywordId = params['KeywordId']
|
488
|
+
@Content = params['Content']
|
489
|
+
@Label = params['Label']
|
490
|
+
@CreateTime = params['CreateTime']
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
414
494
|
# AuthenticateDomainOwner请求参数结构体
|
415
495
|
class AuthenticateDomainOwnerRequest < TencentCloud::Common::AbstractModel
|
416
496
|
# @param DomainName: 要验证的域名。
|
@@ -1659,6 +1739,14 @@ module TencentCloud
|
|
1659
1739
|
# @type Prompt: String
|
1660
1740
|
# @param Flag: 云端特效标签。
|
1661
1741
|
# @type Flag: String
|
1742
|
+
# @param Status: 云端特效生成状态。
|
1743
|
+
# 生成中 - GENERATING。
|
1744
|
+
# 处理中 - PROCESSING。
|
1745
|
+
# 生成失败 - FAILED。
|
1746
|
+
# 已完成 - FINISH。
|
1747
|
+
# @type Status: String
|
1748
|
+
# @param Message: 特效信息,生成失败时,此处返回失败原因。
|
1749
|
+
# @type Message: String
|
1662
1750
|
# @param PreviewImageUrl: 云端特效预览图片。
|
1663
1751
|
# @type PreviewImageUrl: String
|
1664
1752
|
# @param Type: 云端特效类型。
|
@@ -1671,12 +1759,14 @@ module TencentCloud
|
|
1671
1759
|
# @param UpdateTime: 云端特效更新时间。
|
1672
1760
|
# @type UpdateTime: String
|
1673
1761
|
|
1674
|
-
attr_accessor :Id, :Prompt, :Flag, :PreviewImageUrl, :Type, :CreateTime, :UpdateTime
|
1762
|
+
attr_accessor :Id, :Prompt, :Flag, :Status, :Message, :PreviewImageUrl, :Type, :CreateTime, :UpdateTime
|
1675
1763
|
|
1676
|
-
def initialize(id=nil, prompt=nil, flag=nil, previewimageurl=nil, type=nil, createtime=nil, updatetime=nil)
|
1764
|
+
def initialize(id=nil, prompt=nil, flag=nil, status=nil, message=nil, previewimageurl=nil, type=nil, createtime=nil, updatetime=nil)
|
1677
1765
|
@Id = id
|
1678
1766
|
@Prompt = prompt
|
1679
1767
|
@Flag = flag
|
1768
|
+
@Status = status
|
1769
|
+
@Message = message
|
1680
1770
|
@PreviewImageUrl = previewimageurl
|
1681
1771
|
@Type = type
|
1682
1772
|
@CreateTime = createtime
|
@@ -1687,6 +1777,8 @@ module TencentCloud
|
|
1687
1777
|
@Id = params['Id']
|
1688
1778
|
@Prompt = params['Prompt']
|
1689
1779
|
@Flag = params['Flag']
|
1780
|
+
@Status = params['Status']
|
1781
|
+
@Message = params['Message']
|
1690
1782
|
@PreviewImageUrl = params['PreviewImageUrl']
|
1691
1783
|
@Type = params['Type']
|
1692
1784
|
@CreateTime = params['CreateTime']
|
@@ -1997,27 +2089,58 @@ module TencentCloud
|
|
1997
2089
|
|
1998
2090
|
# CreateAuditKeywords请求参数结构体
|
1999
2091
|
class CreateAuditKeywordsRequest < TencentCloud::Common::AbstractModel
|
2092
|
+
# @param Keywords: 关键词列表。
|
2093
|
+
# @type Keywords: Array
|
2094
|
+
# @param LibId: 直播审核词库Id。
|
2095
|
+
# @type LibId: String
|
2000
2096
|
|
2097
|
+
attr_accessor :Keywords, :LibId
|
2001
2098
|
|
2002
|
-
def initialize()
|
2099
|
+
def initialize(keywords=nil, libid=nil)
|
2100
|
+
@Keywords = keywords
|
2101
|
+
@LibId = libid
|
2003
2102
|
end
|
2004
2103
|
|
2005
2104
|
def deserialize(params)
|
2105
|
+
unless params['Keywords'].nil?
|
2106
|
+
@Keywords = []
|
2107
|
+
params['Keywords'].each do |i|
|
2108
|
+
auditkeyword_tmp = AuditKeyword.new
|
2109
|
+
auditkeyword_tmp.deserialize(i)
|
2110
|
+
@Keywords << auditkeyword_tmp
|
2111
|
+
end
|
2112
|
+
end
|
2113
|
+
@LibId = params['LibId']
|
2006
2114
|
end
|
2007
2115
|
end
|
2008
2116
|
|
2009
2117
|
# CreateAuditKeywords返回参数结构体
|
2010
2118
|
class CreateAuditKeywordsResponse < TencentCloud::Common::AbstractModel
|
2119
|
+
# @param KeywordIds: 添加成功的关键词 Id 列表。
|
2120
|
+
# @type KeywordIds: Array
|
2121
|
+
# @param DupInfos: 重复关键词列表。
|
2122
|
+
# @type DupInfos: Array
|
2011
2123
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2012
2124
|
# @type RequestId: String
|
2013
2125
|
|
2014
|
-
attr_accessor :RequestId
|
2126
|
+
attr_accessor :KeywordIds, :DupInfos, :RequestId
|
2015
2127
|
|
2016
|
-
def initialize(requestid=nil)
|
2128
|
+
def initialize(keywordids=nil, dupinfos=nil, requestid=nil)
|
2129
|
+
@KeywordIds = keywordids
|
2130
|
+
@DupInfos = dupinfos
|
2017
2131
|
@RequestId = requestid
|
2018
2132
|
end
|
2019
2133
|
|
2020
2134
|
def deserialize(params)
|
2135
|
+
@KeywordIds = params['KeywordIds']
|
2136
|
+
unless params['DupInfos'].nil?
|
2137
|
+
@DupInfos = []
|
2138
|
+
params['DupInfos'].each do |i|
|
2139
|
+
auditkeywordinfo_tmp = AuditKeywordInfo.new
|
2140
|
+
auditkeywordinfo_tmp.deserialize(i)
|
2141
|
+
@DupInfos << auditkeywordinfo_tmp
|
2142
|
+
end
|
2143
|
+
end
|
2021
2144
|
@RequestId = params['RequestId']
|
2022
2145
|
end
|
2023
2146
|
end
|
@@ -3585,10 +3708,16 @@ module TencentCloud
|
|
3585
3708
|
# @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
|
3586
3709
|
# 不传递或者为空字符串,清空之前的DRM配置。
|
3587
3710
|
# @type DRMTracks: String
|
3711
|
+
# @param IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
|
3712
|
+
# 0:否。
|
3713
|
+
# 1:是。
|
3714
|
+
# @type IsAdaptiveBitRate: Integer
|
3715
|
+
# @param AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
|
3716
|
+
# @type AdaptiveChildren: Array
|
3588
3717
|
|
3589
|
-
attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
|
3718
|
+
attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks, :IsAdaptiveBitRate, :AdaptiveChildren
|
3590
3719
|
|
3591
|
-
def initialize(templatename=nil, videobitrate=nil, acodec=nil, audiobitrate=nil, vcodec=nil, description=nil, needvideo=nil, width=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, aitranscode=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil)
|
3720
|
+
def initialize(templatename=nil, videobitrate=nil, acodec=nil, audiobitrate=nil, vcodec=nil, description=nil, needvideo=nil, width=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, aitranscode=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil, isadaptivebitrate=nil, adaptivechildren=nil)
|
3592
3721
|
@TemplateName = templatename
|
3593
3722
|
@VideoBitrate = videobitrate
|
3594
3723
|
@Acodec = acodec
|
@@ -3611,6 +3740,8 @@ module TencentCloud
|
|
3611
3740
|
@ShortEdgeAsHeight = shortedgeasheight
|
3612
3741
|
@DRMType = drmtype
|
3613
3742
|
@DRMTracks = drmtracks
|
3743
|
+
@IsAdaptiveBitRate = isadaptivebitrate
|
3744
|
+
@AdaptiveChildren = adaptivechildren
|
3614
3745
|
end
|
3615
3746
|
|
3616
3747
|
def deserialize(params)
|
@@ -3636,6 +3767,15 @@ module TencentCloud
|
|
3636
3767
|
@ShortEdgeAsHeight = params['ShortEdgeAsHeight']
|
3637
3768
|
@DRMType = params['DRMType']
|
3638
3769
|
@DRMTracks = params['DRMTracks']
|
3770
|
+
@IsAdaptiveBitRate = params['IsAdaptiveBitRate']
|
3771
|
+
unless params['AdaptiveChildren'].nil?
|
3772
|
+
@AdaptiveChildren = []
|
3773
|
+
params['AdaptiveChildren'].each do |i|
|
3774
|
+
childtemplateinfo_tmp = ChildTemplateInfo.new
|
3775
|
+
childtemplateinfo_tmp.deserialize(i)
|
3776
|
+
@AdaptiveChildren << childtemplateinfo_tmp
|
3777
|
+
end
|
3778
|
+
end
|
3639
3779
|
end
|
3640
3780
|
end
|
3641
3781
|
|
@@ -3999,27 +4139,51 @@ module TencentCloud
|
|
3999
4139
|
|
4000
4140
|
# DeleteAuditKeywords请求参数结构体
|
4001
4141
|
class DeleteAuditKeywordsRequest < TencentCloud::Common::AbstractModel
|
4142
|
+
# @param KeywordIds: 要删除的关键词 Id 列表。
|
4143
|
+
# @type KeywordIds: Array
|
4144
|
+
# @param LibId: 关键词库 Id。
|
4145
|
+
# @type LibId: String
|
4002
4146
|
|
4147
|
+
attr_accessor :KeywordIds, :LibId
|
4003
4148
|
|
4004
|
-
def initialize()
|
4149
|
+
def initialize(keywordids=nil, libid=nil)
|
4150
|
+
@KeywordIds = keywordids
|
4151
|
+
@LibId = libid
|
4005
4152
|
end
|
4006
4153
|
|
4007
4154
|
def deserialize(params)
|
4155
|
+
@KeywordIds = params['KeywordIds']
|
4156
|
+
@LibId = params['LibId']
|
4008
4157
|
end
|
4009
4158
|
end
|
4010
4159
|
|
4011
4160
|
# DeleteAuditKeywords返回参数结构体
|
4012
4161
|
class DeleteAuditKeywordsResponse < TencentCloud::Common::AbstractModel
|
4162
|
+
# @param SuccessCount: 成功删除关键词的数量。
|
4163
|
+
# @type SuccessCount: Integer
|
4164
|
+
# @param Infos: 关键词详情列表。
|
4165
|
+
# @type Infos: Array
|
4013
4166
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4014
4167
|
# @type RequestId: String
|
4015
4168
|
|
4016
|
-
attr_accessor :RequestId
|
4169
|
+
attr_accessor :SuccessCount, :Infos, :RequestId
|
4017
4170
|
|
4018
|
-
def initialize(requestid=nil)
|
4171
|
+
def initialize(successcount=nil, infos=nil, requestid=nil)
|
4172
|
+
@SuccessCount = successcount
|
4173
|
+
@Infos = infos
|
4019
4174
|
@RequestId = requestid
|
4020
4175
|
end
|
4021
4176
|
|
4022
4177
|
def deserialize(params)
|
4178
|
+
@SuccessCount = params['SuccessCount']
|
4179
|
+
unless params['Infos'].nil?
|
4180
|
+
@Infos = []
|
4181
|
+
params['Infos'].each do |i|
|
4182
|
+
auditkeyworddeletedetail_tmp = AuditKeywordDeleteDetail.new
|
4183
|
+
auditkeyworddeletedetail_tmp.deserialize(i)
|
4184
|
+
@Infos << auditkeyworddeletedetail_tmp
|
4185
|
+
end
|
4186
|
+
end
|
4023
4187
|
@RequestId = params['RequestId']
|
4024
4188
|
end
|
4025
4189
|
end
|
@@ -5114,27 +5278,64 @@ module TencentCloud
|
|
5114
5278
|
|
5115
5279
|
# DescribeAuditKeywords请求参数结构体
|
5116
5280
|
class DescribeAuditKeywordsRequest < TencentCloud::Common::AbstractModel
|
5281
|
+
# @param Offset: 获取偏移量。
|
5282
|
+
# @type Offset: Integer
|
5283
|
+
# @param Limit: 单页条数,最大为100条,超过则按100条返回。
|
5284
|
+
# @type Limit: Integer
|
5285
|
+
# @param LibId: 关键词库 Id。
|
5286
|
+
# @type LibId: String
|
5287
|
+
# @param Content: 关键词搜索字段。
|
5288
|
+
# 为空字符串时忽略。
|
5289
|
+
# @type Content: String
|
5290
|
+
# @param Labels: 标签类别搜索。
|
5291
|
+
# @type Labels: Array
|
5117
5292
|
|
5293
|
+
attr_accessor :Offset, :Limit, :LibId, :Content, :Labels
|
5118
5294
|
|
5119
|
-
def initialize()
|
5295
|
+
def initialize(offset=nil, limit=nil, libid=nil, content=nil, labels=nil)
|
5296
|
+
@Offset = offset
|
5297
|
+
@Limit = limit
|
5298
|
+
@LibId = libid
|
5299
|
+
@Content = content
|
5300
|
+
@Labels = labels
|
5120
5301
|
end
|
5121
5302
|
|
5122
5303
|
def deserialize(params)
|
5304
|
+
@Offset = params['Offset']
|
5305
|
+
@Limit = params['Limit']
|
5306
|
+
@LibId = params['LibId']
|
5307
|
+
@Content = params['Content']
|
5308
|
+
@Labels = params['Labels']
|
5123
5309
|
end
|
5124
5310
|
end
|
5125
5311
|
|
5126
5312
|
# DescribeAuditKeywords返回参数结构体
|
5127
5313
|
class DescribeAuditKeywordsResponse < TencentCloud::Common::AbstractModel
|
5314
|
+
# @param Total: 关键词总条数。
|
5315
|
+
# @type Total: Integer
|
5316
|
+
# @param Infos: 关键词详情列表。
|
5317
|
+
# @type Infos: Array
|
5128
5318
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5129
5319
|
# @type RequestId: String
|
5130
5320
|
|
5131
|
-
attr_accessor :RequestId
|
5321
|
+
attr_accessor :Total, :Infos, :RequestId
|
5132
5322
|
|
5133
|
-
def initialize(requestid=nil)
|
5323
|
+
def initialize(total=nil, infos=nil, requestid=nil)
|
5324
|
+
@Total = total
|
5325
|
+
@Infos = infos
|
5134
5326
|
@RequestId = requestid
|
5135
5327
|
end
|
5136
5328
|
|
5137
5329
|
def deserialize(params)
|
5330
|
+
@Total = params['Total']
|
5331
|
+
unless params['Infos'].nil?
|
5332
|
+
@Infos = []
|
5333
|
+
params['Infos'].each do |i|
|
5334
|
+
auditkeywordinfo_tmp = AuditKeywordInfo.new
|
5335
|
+
auditkeywordinfo_tmp.deserialize(i)
|
5336
|
+
@Infos << auditkeywordinfo_tmp
|
5337
|
+
end
|
5338
|
+
end
|
5138
5339
|
@RequestId = params['RequestId']
|
5139
5340
|
end
|
5140
5341
|
end
|
@@ -6385,13 +6586,19 @@ module TencentCloud
|
|
6385
6586
|
class DescribeLiveCloudEffectListResponse < TencentCloud::Common::AbstractModel
|
6386
6587
|
# @param InfoList: 云端特效信息列表。
|
6387
6588
|
# @type InfoList: Array
|
6589
|
+
# @param EnableCreateNum: 允许创建的云端特效个数。
|
6590
|
+
# @type EnableCreateNum: Integer
|
6591
|
+
# @param TotalNum: 当前已有的特效总个数。
|
6592
|
+
# @type TotalNum: Integer
|
6388
6593
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6389
6594
|
# @type RequestId: String
|
6390
6595
|
|
6391
|
-
attr_accessor :InfoList, :RequestId
|
6596
|
+
attr_accessor :InfoList, :EnableCreateNum, :TotalNum, :RequestId
|
6392
6597
|
|
6393
|
-
def initialize(infolist=nil, requestid=nil)
|
6598
|
+
def initialize(infolist=nil, enablecreatenum=nil, totalnum=nil, requestid=nil)
|
6394
6599
|
@InfoList = infolist
|
6600
|
+
@EnableCreateNum = enablecreatenum
|
6601
|
+
@TotalNum = totalnum
|
6395
6602
|
@RequestId = requestid
|
6396
6603
|
end
|
6397
6604
|
|
@@ -6404,6 +6611,8 @@ module TencentCloud
|
|
6404
6611
|
@InfoList << cloudeffectinfo_tmp
|
6405
6612
|
end
|
6406
6613
|
end
|
6614
|
+
@EnableCreateNum = params['EnableCreateNum']
|
6615
|
+
@TotalNum = params['TotalNum']
|
6407
6616
|
@RequestId = params['RequestId']
|
6408
6617
|
end
|
6409
6618
|
end
|
@@ -12845,10 +13054,16 @@ module TencentCloud
|
|
12845
13054
|
# @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
|
12846
13055
|
# 不传递或者为空字符串,清空之前的DRM配置。
|
12847
13056
|
# @type DRMTracks: String
|
13057
|
+
# @param IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
|
13058
|
+
# 0:否。
|
13059
|
+
# 1:是。
|
13060
|
+
# @type IsAdaptiveBitRate: Integer
|
13061
|
+
# @param AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
|
13062
|
+
# @type AdaptiveChildren: Array
|
12848
13063
|
|
12849
|
-
attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
|
13064
|
+
attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks, :IsAdaptiveBitRate, :AdaptiveChildren
|
12850
13065
|
|
12851
|
-
def initialize(templateid=nil, vcodec=nil, acodec=nil, audiobitrate=nil, description=nil, videobitrate=nil, width=nil, needvideo=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil)
|
13066
|
+
def initialize(templateid=nil, vcodec=nil, acodec=nil, audiobitrate=nil, description=nil, videobitrate=nil, width=nil, needvideo=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil, isadaptivebitrate=nil, adaptivechildren=nil)
|
12852
13067
|
@TemplateId = templateid
|
12853
13068
|
@Vcodec = vcodec
|
12854
13069
|
@Acodec = acodec
|
@@ -12870,6 +13085,8 @@ module TencentCloud
|
|
12870
13085
|
@ShortEdgeAsHeight = shortedgeasheight
|
12871
13086
|
@DRMType = drmtype
|
12872
13087
|
@DRMTracks = drmtracks
|
13088
|
+
@IsAdaptiveBitRate = isadaptivebitrate
|
13089
|
+
@AdaptiveChildren = adaptivechildren
|
12873
13090
|
end
|
12874
13091
|
|
12875
13092
|
def deserialize(params)
|
@@ -12894,6 +13111,15 @@ module TencentCloud
|
|
12894
13111
|
@ShortEdgeAsHeight = params['ShortEdgeAsHeight']
|
12895
13112
|
@DRMType = params['DRMType']
|
12896
13113
|
@DRMTracks = params['DRMTracks']
|
13114
|
+
@IsAdaptiveBitRate = params['IsAdaptiveBitRate']
|
13115
|
+
unless params['AdaptiveChildren'].nil?
|
13116
|
+
@AdaptiveChildren = []
|
13117
|
+
params['AdaptiveChildren'].each do |i|
|
13118
|
+
childtemplateinfo_tmp = ChildTemplateInfo.new
|
13119
|
+
childtemplateinfo_tmp.deserialize(i)
|
13120
|
+
@AdaptiveChildren << childtemplateinfo_tmp
|
13121
|
+
end
|
13122
|
+
end
|
12897
13123
|
end
|
12898
13124
|
end
|
12899
13125
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-live
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1109
|
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-07-
|
11
|
+
date: 2025-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|