tencentcloud-sdk-live 3.0.388 → 3.0.389
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/models.rb +107 -7
- 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: 7a1451908586fb0ca37fa34014d0ef3b4db979b3
|
4
|
+
data.tar.gz: 83256a9051f81f5842a19b9745e11f9d8ca0311d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e7566dfa35859dc57507c168b374f8cd80eb26dc71267e834b30bf3a5a5b8e8637706c38814a02c719ad6bb77f8aad1c7f4883e917f7fe28af5a8b2eb124611
|
7
|
+
data.tar.gz: e62cd6ac0651a6e92bb86d65af927e3a1197f79ff62f763b70e9a8d6e74912d562c65095e2e33ac6c987a434a8d1b501ab931d568875df27537104e854e6b933
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.389
|
data/lib/v20180801/models.rb
CHANGED
@@ -1099,7 +1099,7 @@ module TencentCloud
|
|
1099
1099
|
# @param Comment: 任务描述,限制 512 字节。
|
1100
1100
|
# @type Comment: String
|
1101
1101
|
# @param ToUrl: 完整目标 URL 地址。
|
1102
|
-
# 用法注意:如果使用该参数来传完整目标地址,则 DomainName, AppName, StreamName
|
1102
|
+
# 用法注意:如果使用该参数来传完整目标地址,则 DomainName, AppName, StreamName 需要传入空字符串,任务将会使用该 ToUrl 参数指定的目标地址。
|
1103
1103
|
|
1104
1104
|
# 注意:签名时间需要超过任务结束时间,避免因签名过期造成任务失败。
|
1105
1105
|
# @type ToUrl: String
|
@@ -1114,10 +1114,16 @@ module TencentCloud
|
|
1114
1114
|
# @param BackupSourceUrl: 备源 URL。
|
1115
1115
|
# 只允许填一个备源 URL
|
1116
1116
|
# @type BackupSourceUrl: String
|
1117
|
+
# @param WatermarkList: 水印信息列表。
|
1118
|
+
# 注意:
|
1119
|
+
# 1. 最多支持4个不同位置的水印。
|
1120
|
+
# 2. 水印图片 URL 请使用合法外网可访问地址。
|
1121
|
+
# 3. 支持的水印图片格式:png,jpg,gif 等。
|
1122
|
+
# @type WatermarkList: Array
|
1117
1123
|
|
1118
|
-
attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment, :ToUrl, :BackupSourceType, :BackupSourceUrl
|
1124
|
+
attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment, :ToUrl, :BackupSourceType, :BackupSourceUrl, :WatermarkList
|
1119
1125
|
|
1120
|
-
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)
|
1126
|
+
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)
|
1121
1127
|
@SourceType = sourcetype
|
1122
1128
|
@SourceUrls = sourceurls
|
1123
1129
|
@DomainName = domainname
|
@@ -1136,6 +1142,7 @@ module TencentCloud
|
|
1136
1142
|
@ToUrl = tourl
|
1137
1143
|
@BackupSourceType = backupsourcetype
|
1138
1144
|
@BackupSourceUrl = backupsourceurl
|
1145
|
+
@WatermarkList = watermarklist
|
1139
1146
|
end
|
1140
1147
|
|
1141
1148
|
def deserialize(params)
|
@@ -1157,6 +1164,14 @@ module TencentCloud
|
|
1157
1164
|
@ToUrl = params['ToUrl']
|
1158
1165
|
@BackupSourceType = params['BackupSourceType']
|
1159
1166
|
@BackupSourceUrl = params['BackupSourceUrl']
|
1167
|
+
unless params['WatermarkList'].nil?
|
1168
|
+
@WatermarkList = []
|
1169
|
+
params['WatermarkList'].each do |i|
|
1170
|
+
pullpushwatermarkinfo_tmp = PullPushWatermarkInfo.new
|
1171
|
+
pullpushwatermarkinfo_tmp.deserialize(i)
|
1172
|
+
@WatermarkList << pullpushwatermarkinfo_tmp
|
1173
|
+
end
|
1174
|
+
end
|
1160
1175
|
end
|
1161
1176
|
end
|
1162
1177
|
|
@@ -7467,10 +7482,20 @@ module TencentCloud
|
|
7467
7482
|
# @param BackupSourceUrl: 备源 URL。
|
7468
7483
|
# 只允许填一个备源 URL
|
7469
7484
|
# @type BackupSourceUrl: String
|
7485
|
+
# @param WatermarkList: 水印信息列表。
|
7486
|
+
# 注意:
|
7487
|
+
# 1. 最多支持4个不同位置的水印。
|
7488
|
+
# 2. 水印图片 URL 请使用合法外网可访问地址。
|
7489
|
+
# 3. 支持的水印图片格式:png,jpg等。
|
7490
|
+
# 4. 轮播任务修改水印后,轮播到下一个文件时新水印生效。
|
7491
|
+
# 5. 直播源任务修改水印后,水印立即生效。
|
7492
|
+
# 6. 清除水印时,需携带该水印列表参数,内容为空数组。
|
7493
|
+
# 7. 暂不支持动图水印。
|
7494
|
+
# @type WatermarkList: Array
|
7470
7495
|
|
7471
|
-
attr_accessor :TaskId, :Operator, :SourceUrls, :StartTime, :EndTime, :VodLoopTimes, :VodRefreshType, :Status, :CallbackEvents, :CallbackUrl, :FileIndex, :OffsetTime, :Comment, :BackupSourceType, :BackupSourceUrl
|
7496
|
+
attr_accessor :TaskId, :Operator, :SourceUrls, :StartTime, :EndTime, :VodLoopTimes, :VodRefreshType, :Status, :CallbackEvents, :CallbackUrl, :FileIndex, :OffsetTime, :Comment, :BackupSourceType, :BackupSourceUrl, :WatermarkList
|
7472
7497
|
|
7473
|
-
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)
|
7498
|
+
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)
|
7474
7499
|
@TaskId = taskid
|
7475
7500
|
@Operator = operator
|
7476
7501
|
@SourceUrls = sourceurls
|
@@ -7486,6 +7511,7 @@ module TencentCloud
|
|
7486
7511
|
@Comment = comment
|
7487
7512
|
@BackupSourceType = backupsourcetype
|
7488
7513
|
@BackupSourceUrl = backupsourceurl
|
7514
|
+
@WatermarkList = watermarklist
|
7489
7515
|
end
|
7490
7516
|
|
7491
7517
|
def deserialize(params)
|
@@ -7504,6 +7530,14 @@ module TencentCloud
|
|
7504
7530
|
@Comment = params['Comment']
|
7505
7531
|
@BackupSourceType = params['BackupSourceType']
|
7506
7532
|
@BackupSourceUrl = params['BackupSourceUrl']
|
7533
|
+
unless params['WatermarkList'].nil?
|
7534
|
+
@WatermarkList = []
|
7535
|
+
params['WatermarkList'].each do |i|
|
7536
|
+
pullpushwatermarkinfo_tmp = PullPushWatermarkInfo.new
|
7537
|
+
pullpushwatermarkinfo_tmp.deserialize(i)
|
7538
|
+
@WatermarkList << pullpushwatermarkinfo_tmp
|
7539
|
+
end
|
7540
|
+
end
|
7507
7541
|
end
|
7508
7542
|
end
|
7509
7543
|
|
@@ -8257,6 +8291,48 @@ module TencentCloud
|
|
8257
8291
|
end
|
8258
8292
|
end
|
8259
8293
|
|
8294
|
+
# 云转推水印信息。
|
8295
|
+
class PullPushWatermarkInfo < TencentCloud::Common::AbstractModel
|
8296
|
+
# @param PictureUrl: 水印图片 URL。
|
8297
|
+
# URL中禁止包含的字符:
|
8298
|
+
# ;(){}$>`#"'|
|
8299
|
+
# @type PictureUrl: String
|
8300
|
+
# @param XPosition: 显示位置,X轴偏移,单位是百分比,默认 0。
|
8301
|
+
# @type XPosition: Integer
|
8302
|
+
# @param YPosition: 显示位置,Y轴偏移,单位是百分比,默认 0。
|
8303
|
+
# @type YPosition: Integer
|
8304
|
+
# @param Width: 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
|
8305
|
+
# @type Width: Integer
|
8306
|
+
# @param Height: 水印高度,占直播原始画面高度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
|
8307
|
+
# @type Height: Integer
|
8308
|
+
# @param Location: 水印位置,默认 0。
|
8309
|
+
# 0:左上角。
|
8310
|
+
# 1:右上角。
|
8311
|
+
# 2:右下角。
|
8312
|
+
# 3:左下角。
|
8313
|
+
# @type Location: Integer
|
8314
|
+
|
8315
|
+
attr_accessor :PictureUrl, :XPosition, :YPosition, :Width, :Height, :Location
|
8316
|
+
|
8317
|
+
def initialize(pictureurl=nil, xposition=nil, yposition=nil, width=nil, height=nil, location=nil)
|
8318
|
+
@PictureUrl = pictureurl
|
8319
|
+
@XPosition = xposition
|
8320
|
+
@YPosition = yposition
|
8321
|
+
@Width = width
|
8322
|
+
@Height = height
|
8323
|
+
@Location = location
|
8324
|
+
end
|
8325
|
+
|
8326
|
+
def deserialize(params)
|
8327
|
+
@PictureUrl = params['PictureUrl']
|
8328
|
+
@XPosition = params['XPosition']
|
8329
|
+
@YPosition = params['YPosition']
|
8330
|
+
@Width = params['Width']
|
8331
|
+
@Height = params['Height']
|
8332
|
+
@Location = params['Location']
|
8333
|
+
end
|
8334
|
+
end
|
8335
|
+
|
8260
8336
|
# 拉流配置。
|
8261
8337
|
class PullStreamConfig < TencentCloud::Common::AbstractModel
|
8262
8338
|
# @param ConfigId: 拉流配置 ID。
|
@@ -8405,10 +8481,21 @@ module TencentCloud
|
|
8405
8481
|
# @type RecentPullInfo: :class:`Tencentcloud::Live.v20180801.models.RecentPullInfo`
|
8406
8482
|
# @param Comment: 任务备注信息。
|
8407
8483
|
# @type Comment: String
|
8484
|
+
# @param BackupSourceType: 备源类型:
|
8485
|
+
# PullLivePushLive -直播,
|
8486
|
+
# PullVodPushLive -点播。
|
8487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8488
|
+
# @type BackupSourceType: String
|
8489
|
+
# @param BackupSourceUrl: 备源URL。
|
8490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8491
|
+
# @type BackupSourceUrl: String
|
8492
|
+
# @param WatermarkList: 水印信息列表。
|
8493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8494
|
+
# @type WatermarkList: Array
|
8408
8495
|
|
8409
|
-
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
|
8496
|
+
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
|
8410
8497
|
|
8411
|
-
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)
|
8498
|
+
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)
|
8412
8499
|
@TaskId = taskid
|
8413
8500
|
@SourceType = sourcetype
|
8414
8501
|
@SourceUrls = sourceurls
|
@@ -8432,6 +8519,9 @@ module TencentCloud
|
|
8432
8519
|
@Status = status
|
8433
8520
|
@RecentPullInfo = recentpullinfo
|
8434
8521
|
@Comment = comment
|
8522
|
+
@BackupSourceType = backupsourcetype
|
8523
|
+
@BackupSourceUrl = backupsourceurl
|
8524
|
+
@WatermarkList = watermarklist
|
8435
8525
|
end
|
8436
8526
|
|
8437
8527
|
def deserialize(params)
|
@@ -8461,6 +8551,16 @@ module TencentCloud
|
|
8461
8551
|
@RecentPullInfo.deserialize(params['RecentPullInfo'])
|
8462
8552
|
end
|
8463
8553
|
@Comment = params['Comment']
|
8554
|
+
@BackupSourceType = params['BackupSourceType']
|
8555
|
+
@BackupSourceUrl = params['BackupSourceUrl']
|
8556
|
+
unless params['WatermarkList'].nil?
|
8557
|
+
@WatermarkList = []
|
8558
|
+
params['WatermarkList'].each do |i|
|
8559
|
+
pullpushwatermarkinfo_tmp = PullPushWatermarkInfo.new
|
8560
|
+
pullpushwatermarkinfo_tmp.deserialize(i)
|
8561
|
+
@WatermarkList << pullpushwatermarkinfo_tmp
|
8562
|
+
end
|
8563
|
+
end
|
8464
8564
|
end
|
8465
8565
|
end
|
8466
8566
|
|
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.389
|
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-08-
|
11
|
+
date: 2022-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|