tencentcloud-sdk-live 3.0.1098 → 3.0.1102

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20cb450ef7a2d17774529e56a54dca825eee936d
4
- data.tar.gz: d843ac8c00005abf8371407c0f10c6e44b6bb7fb
3
+ metadata.gz: 8552b0d2eb7bb532437c8054fbe475d85ac3c537
4
+ data.tar.gz: 66fa57e23304a5563fcac6b023e12890657a110a
5
5
  SHA512:
6
- metadata.gz: 8e550e90a5d0140b09c3d23e25ba134345a687ed295b71187f3e77eac92b72348cd59715495fd0c08e12c98291ef3c6732f255c2513bb58fd704eb322b7b7c32
7
- data.tar.gz: 2b3f009b6dce0926e1d88f05e43695bae8ee824da571b2264800fff35d457ab244cdb70f87f5b3592ea0c03b207fe66e9a280a1bea7fc07cb501583f22cac919
6
+ metadata.gz: 6d8acd423039db70b606ce526d5c7b64b2221d39afeb61257d2bb7b18b0c86b20f0ea2aa3eb7c6d1ad5c559d0c2fc350afdf7a07649a5daf36a96601150db1d7
7
+ data.tar.gz: a74a89d7c24f932a92f3fd6b6b3c2af59240657edfe5ef2a3f198d03fabf963bebf78c0c7a76fe8284028824b1eca57f412b1b473862b7ed074bf7b120fa2f03
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1098
1
+ 3.0.1102
@@ -295,6 +295,30 @@ module TencentCloud
295
295
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
296
296
  end
297
297
 
298
+ # 创建关键词,并关联到关键词库。
299
+
300
+ # @param request: Request instance for CreateAuditKeywords.
301
+ # @type request: :class:`Tencentcloud::live::V20180801::CreateAuditKeywordsRequest`
302
+ # @rtype: :class:`Tencentcloud::live::V20180801::CreateAuditKeywordsResponse`
303
+ def CreateAuditKeywords(request)
304
+ body = send_request('CreateAuditKeywords', request.serialize)
305
+ response = JSON.parse(body)
306
+ if response['Response'].key?('Error') == false
307
+ model = CreateAuditKeywordsResponse.new
308
+ model.deserialize(response['Response'])
309
+ model
310
+ else
311
+ code = response['Response']['Error']['Code']
312
+ message = response['Response']['Error']['Message']
313
+ reqid = response['Response']['RequestId']
314
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
315
+ end
316
+ rescue TencentCloud::Common::TencentCloudSDKException => e
317
+ raise e
318
+ rescue StandardError => e
319
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
320
+ end
321
+
298
322
  # 该接口用来创建新的导播台
299
323
 
300
324
  # @param request: Request instance for CreateCaster.
@@ -951,6 +975,30 @@ module TencentCloud
951
975
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
952
976
  end
953
977
 
978
+ # 删除关键词信息。
979
+
980
+ # @param request: Request instance for DeleteAuditKeywords.
981
+ # @type request: :class:`Tencentcloud::live::V20180801::DeleteAuditKeywordsRequest`
982
+ # @rtype: :class:`Tencentcloud::live::V20180801::DeleteAuditKeywordsResponse`
983
+ def DeleteAuditKeywords(request)
984
+ body = send_request('DeleteAuditKeywords', request.serialize)
985
+ response = JSON.parse(body)
986
+ if response['Response'].key?('Error') == false
987
+ model = DeleteAuditKeywordsResponse.new
988
+ model.deserialize(response['Response'])
989
+ model
990
+ else
991
+ code = response['Response']['Error']['Code']
992
+ message = response['Response']['Error']['Message']
993
+ reqid = response['Response']['RequestId']
994
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
995
+ end
996
+ rescue TencentCloud::Common::TencentCloudSDKException => e
997
+ raise e
998
+ rescue StandardError => e
999
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1000
+ end
1001
+
954
1002
  # 该接口用来删除一个导播台的所有信息。
955
1003
  # 注意,调用该接口后,所有的导播台信息将被清除,包括正在直播的内容也将直接中断。
956
1004
 
@@ -1654,6 +1702,30 @@ module TencentCloud
1654
1702
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1655
1703
  end
1656
1704
 
1705
+ # 获取关键词信息。
1706
+
1707
+ # @param request: Request instance for DescribeAuditKeywords.
1708
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeAuditKeywordsRequest`
1709
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeAuditKeywordsResponse`
1710
+ def DescribeAuditKeywords(request)
1711
+ body = send_request('DescribeAuditKeywords', request.serialize)
1712
+ response = JSON.parse(body)
1713
+ if response['Response'].key?('Error') == false
1714
+ model = DescribeAuditKeywordsResponse.new
1715
+ model.deserialize(response['Response'])
1716
+ model
1717
+ else
1718
+ code = response['Response']['Error']['Code']
1719
+ message = response['Response']['Error']['Message']
1720
+ reqid = response['Response']['RequestId']
1721
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1722
+ end
1723
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1724
+ raise e
1725
+ rescue StandardError => e
1726
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1727
+ end
1728
+
1657
1729
  # 返回正在直播中的流列表。适用于推流成功后查询在线流信息。
1658
1730
 
1659
1731
  # 注意:
@@ -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: 要验证的域名。
@@ -1995,6 +2075,64 @@ module TencentCloud
1995
2075
  end
1996
2076
  end
1997
2077
 
2078
+ # CreateAuditKeywords请求参数结构体
2079
+ class CreateAuditKeywordsRequest < TencentCloud::Common::AbstractModel
2080
+ # @param Keywords: 关键词列表。
2081
+ # @type Keywords: Array
2082
+ # @param LibId: 直播审核词库Id。
2083
+ # @type LibId: String
2084
+
2085
+ attr_accessor :Keywords, :LibId
2086
+
2087
+ def initialize(keywords=nil, libid=nil)
2088
+ @Keywords = keywords
2089
+ @LibId = libid
2090
+ end
2091
+
2092
+ def deserialize(params)
2093
+ unless params['Keywords'].nil?
2094
+ @Keywords = []
2095
+ params['Keywords'].each do |i|
2096
+ auditkeyword_tmp = AuditKeyword.new
2097
+ auditkeyword_tmp.deserialize(i)
2098
+ @Keywords << auditkeyword_tmp
2099
+ end
2100
+ end
2101
+ @LibId = params['LibId']
2102
+ end
2103
+ end
2104
+
2105
+ # CreateAuditKeywords返回参数结构体
2106
+ class CreateAuditKeywordsResponse < TencentCloud::Common::AbstractModel
2107
+ # @param KeywordIds: 添加成功的关键词 Id 列表。
2108
+ # @type KeywordIds: Array
2109
+ # @param DupInfos: 重复关键词列表。
2110
+ # @type DupInfos: Array
2111
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2112
+ # @type RequestId: String
2113
+
2114
+ attr_accessor :KeywordIds, :DupInfos, :RequestId
2115
+
2116
+ def initialize(keywordids=nil, dupinfos=nil, requestid=nil)
2117
+ @KeywordIds = keywordids
2118
+ @DupInfos = dupinfos
2119
+ @RequestId = requestid
2120
+ end
2121
+
2122
+ def deserialize(params)
2123
+ @KeywordIds = params['KeywordIds']
2124
+ unless params['DupInfos'].nil?
2125
+ @DupInfos = []
2126
+ params['DupInfos'].each do |i|
2127
+ auditkeywordinfo_tmp = AuditKeywordInfo.new
2128
+ auditkeywordinfo_tmp.deserialize(i)
2129
+ @DupInfos << auditkeywordinfo_tmp
2130
+ end
2131
+ end
2132
+ @RequestId = params['RequestId']
2133
+ end
2134
+ end
2135
+
1998
2136
  # CreateCasterInputPushUrl请求参数结构体
1999
2137
  class CreateCasterInputPushUrlRequest < TencentCloud::Common::AbstractModel
2000
2138
  # @param CasterId: 导播台ID
@@ -3558,10 +3696,16 @@ module TencentCloud
3558
3696
  # @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
3559
3697
  # 不传递或者为空字符串,清空之前的DRM配置。
3560
3698
  # @type DRMTracks: String
3699
+ # @param IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
3700
+ # 0:否。
3701
+ # 1:是。
3702
+ # @type IsAdaptiveBitRate: Integer
3703
+ # @param AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
3704
+ # @type AdaptiveChildren: Array
3561
3705
 
3562
- attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
3706
+ 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
3563
3707
 
3564
- 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)
3708
+ 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)
3565
3709
  @TemplateName = templatename
3566
3710
  @VideoBitrate = videobitrate
3567
3711
  @Acodec = acodec
@@ -3584,6 +3728,8 @@ module TencentCloud
3584
3728
  @ShortEdgeAsHeight = shortedgeasheight
3585
3729
  @DRMType = drmtype
3586
3730
  @DRMTracks = drmtracks
3731
+ @IsAdaptiveBitRate = isadaptivebitrate
3732
+ @AdaptiveChildren = adaptivechildren
3587
3733
  end
3588
3734
 
3589
3735
  def deserialize(params)
@@ -3609,6 +3755,15 @@ module TencentCloud
3609
3755
  @ShortEdgeAsHeight = params['ShortEdgeAsHeight']
3610
3756
  @DRMType = params['DRMType']
3611
3757
  @DRMTracks = params['DRMTracks']
3758
+ @IsAdaptiveBitRate = params['IsAdaptiveBitRate']
3759
+ unless params['AdaptiveChildren'].nil?
3760
+ @AdaptiveChildren = []
3761
+ params['AdaptiveChildren'].each do |i|
3762
+ childtemplateinfo_tmp = ChildTemplateInfo.new
3763
+ childtemplateinfo_tmp.deserialize(i)
3764
+ @AdaptiveChildren << childtemplateinfo_tmp
3765
+ end
3766
+ end
3612
3767
  end
3613
3768
  end
3614
3769
 
@@ -3970,6 +4125,57 @@ module TencentCloud
3970
4125
  end
3971
4126
  end
3972
4127
 
4128
+ # DeleteAuditKeywords请求参数结构体
4129
+ class DeleteAuditKeywordsRequest < TencentCloud::Common::AbstractModel
4130
+ # @param KeywordIds: 要删除的关键词 Id 列表。
4131
+ # @type KeywordIds: Array
4132
+ # @param LibId: 关键词库 Id。
4133
+ # @type LibId: String
4134
+
4135
+ attr_accessor :KeywordIds, :LibId
4136
+
4137
+ def initialize(keywordids=nil, libid=nil)
4138
+ @KeywordIds = keywordids
4139
+ @LibId = libid
4140
+ end
4141
+
4142
+ def deserialize(params)
4143
+ @KeywordIds = params['KeywordIds']
4144
+ @LibId = params['LibId']
4145
+ end
4146
+ end
4147
+
4148
+ # DeleteAuditKeywords返回参数结构体
4149
+ class DeleteAuditKeywordsResponse < TencentCloud::Common::AbstractModel
4150
+ # @param SuccessCount: 成功删除关键词的数量。
4151
+ # @type SuccessCount: Integer
4152
+ # @param Infos: 关键词详情列表。
4153
+ # @type Infos: Array
4154
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4155
+ # @type RequestId: String
4156
+
4157
+ attr_accessor :SuccessCount, :Infos, :RequestId
4158
+
4159
+ def initialize(successcount=nil, infos=nil, requestid=nil)
4160
+ @SuccessCount = successcount
4161
+ @Infos = infos
4162
+ @RequestId = requestid
4163
+ end
4164
+
4165
+ def deserialize(params)
4166
+ @SuccessCount = params['SuccessCount']
4167
+ unless params['Infos'].nil?
4168
+ @Infos = []
4169
+ params['Infos'].each do |i|
4170
+ auditkeyworddeletedetail_tmp = AuditKeywordDeleteDetail.new
4171
+ auditkeyworddeletedetail_tmp.deserialize(i)
4172
+ @Infos << auditkeyworddeletedetail_tmp
4173
+ end
4174
+ end
4175
+ @RequestId = params['RequestId']
4176
+ end
4177
+ end
4178
+
3973
4179
  # DeleteCasterInputInfo请求参数结构体
3974
4180
  class DeleteCasterInputInfoRequest < TencentCloud::Common::AbstractModel
3975
4181
  # @param CasterId: 导播台ID
@@ -5058,6 +5264,70 @@ module TencentCloud
5058
5264
  end
5059
5265
  end
5060
5266
 
5267
+ # DescribeAuditKeywords请求参数结构体
5268
+ class DescribeAuditKeywordsRequest < TencentCloud::Common::AbstractModel
5269
+ # @param Offset: 获取偏移量。
5270
+ # @type Offset: Integer
5271
+ # @param Limit: 单页条数,最大为100条,超过则按100条返回。
5272
+ # @type Limit: Integer
5273
+ # @param LibId: 关键词库 Id。
5274
+ # @type LibId: String
5275
+ # @param Content: 关键词搜索字段。
5276
+ # 为空字符串时忽略。
5277
+ # @type Content: String
5278
+ # @param Labels: 标签类别搜索。
5279
+ # @type Labels: Array
5280
+
5281
+ attr_accessor :Offset, :Limit, :LibId, :Content, :Labels
5282
+
5283
+ def initialize(offset=nil, limit=nil, libid=nil, content=nil, labels=nil)
5284
+ @Offset = offset
5285
+ @Limit = limit
5286
+ @LibId = libid
5287
+ @Content = content
5288
+ @Labels = labels
5289
+ end
5290
+
5291
+ def deserialize(params)
5292
+ @Offset = params['Offset']
5293
+ @Limit = params['Limit']
5294
+ @LibId = params['LibId']
5295
+ @Content = params['Content']
5296
+ @Labels = params['Labels']
5297
+ end
5298
+ end
5299
+
5300
+ # DescribeAuditKeywords返回参数结构体
5301
+ class DescribeAuditKeywordsResponse < TencentCloud::Common::AbstractModel
5302
+ # @param Total: 关键词总条数。
5303
+ # @type Total: Integer
5304
+ # @param Infos: 关键词详情列表。
5305
+ # @type Infos: Array
5306
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5307
+ # @type RequestId: String
5308
+
5309
+ attr_accessor :Total, :Infos, :RequestId
5310
+
5311
+ def initialize(total=nil, infos=nil, requestid=nil)
5312
+ @Total = total
5313
+ @Infos = infos
5314
+ @RequestId = requestid
5315
+ end
5316
+
5317
+ def deserialize(params)
5318
+ @Total = params['Total']
5319
+ unless params['Infos'].nil?
5320
+ @Infos = []
5321
+ params['Infos'].each do |i|
5322
+ auditkeywordinfo_tmp = AuditKeywordInfo.new
5323
+ auditkeywordinfo_tmp.deserialize(i)
5324
+ @Infos << auditkeywordinfo_tmp
5325
+ end
5326
+ end
5327
+ @RequestId = params['RequestId']
5328
+ end
5329
+ end
5330
+
5061
5331
  # DescribeBackupStreamList请求参数结构体
5062
5332
  class DescribeBackupStreamListRequest < TencentCloud::Common::AbstractModel
5063
5333
  # @param StreamName: 流名称,用于精确查询。
@@ -12764,10 +13034,16 @@ module TencentCloud
12764
13034
  # @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
12765
13035
  # 不传递或者为空字符串,清空之前的DRM配置。
12766
13036
  # @type DRMTracks: String
13037
+ # @param IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
13038
+ # 0:否。
13039
+ # 1:是。
13040
+ # @type IsAdaptiveBitRate: Integer
13041
+ # @param AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
13042
+ # @type AdaptiveChildren: Array
12767
13043
 
12768
- attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
13044
+ 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
12769
13045
 
12770
- 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)
13046
+ 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)
12771
13047
  @TemplateId = templateid
12772
13048
  @Vcodec = vcodec
12773
13049
  @Acodec = acodec
@@ -12789,6 +13065,8 @@ module TencentCloud
12789
13065
  @ShortEdgeAsHeight = shortedgeasheight
12790
13066
  @DRMType = drmtype
12791
13067
  @DRMTracks = drmtracks
13068
+ @IsAdaptiveBitRate = isadaptivebitrate
13069
+ @AdaptiveChildren = adaptivechildren
12792
13070
  end
12793
13071
 
12794
13072
  def deserialize(params)
@@ -12813,6 +13091,15 @@ module TencentCloud
12813
13091
  @ShortEdgeAsHeight = params['ShortEdgeAsHeight']
12814
13092
  @DRMType = params['DRMType']
12815
13093
  @DRMTracks = params['DRMTracks']
13094
+ @IsAdaptiveBitRate = params['IsAdaptiveBitRate']
13095
+ unless params['AdaptiveChildren'].nil?
13096
+ @AdaptiveChildren = []
13097
+ params['AdaptiveChildren'].each do |i|
13098
+ childtemplateinfo_tmp = ChildTemplateInfo.new
13099
+ childtemplateinfo_tmp.deserialize(i)
13100
+ @AdaptiveChildren << childtemplateinfo_tmp
13101
+ end
13102
+ end
12816
13103
  end
12817
13104
  end
12818
13105
 
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.1098
4
+ version: 3.0.1102
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-10 00:00:00.000000000 Z
11
+ date: 2025-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common