tencentcloud-sdk-live 1.0.280 → 1.0.281

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180801/models.rb +34 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4bb80868f71533d0791a16bb8eecbe23cc2bda10
4
- data.tar.gz: e0aca67cb461bb16ae46911be88d14eb852cf126
3
+ metadata.gz: 79736efa20d3d90b678c022ca42da04c6b016b09
4
+ data.tar.gz: 5b0c8f752e96536ad3d5421b12ffd057313f8271
5
5
  SHA512:
6
- metadata.gz: 7e28ab33eb5ab7ddd7b7fa2fe6915412cd0361d690d5e54ea70b039c01599ae0ccf2427acb61a014de00cebcdab9014f300bafe29b4b94fbc7a80035edf0b2c8
7
- data.tar.gz: ad77ec3d328ed10680ce796cd7d83a01eb1c0f84d3d47f09b395d5766d295015ae5305826e3497b0664518fbfa97e0bc62250788111ac4e958cc9f2297671a20
6
+ metadata.gz: 29c3542ab519cc698fd346d4c6839d71f37b2de6b061cb944725f5410b791ea9e1ed9ba73b0c975a2bf2c415dcbccd82a47647c016546d488603674e5035e7f8
7
+ data.tar.gz: 08a65b639ded1c5c24bb3e0cc1c1212e163a74a651e07dac82beb7941dbc21b4c1d908a9fbf629b53238349c4f3940a8862c92f1b032ee90f6ef252fcfc5c520
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.280
1
+ 1.0.281
@@ -1172,10 +1172,21 @@ module TencentCloud
1172
1172
  # @type ExtraCmd: String
1173
1173
  # @param Comment: 任务描述,限制 512 字节。
1174
1174
  # @type Comment: String
1175
+ # @param BackupSourceType: 备源的类型:
1176
+ # PullLivePushLive -直播,
1177
+ # PullVodPushLive -点播。
1178
+ # 注意:
1179
+ # 1. 仅当主源类型为直播源时,备源才会生效。
1180
+ # 2. 主直播源拉流中断时,自动使用备源进行拉流。
1181
+ # 3. 如果备源为点播文件时,则每次轮播完点播文件就检查主源是否恢复,如果主源恢复则自动切回到主源,否则继续拉备源。
1182
+ # @type BackupSourceType: String
1183
+ # @param BackupSourceUrl: 备源 URL。
1184
+ # 只允许填一个备源 URL
1185
+ # @type BackupSourceUrl: String
1175
1186
 
1176
- attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment
1187
+ attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment, :BackupSourceType, :BackupSourceUrl
1177
1188
 
1178
- 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)
1189
+ 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, backupsourcetype=nil, backupsourceurl=nil)
1179
1190
  @SourceType = sourcetype
1180
1191
  @SourceUrls = sourceurls
1181
1192
  @DomainName = domainname
@@ -1191,6 +1202,8 @@ module TencentCloud
1191
1202
  @CallbackUrl = callbackurl
1192
1203
  @ExtraCmd = extracmd
1193
1204
  @Comment = comment
1205
+ @BackupSourceType = backupsourcetype
1206
+ @BackupSourceUrl = backupsourceurl
1194
1207
  end
1195
1208
 
1196
1209
  def deserialize(params)
@@ -1209,6 +1222,8 @@ module TencentCloud
1209
1222
  @CallbackUrl = params['CallbackUrl']
1210
1223
  @ExtraCmd = params['ExtraCmd']
1211
1224
  @Comment = params['Comment']
1225
+ @BackupSourceType = params['BackupSourceType']
1226
+ @BackupSourceUrl = params['BackupSourceUrl']
1212
1227
  end
1213
1228
  end
1214
1229
 
@@ -7303,10 +7318,21 @@ module TencentCloud
7303
7318
  # @type OffsetTime: Integer
7304
7319
  # @param Comment: 任务备注。
7305
7320
  # @type Comment: String
7321
+ # @param BackupSourceType: 备源的类型:
7322
+ # PullLivePushLive -直播,
7323
+ # PullVodPushLive -点播。
7324
+ # 注意:
7325
+ # 1. 仅当主源类型为直播源时,备源才会生效。
7326
+ # 2. 主直播源拉流中断时,自动使用备源进行拉流。
7327
+ # 3. 如果备源为点播文件时,则每次轮播完点播文件就检查主源是否恢复,如果主源恢复则自动切回到主源,否则继续拉备源。
7328
+ # @type BackupSourceType: String
7329
+ # @param BackupSourceUrl: 备源 URL。
7330
+ # 只允许填一个备源 URL
7331
+ # @type BackupSourceUrl: String
7306
7332
 
7307
- attr_accessor :TaskId, :Operator, :SourceUrls, :StartTime, :EndTime, :VodLoopTimes, :VodRefreshType, :Status, :CallbackEvents, :CallbackUrl, :FileIndex, :OffsetTime, :Comment
7333
+ attr_accessor :TaskId, :Operator, :SourceUrls, :StartTime, :EndTime, :VodLoopTimes, :VodRefreshType, :Status, :CallbackEvents, :CallbackUrl, :FileIndex, :OffsetTime, :Comment, :BackupSourceType, :BackupSourceUrl
7308
7334
 
7309
- 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)
7335
+ 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)
7310
7336
  @TaskId = taskid
7311
7337
  @Operator = operator
7312
7338
  @SourceUrls = sourceurls
@@ -7320,6 +7346,8 @@ module TencentCloud
7320
7346
  @FileIndex = fileindex
7321
7347
  @OffsetTime = offsettime
7322
7348
  @Comment = comment
7349
+ @BackupSourceType = backupsourcetype
7350
+ @BackupSourceUrl = backupsourceurl
7323
7351
  end
7324
7352
 
7325
7353
  def deserialize(params)
@@ -7336,6 +7364,8 @@ module TencentCloud
7336
7364
  @FileIndex = params['FileIndex']
7337
7365
  @OffsetTime = params['OffsetTime']
7338
7366
  @Comment = params['Comment']
7367
+ @BackupSourceType = params['BackupSourceType']
7368
+ @BackupSourceUrl = params['BackupSourceUrl']
7339
7369
  end
7340
7370
  end
7341
7371
 
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.280
4
+ version: 1.0.281
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-03-21 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common