tencentcloud-sdk-live 3.0.1094 → 3.0.1097
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 +136 -2
- 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: 1277035a12af368483826d2e3657542c849c3523
|
4
|
+
data.tar.gz: ba9eb13e18e9351d3dcd7f60b45bbb9948dea773
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f0d431098dca46cff34f6311dbb9190cf5e8de132409f9ab70ff026410395ecaa25b3d395fa87b4f4be622e347d662d0eca02e8875ff3545f55f9c41bf75e1d
|
7
|
+
data.tar.gz: 0d71cf2cbcee6b45a05161bf66b4a63f74288fea2cd67a14e5873edded40a8c4c333317448788efd0e0ccb2fd2dc16d0267f67bbd5944a52a678a1aca9be11d7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1097
|
data/lib/v20180801/models.rb
CHANGED
@@ -1500,6 +1500,121 @@ module TencentCloud
|
|
1500
1500
|
end
|
1501
1501
|
end
|
1502
1502
|
|
1503
|
+
# 自适应码率转码模板,子模板,出入参数。
|
1504
|
+
class ChildTemplateInfo < TencentCloud::Common::AbstractModel
|
1505
|
+
# @param TemplateId: 自适应码率转码模板,子模板Id。
|
1506
|
+
# 入参时候,填写此字段,表示更新子模板,否则是新增子模板。
|
1507
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1508
|
+
# @type TemplateId: Integer
|
1509
|
+
# @param TemplateName: 子模板名称。
|
1510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1511
|
+
# @type TemplateName: String
|
1512
|
+
# @param Vcodec: 视频编码:h264/h265/origin,默认origin。
|
1513
|
+
|
1514
|
+
# origin: 保持原始编码格式。
|
1515
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1516
|
+
# @type Vcodec: String
|
1517
|
+
# @param VideoBitrate: 视频码率。范围:0kbps - 8000kbps。
|
1518
|
+
# 0为保持原始码率。
|
1519
|
+
# 注: 转码模板有码率唯一要求,最终保存的码率可能与输入码率有所差别。
|
1520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1521
|
+
# @type VideoBitrate: Integer
|
1522
|
+
# @param Width: 宽,默认0。
|
1523
|
+
# 范围[0-3000]。
|
1524
|
+
# 数值必须是2的倍数,0是原始宽度。
|
1525
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1526
|
+
# @type Width: Integer
|
1527
|
+
# @param Height: 高,默认0。
|
1528
|
+
# 范围[0-3000]
|
1529
|
+
# 数值必须是2的倍数,0是原始高度。
|
1530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1531
|
+
# @type Height: Integer
|
1532
|
+
# @param Fps: 帧率,默认0。
|
1533
|
+
# 范围0-60fps。
|
1534
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1535
|
+
# @type Fps: Integer
|
1536
|
+
# @param Gop: 关键帧间隔,单位:秒。
|
1537
|
+
# 默认原始的间隔。
|
1538
|
+
# 范围2-6。
|
1539
|
+
# 同一个父模板下面的所有子模板,gop必须相等且存在。
|
1540
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1541
|
+
# @type Gop: Integer
|
1542
|
+
# @param NeedVideo: 是否保留视频,0:否,1:是。默认1。
|
1543
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1544
|
+
# @type NeedVideo: Integer
|
1545
|
+
# @param NeedAudio: 是否保留音频,0:否,1:是。默认1。
|
1546
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1547
|
+
# @type NeedAudio: Integer
|
1548
|
+
# @param BitrateToOrig: 当设置的码率>原始码率时,是否以原始码率为准。
|
1549
|
+
# 0:否, 1:是
|
1550
|
+
# 默认 0。
|
1551
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1552
|
+
# @type BitrateToOrig: Integer
|
1553
|
+
# @param HeightToOrig: 当设置的高度>原始高度时,是否以原始高度为准。
|
1554
|
+
# 0:否, 1:是
|
1555
|
+
# 默认 0。
|
1556
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1557
|
+
# @type HeightToOrig: Integer
|
1558
|
+
# @param FpsToOrig: 当设置的帧率>原始帧率时,是否以原始帧率为准。
|
1559
|
+
# 0:否, 1:是
|
1560
|
+
# 默认 0。
|
1561
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1562
|
+
# @type FpsToOrig: Integer
|
1563
|
+
# @param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
|
1564
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1565
|
+
# @type ShortEdgeAsHeight: Integer
|
1566
|
+
# @param HlsContainerFormat: HLS 分片类型。
|
1567
|
+
# 可选值:ts、fmp4。
|
1568
|
+
# 注:编码方式为 H.265 时生效。
|
1569
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1570
|
+
# @type HlsContainerFormat: String
|
1571
|
+
# @param HlsMp4VideoCodecTag: 编码标签。
|
1572
|
+
# 可选值:hvc1、hev1。
|
1573
|
+
# 注:HLS 分片类型选择 fmp4 时生效。
|
1574
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1575
|
+
# @type HlsMp4VideoCodecTag: String
|
1576
|
+
|
1577
|
+
attr_accessor :TemplateId, :TemplateName, :Vcodec, :VideoBitrate, :Width, :Height, :Fps, :Gop, :NeedVideo, :NeedAudio, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :ShortEdgeAsHeight, :HlsContainerFormat, :HlsMp4VideoCodecTag
|
1578
|
+
|
1579
|
+
def initialize(templateid=nil, templatename=nil, vcodec=nil, videobitrate=nil, width=nil, height=nil, fps=nil, gop=nil, needvideo=nil, needaudio=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, shortedgeasheight=nil, hlscontainerformat=nil, hlsmp4videocodectag=nil)
|
1580
|
+
@TemplateId = templateid
|
1581
|
+
@TemplateName = templatename
|
1582
|
+
@Vcodec = vcodec
|
1583
|
+
@VideoBitrate = videobitrate
|
1584
|
+
@Width = width
|
1585
|
+
@Height = height
|
1586
|
+
@Fps = fps
|
1587
|
+
@Gop = gop
|
1588
|
+
@NeedVideo = needvideo
|
1589
|
+
@NeedAudio = needaudio
|
1590
|
+
@BitrateToOrig = bitratetoorig
|
1591
|
+
@HeightToOrig = heighttoorig
|
1592
|
+
@FpsToOrig = fpstoorig
|
1593
|
+
@ShortEdgeAsHeight = shortedgeasheight
|
1594
|
+
@HlsContainerFormat = hlscontainerformat
|
1595
|
+
@HlsMp4VideoCodecTag = hlsmp4videocodectag
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
def deserialize(params)
|
1599
|
+
@TemplateId = params['TemplateId']
|
1600
|
+
@TemplateName = params['TemplateName']
|
1601
|
+
@Vcodec = params['Vcodec']
|
1602
|
+
@VideoBitrate = params['VideoBitrate']
|
1603
|
+
@Width = params['Width']
|
1604
|
+
@Height = params['Height']
|
1605
|
+
@Fps = params['Fps']
|
1606
|
+
@Gop = params['Gop']
|
1607
|
+
@NeedVideo = params['NeedVideo']
|
1608
|
+
@NeedAudio = params['NeedAudio']
|
1609
|
+
@BitrateToOrig = params['BitrateToOrig']
|
1610
|
+
@HeightToOrig = params['HeightToOrig']
|
1611
|
+
@FpsToOrig = params['FpsToOrig']
|
1612
|
+
@ShortEdgeAsHeight = params['ShortEdgeAsHeight']
|
1613
|
+
@HlsContainerFormat = params['HlsContainerFormat']
|
1614
|
+
@HlsMp4VideoCodecTag = params['HlsMp4VideoCodecTag']
|
1615
|
+
end
|
1616
|
+
end
|
1617
|
+
|
1503
1618
|
# 客户端ip播放汇总信息。
|
1504
1619
|
class ClientIpPlaySumInfo < TencentCloud::Common::AbstractModel
|
1505
1620
|
# @param ClientIp: 客户端 IP,点分型。
|
@@ -15021,10 +15136,18 @@ module TencentCloud
|
|
15021
15136
|
# @param DRMTracks: DRM 加密项,多个用|分割,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
|
15022
15137
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15023
15138
|
# @type DRMTracks: String
|
15139
|
+
# @param IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
|
15140
|
+
# 0:否。
|
15141
|
+
# 1:是。
|
15142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15143
|
+
# @type IsAdaptiveBitRate: Integer
|
15144
|
+
# @param AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
|
15145
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15146
|
+
# @type AdaptiveChildren: Array
|
15024
15147
|
|
15025
|
-
attr_accessor :Vcodec, :VideoBitrate, :Acodec, :AudioBitrate, :Width, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :NeedVideo, :NeedAudio, :TemplateId, :TemplateName, :Description, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
|
15148
|
+
attr_accessor :Vcodec, :VideoBitrate, :Acodec, :AudioBitrate, :Width, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :NeedVideo, :NeedAudio, :TemplateId, :TemplateName, :Description, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks, :IsAdaptiveBitRate, :AdaptiveChildren
|
15026
15149
|
|
15027
|
-
def initialize(vcodec=nil, videobitrate=nil, acodec=nil, audiobitrate=nil, width=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, needvideo=nil, needaudio=nil, templateid=nil, templatename=nil, description=nil, aitranscode=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil)
|
15150
|
+
def initialize(vcodec=nil, videobitrate=nil, acodec=nil, audiobitrate=nil, width=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, needvideo=nil, needaudio=nil, templateid=nil, templatename=nil, description=nil, aitranscode=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil, isadaptivebitrate=nil, adaptivechildren=nil)
|
15028
15151
|
@Vcodec = vcodec
|
15029
15152
|
@VideoBitrate = videobitrate
|
15030
15153
|
@Acodec = acodec
|
@@ -15048,6 +15171,8 @@ module TencentCloud
|
|
15048
15171
|
@ShortEdgeAsHeight = shortedgeasheight
|
15049
15172
|
@DRMType = drmtype
|
15050
15173
|
@DRMTracks = drmtracks
|
15174
|
+
@IsAdaptiveBitRate = isadaptivebitrate
|
15175
|
+
@AdaptiveChildren = adaptivechildren
|
15051
15176
|
end
|
15052
15177
|
|
15053
15178
|
def deserialize(params)
|
@@ -15074,6 +15199,15 @@ module TencentCloud
|
|
15074
15199
|
@ShortEdgeAsHeight = params['ShortEdgeAsHeight']
|
15075
15200
|
@DRMType = params['DRMType']
|
15076
15201
|
@DRMTracks = params['DRMTracks']
|
15202
|
+
@IsAdaptiveBitRate = params['IsAdaptiveBitRate']
|
15203
|
+
unless params['AdaptiveChildren'].nil?
|
15204
|
+
@AdaptiveChildren = []
|
15205
|
+
params['AdaptiveChildren'].each do |i|
|
15206
|
+
childtemplateinfo_tmp = ChildTemplateInfo.new
|
15207
|
+
childtemplateinfo_tmp.deserialize(i)
|
15208
|
+
@AdaptiveChildren << childtemplateinfo_tmp
|
15209
|
+
end
|
15210
|
+
end
|
15077
15211
|
end
|
15078
15212
|
end
|
15079
15213
|
|
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.1097
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|