tencentcloud-sdk-live 3.0.445 → 3.0.447
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 +40 -11
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 595caac93a9e7dd6e7787c1d855fc9ff224a1eb3
|
4
|
+
data.tar.gz: 7ec10fc27a983300293e919f435a6283a41a1642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc740b833b980f9e7ff6a207ec4bc792efc59de32136bcd1502bbf86d76b4bb319fc984ee0eaebda64665bd578c063b1f95ea013231f77b3f8c2e8cbf3c43faa
|
7
|
+
data.tar.gz: ec7307b10f95bc88d907c9adae187ad3ea32bccaa6c43bdcfad3419ff586f954b64ca57b3b7a833abff1b26e6ba29d3a38daed3cab01a3e0523d5ee64016dbd7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.447
|
data/lib/v20180801/models.rb
CHANGED
@@ -1085,6 +1085,7 @@ module TencentCloud
|
|
1085
1085
|
# @param SourceType: 拉流源的类型:
|
1086
1086
|
# PullLivePushLive -直播,
|
1087
1087
|
# PullVodPushLive -点播。
|
1088
|
+
# PullPicPushLive -图片。
|
1088
1089
|
# @type SourceType: String
|
1089
1090
|
# @param SourceUrls: 拉流源 url 列表。
|
1090
1091
|
# SourceType 为直播(PullLivePushLive)只可以填1个,
|
@@ -1185,10 +1186,15 @@ module TencentCloud
|
|
1185
1186
|
# 2. 水印图片 URL 请使用合法外网可访问地址。
|
1186
1187
|
# 3. 支持的水印图片格式:png,jpg,gif 等。
|
1187
1188
|
# @type WatermarkList: Array
|
1189
|
+
# @param VodLocalMode: 点播源是否启用本地推流模式,默认0,不启用。
|
1190
|
+
# 0 - 不启用。
|
1191
|
+
# 1 - 启用。
|
1192
|
+
# 注意:启用本地模式后,会将源列表中的 MP4 文件进行本地下载,优先使用本地已下载文件进行推流,提高点播源推流稳定性。使用本地下载文件推流时,会产生增值费用。
|
1193
|
+
# @type VodLocalMode: Integer
|
1188
1194
|
|
1189
|
-
attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment, :ToUrl, :BackupSourceType, :BackupSourceUrl, :WatermarkList
|
1195
|
+
attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment, :ToUrl, :BackupSourceType, :BackupSourceUrl, :WatermarkList, :VodLocalMode
|
1190
1196
|
|
1191
|
-
def initialize(sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, starttime=nil, endtime=nil, operator=nil, pushargs=nil, callbackevents=nil, vodlooptimes=nil, vodrefreshtype=nil, callbackurl=nil, extracmd=nil, comment=nil, tourl=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil)
|
1197
|
+
def initialize(sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, starttime=nil, endtime=nil, operator=nil, pushargs=nil, callbackevents=nil, vodlooptimes=nil, vodrefreshtype=nil, callbackurl=nil, extracmd=nil, comment=nil, tourl=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil, vodlocalmode=nil)
|
1192
1198
|
@SourceType = sourcetype
|
1193
1199
|
@SourceUrls = sourceurls
|
1194
1200
|
@DomainName = domainname
|
@@ -1208,6 +1214,7 @@ module TencentCloud
|
|
1208
1214
|
@BackupSourceType = backupsourcetype
|
1209
1215
|
@BackupSourceUrl = backupsourceurl
|
1210
1216
|
@WatermarkList = watermarklist
|
1217
|
+
@VodLocalMode = vodlocalmode
|
1211
1218
|
end
|
1212
1219
|
|
1213
1220
|
def deserialize(params)
|
@@ -1237,6 +1244,7 @@ module TencentCloud
|
|
1237
1244
|
@WatermarkList << pullpushwatermarkinfo_tmp
|
1238
1245
|
end
|
1239
1246
|
end
|
1247
|
+
@VodLocalMode = params['VodLocalMode']
|
1240
1248
|
end
|
1241
1249
|
end
|
1242
1250
|
|
@@ -7593,8 +7601,9 @@ module TencentCloud
|
|
7593
7601
|
# PullVodPushLive -点播。
|
7594
7602
|
# 注意:
|
7595
7603
|
# 1. 仅当主源类型为直播源时,备源才会生效。
|
7596
|
-
# 2.
|
7597
|
-
# 3.
|
7604
|
+
# 2. 将该参数置为空,则可将任务去除备源信息。
|
7605
|
+
# 3. 主直播源拉流中断时,自动使用备源进行拉流。
|
7606
|
+
# 4. 如果备源为点播文件时,则每次轮播完点播文件就检查主源是否恢复,如果主源恢复则自动切回到主源,否则继续拉备源。
|
7598
7607
|
# @type BackupSourceType: String
|
7599
7608
|
# @param BackupSourceUrl: 备源 URL。
|
7600
7609
|
# 只允许填一个备源 URL
|
@@ -7609,10 +7618,15 @@ module TencentCloud
|
|
7609
7618
|
# 6. 清除水印时,需携带该水印列表参数,内容为空数组。
|
7610
7619
|
# 7. 暂不支持动图水印。
|
7611
7620
|
# @type WatermarkList: Array
|
7621
|
+
# @param VodLocalMode: 点播源是否启用本地推流模式,默认0,不启用。
|
7622
|
+
# 0 - 不启用。
|
7623
|
+
# 1 - 启用。
|
7624
|
+
# 注意:启用本地模式后,会将源列表中的 MP4 文件进行本地下载,优先使用本地已下载文件进行推流,提高点播源推流稳定性。使用本地下载文件推流时,会产生增值费用。
|
7625
|
+
# @type VodLocalMode: Integer
|
7612
7626
|
|
7613
|
-
attr_accessor :TaskId, :Operator, :SourceUrls, :StartTime, :EndTime, :VodLoopTimes, :VodRefreshType, :Status, :CallbackEvents, :CallbackUrl, :FileIndex, :OffsetTime, :Comment, :BackupSourceType, :BackupSourceUrl, :WatermarkList
|
7627
|
+
attr_accessor :TaskId, :Operator, :SourceUrls, :StartTime, :EndTime, :VodLoopTimes, :VodRefreshType, :Status, :CallbackEvents, :CallbackUrl, :FileIndex, :OffsetTime, :Comment, :BackupSourceType, :BackupSourceUrl, :WatermarkList, :VodLocalMode
|
7614
7628
|
|
7615
|
-
def initialize(taskid=nil, operator=nil, sourceurls=nil, starttime=nil, endtime=nil, vodlooptimes=nil, vodrefreshtype=nil, status=nil, callbackevents=nil, callbackurl=nil, fileindex=nil, offsettime=nil, comment=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil)
|
7629
|
+
def initialize(taskid=nil, operator=nil, sourceurls=nil, starttime=nil, endtime=nil, vodlooptimes=nil, vodrefreshtype=nil, status=nil, callbackevents=nil, callbackurl=nil, fileindex=nil, offsettime=nil, comment=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil, vodlocalmode=nil)
|
7616
7630
|
@TaskId = taskid
|
7617
7631
|
@Operator = operator
|
7618
7632
|
@SourceUrls = sourceurls
|
@@ -7629,6 +7643,7 @@ module TencentCloud
|
|
7629
7643
|
@BackupSourceType = backupsourcetype
|
7630
7644
|
@BackupSourceUrl = backupsourceurl
|
7631
7645
|
@WatermarkList = watermarklist
|
7646
|
+
@VodLocalMode = vodlocalmode
|
7632
7647
|
end
|
7633
7648
|
|
7634
7649
|
def deserialize(params)
|
@@ -7655,6 +7670,7 @@ module TencentCloud
|
|
7655
7670
|
@WatermarkList << pullpushwatermarkinfo_tmp
|
7656
7671
|
end
|
7657
7672
|
end
|
7673
|
+
@VodLocalMode = params['VodLocalMode']
|
7658
7674
|
end
|
7659
7675
|
end
|
7660
7676
|
|
@@ -8513,7 +8529,8 @@ module TencentCloud
|
|
8513
8529
|
# @type TaskId: String
|
8514
8530
|
# @param SourceType: 拉流源的类型:
|
8515
8531
|
# PullLivePushLive -直播,
|
8516
|
-
# PullVodPushLive
|
8532
|
+
# PullVodPushLive -点播,
|
8533
|
+
# PullPicPushLive -图片。
|
8517
8534
|
# @type SourceType: String
|
8518
8535
|
# @param SourceUrls: 拉流源url列表。
|
8519
8536
|
# SourceType为直播(PullLiveToLive)只可以填1个,
|
@@ -8612,10 +8629,15 @@ module TencentCloud
|
|
8612
8629
|
# @param WatermarkList: 水印信息列表。
|
8613
8630
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8614
8631
|
# @type WatermarkList: Array
|
8632
|
+
# @param VodLocalMode: 点播源是否启用本地推流模式,默认0,不启用。
|
8633
|
+
# 0 - 不启用。
|
8634
|
+
# 1 - 启用。
|
8635
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8636
|
+
# @type VodLocalMode: Integer
|
8615
8637
|
|
8616
|
-
attr_accessor :TaskId, :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :PushArgs, :StartTime, :EndTime, :Region, :VodLoopTimes, :VodRefreshType, :CreateTime, :UpdateTime, :CreateBy, :UpdateBy, :CallbackUrl, :CallbackEvents, :CallbackInfo, :ErrorInfo, :Status, :RecentPullInfo, :Comment, :BackupSourceType, :BackupSourceUrl, :WatermarkList
|
8638
|
+
attr_accessor :TaskId, :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :PushArgs, :StartTime, :EndTime, :Region, :VodLoopTimes, :VodRefreshType, :CreateTime, :UpdateTime, :CreateBy, :UpdateBy, :CallbackUrl, :CallbackEvents, :CallbackInfo, :ErrorInfo, :Status, :RecentPullInfo, :Comment, :BackupSourceType, :BackupSourceUrl, :WatermarkList, :VodLocalMode
|
8617
8639
|
|
8618
|
-
def initialize(taskid=nil, sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, pushargs=nil, starttime=nil, endtime=nil, region=nil, vodlooptimes=nil, vodrefreshtype=nil, createtime=nil, updatetime=nil, createby=nil, updateby=nil, callbackurl=nil, callbackevents=nil, callbackinfo=nil, errorinfo=nil, status=nil, recentpullinfo=nil, comment=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil)
|
8640
|
+
def initialize(taskid=nil, sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, pushargs=nil, starttime=nil, endtime=nil, region=nil, vodlooptimes=nil, vodrefreshtype=nil, createtime=nil, updatetime=nil, createby=nil, updateby=nil, callbackurl=nil, callbackevents=nil, callbackinfo=nil, errorinfo=nil, status=nil, recentpullinfo=nil, comment=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil, vodlocalmode=nil)
|
8619
8641
|
@TaskId = taskid
|
8620
8642
|
@SourceType = sourcetype
|
8621
8643
|
@SourceUrls = sourceurls
|
@@ -8642,6 +8664,7 @@ module TencentCloud
|
|
8642
8664
|
@BackupSourceType = backupsourcetype
|
8643
8665
|
@BackupSourceUrl = backupsourceurl
|
8644
8666
|
@WatermarkList = watermarklist
|
8667
|
+
@VodLocalMode = vodlocalmode
|
8645
8668
|
end
|
8646
8669
|
|
8647
8670
|
def deserialize(params)
|
@@ -8681,6 +8704,7 @@ module TencentCloud
|
|
8681
8704
|
@WatermarkList << pullpushwatermarkinfo_tmp
|
8682
8705
|
end
|
8683
8706
|
end
|
8707
|
+
@VodLocalMode = params['VodLocalMode']
|
8684
8708
|
end
|
8685
8709
|
end
|
8686
8710
|
|
@@ -8844,10 +8868,13 @@ module TencentCloud
|
|
8844
8868
|
# @type Bandwidth: Float
|
8845
8869
|
# @param Flux: 流量,单位MB。
|
8846
8870
|
# @type Flux: Float
|
8871
|
+
# @param ServerIp: 推流服务端 IP。
|
8872
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8873
|
+
# @type ServerIp: String
|
8847
8874
|
|
8848
|
-
attr_accessor :Time, :PushDomain, :AppName, :ClientIp, :BeginPushTime, :Resolution, :VCodec, :ACodec, :Sequence, :VideoFps, :VideoRate, :AudioFps, :AudioRate, :LocalTs, :VideoTs, :AudioTs, :MetaVideoRate, :MetaAudioRate, :MateFps, :StreamParam, :Bandwidth, :Flux
|
8875
|
+
attr_accessor :Time, :PushDomain, :AppName, :ClientIp, :BeginPushTime, :Resolution, :VCodec, :ACodec, :Sequence, :VideoFps, :VideoRate, :AudioFps, :AudioRate, :LocalTs, :VideoTs, :AudioTs, :MetaVideoRate, :MetaAudioRate, :MateFps, :StreamParam, :Bandwidth, :Flux, :ServerIp
|
8849
8876
|
|
8850
|
-
def initialize(time=nil, pushdomain=nil, appname=nil, clientip=nil, beginpushtime=nil, resolution=nil, vcodec=nil, acodec=nil, sequence=nil, videofps=nil, videorate=nil, audiofps=nil, audiorate=nil, localts=nil, videots=nil, audiots=nil, metavideorate=nil, metaaudiorate=nil, matefps=nil, streamparam=nil, bandwidth=nil, flux=nil)
|
8877
|
+
def initialize(time=nil, pushdomain=nil, appname=nil, clientip=nil, beginpushtime=nil, resolution=nil, vcodec=nil, acodec=nil, sequence=nil, videofps=nil, videorate=nil, audiofps=nil, audiorate=nil, localts=nil, videots=nil, audiots=nil, metavideorate=nil, metaaudiorate=nil, matefps=nil, streamparam=nil, bandwidth=nil, flux=nil, serverip=nil)
|
8851
8878
|
@Time = time
|
8852
8879
|
@PushDomain = pushdomain
|
8853
8880
|
@AppName = appname
|
@@ -8870,6 +8897,7 @@ module TencentCloud
|
|
8870
8897
|
@StreamParam = streamparam
|
8871
8898
|
@Bandwidth = bandwidth
|
8872
8899
|
@Flux = flux
|
8900
|
+
@ServerIp = serverip
|
8873
8901
|
end
|
8874
8902
|
|
8875
8903
|
def deserialize(params)
|
@@ -8895,6 +8923,7 @@ module TencentCloud
|
|
8895
8923
|
@StreamParam = params['StreamParam']
|
8896
8924
|
@Bandwidth = params['Bandwidth']
|
8897
8925
|
@Flux = params['Flux']
|
8926
|
+
@ServerIp = params['ServerIp']
|
8898
8927
|
end
|
8899
8928
|
end
|
8900
8929
|
|
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.447
|
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-11-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
28
|
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
29
|
LIVE.
|