tencentcloud-sdk-live 1.0.338 → 1.0.339
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +1 -1
- data/lib/v20180801/models.rb +43 -9
- 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: 3d234a1426a01222970226d655d093ce49a66648
|
4
|
+
data.tar.gz: 4875c07e1a14e211a0f4ec369d4781013454e64e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43dc3b744c9aa8644221628af6ca7cc938af82a8698e662adff6493460cb6206c8bd68ce65efb4a435a5575c9516f53f5240dbe1240d18c2bd4c6c6ba0380efa
|
7
|
+
data.tar.gz: 4676d8cb69fdb991fd59506e85428ed84eb54d4432c009bac2a03597106fcdb46f9cb915d8c52c62470b33c40de1d9c5dd26f138a8522acc3879bd5b00f4d31d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.339
|
data/lib/v20180801/client.rb
CHANGED
@@ -450,7 +450,7 @@ module TencentCloud
|
|
450
450
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
451
451
|
end
|
452
452
|
|
453
|
-
#
|
453
|
+
# 创建转码模板,数量上限:50,成功返回模板id后,需要调用[CreateLiveTranscodeRule](/document/product/267/32647)接口,将返回的模板id绑定到流使用。
|
454
454
|
# <br>转码相关文档:[直播转封装及转码](/document/product/267/32736)。
|
455
455
|
|
456
456
|
# @param request: Request instance for CreateLiveTranscodeTemplate.
|
data/lib/v20180801/models.rb
CHANGED
@@ -1736,10 +1736,16 @@ module TencentCloud
|
|
1736
1736
|
# @type AdaptBitratePercent: Float
|
1737
1737
|
# @param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
|
1738
1738
|
# @type ShortEdgeAsHeight: Integer
|
1739
|
+
# @param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
|
1740
|
+
# 不传递或着为空字符串,清空之前的DRM配置。
|
1741
|
+
# @type DRMType: String
|
1742
|
+
# @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
|
1743
|
+
# 不传递或着为空字符串,清空之前的DRM配置。
|
1744
|
+
# @type DRMTracks: String
|
1739
1745
|
|
1740
|
-
attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight
|
1746
|
+
attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
|
1741
1747
|
|
1742
|
-
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)
|
1748
|
+
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)
|
1743
1749
|
@TemplateName = templatename
|
1744
1750
|
@VideoBitrate = videobitrate
|
1745
1751
|
@Acodec = acodec
|
@@ -1760,6 +1766,8 @@ module TencentCloud
|
|
1760
1766
|
@AiTransCode = aitranscode
|
1761
1767
|
@AdaptBitratePercent = adaptbitratepercent
|
1762
1768
|
@ShortEdgeAsHeight = shortedgeasheight
|
1769
|
+
@DRMType = drmtype
|
1770
|
+
@DRMTracks = drmtracks
|
1763
1771
|
end
|
1764
1772
|
|
1765
1773
|
def deserialize(params)
|
@@ -1783,6 +1791,8 @@ module TencentCloud
|
|
1783
1791
|
@AiTransCode = params['AiTransCode']
|
1784
1792
|
@AdaptBitratePercent = params['AdaptBitratePercent']
|
1785
1793
|
@ShortEdgeAsHeight = params['ShortEdgeAsHeight']
|
1794
|
+
@DRMType = params['DRMType']
|
1795
|
+
@DRMTracks = params['DRMTracks']
|
1786
1796
|
end
|
1787
1797
|
end
|
1788
1798
|
|
@@ -7765,10 +7775,16 @@ module TencentCloud
|
|
7765
7775
|
# @type AdaptBitratePercent: Float
|
7766
7776
|
# @param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
|
7767
7777
|
# @type ShortEdgeAsHeight: Integer
|
7778
|
+
# @param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
|
7779
|
+
# 不传递或着为空字符串,清空之前的DRM配置。
|
7780
|
+
# @type DRMType: String
|
7781
|
+
# @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
|
7782
|
+
# 不传递或着为空字符串,清空之前的DRM配置。
|
7783
|
+
# @type DRMTracks: String
|
7768
7784
|
|
7769
|
-
attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight
|
7785
|
+
attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
|
7770
7786
|
|
7771
|
-
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)
|
7787
|
+
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)
|
7772
7788
|
@TemplateId = templateid
|
7773
7789
|
@Vcodec = vcodec
|
7774
7790
|
@Acodec = acodec
|
@@ -7788,6 +7804,8 @@ module TencentCloud
|
|
7788
7804
|
@FpsToOrig = fpstoorig
|
7789
7805
|
@AdaptBitratePercent = adaptbitratepercent
|
7790
7806
|
@ShortEdgeAsHeight = shortedgeasheight
|
7807
|
+
@DRMType = drmtype
|
7808
|
+
@DRMTracks = drmtracks
|
7791
7809
|
end
|
7792
7810
|
|
7793
7811
|
def deserialize(params)
|
@@ -7810,6 +7828,8 @@ module TencentCloud
|
|
7810
7828
|
@FpsToOrig = params['FpsToOrig']
|
7811
7829
|
@AdaptBitratePercent = params['AdaptBitratePercent']
|
7812
7830
|
@ShortEdgeAsHeight = params['ShortEdgeAsHeight']
|
7831
|
+
@DRMType = params['DRMType']
|
7832
|
+
@DRMTracks = params['DRMTracks']
|
7813
7833
|
end
|
7814
7834
|
end
|
7815
7835
|
|
@@ -9413,10 +9433,16 @@ module TencentCloud
|
|
9413
9433
|
# @param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
|
9414
9434
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9415
9435
|
# @type ShortEdgeAsHeight: Integer
|
9436
|
+
# @param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
|
9437
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9438
|
+
# @type DRMType: String
|
9439
|
+
# @param DRMTracks: DRM 加密项,多个用|分割,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
|
9440
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9441
|
+
# @type DRMTracks: String
|
9416
9442
|
|
9417
|
-
attr_accessor :Vcodec, :VideoBitrate, :Acodec, :AudioBitrate, :Width, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :NeedVideo, :NeedAudio, :TemplateId, :TemplateName, :Description, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight
|
9443
|
+
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
|
9418
9444
|
|
9419
|
-
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)
|
9445
|
+
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)
|
9420
9446
|
@Vcodec = vcodec
|
9421
9447
|
@VideoBitrate = videobitrate
|
9422
9448
|
@Acodec = acodec
|
@@ -9438,6 +9464,8 @@ module TencentCloud
|
|
9438
9464
|
@AiTransCode = aitranscode
|
9439
9465
|
@AdaptBitratePercent = adaptbitratepercent
|
9440
9466
|
@ShortEdgeAsHeight = shortedgeasheight
|
9467
|
+
@DRMType = drmtype
|
9468
|
+
@DRMTracks = drmtracks
|
9441
9469
|
end
|
9442
9470
|
|
9443
9471
|
def deserialize(params)
|
@@ -9462,6 +9490,8 @@ module TencentCloud
|
|
9462
9490
|
@AiTransCode = params['AiTransCode']
|
9463
9491
|
@AdaptBitratePercent = params['AdaptBitratePercent']
|
9464
9492
|
@ShortEdgeAsHeight = params['ShortEdgeAsHeight']
|
9493
|
+
@DRMType = params['DRMType']
|
9494
|
+
@DRMTracks = params['DRMTracks']
|
9465
9495
|
end
|
9466
9496
|
end
|
9467
9497
|
|
@@ -9469,20 +9499,23 @@ module TencentCloud
|
|
9469
9499
|
class TimeShiftBillData < TencentCloud::Common::AbstractModel
|
9470
9500
|
# @param Domain: 推流域名。
|
9471
9501
|
# @type Domain: String
|
9472
|
-
# @param Duration:
|
9502
|
+
# @param Duration: 时移文件时长,单位分钟。
|
9473
9503
|
# @type Duration: Float
|
9474
9504
|
# @param StoragePeriod: 时移配置天数,单位天。
|
9475
9505
|
# @type StoragePeriod: Float
|
9476
9506
|
# @param Time: 时间点,格式: yyyy-mm-ddTHH:MM:SSZ。
|
9477
9507
|
# @type Time: String
|
9508
|
+
# @param TotalDuration: 时移总时长,单位分钟。
|
9509
|
+
# @type TotalDuration: Float
|
9478
9510
|
|
9479
|
-
attr_accessor :Domain, :Duration, :StoragePeriod, :Time
|
9511
|
+
attr_accessor :Domain, :Duration, :StoragePeriod, :Time, :TotalDuration
|
9480
9512
|
|
9481
|
-
def initialize(domain=nil, duration=nil, storageperiod=nil, time=nil)
|
9513
|
+
def initialize(domain=nil, duration=nil, storageperiod=nil, time=nil, totalduration=nil)
|
9482
9514
|
@Domain = domain
|
9483
9515
|
@Duration = duration
|
9484
9516
|
@StoragePeriod = storageperiod
|
9485
9517
|
@Time = time
|
9518
|
+
@TotalDuration = totalduration
|
9486
9519
|
end
|
9487
9520
|
|
9488
9521
|
def deserialize(params)
|
@@ -9490,6 +9523,7 @@ module TencentCloud
|
|
9490
9523
|
@Duration = params['Duration']
|
9491
9524
|
@StoragePeriod = params['StoragePeriod']
|
9492
9525
|
@Time = params['Time']
|
9526
|
+
@TotalDuration = params['TotalDuration']
|
9493
9527
|
end
|
9494
9528
|
end
|
9495
9529
|
|
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: 1.0.
|
4
|
+
version: 1.0.339
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|