tencentcloud-sdk-live 3.0.595 → 3.0.598

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a360273f64d501211ebc1b5f8c063b6baafbb69
4
- data.tar.gz: 3a5a641835a3f368069c27d894732694ab84c3e7
3
+ metadata.gz: dc17852a8a714536e78236e56ec209144084b989
4
+ data.tar.gz: 4fa2b62ac9c9cf4de06d6c1d7699e56336f45751
5
5
  SHA512:
6
- metadata.gz: 168f4ea3b7cde9c553c3315520a4600837690dc014acc8caf0559eaf1629f3e33d53e7832dc7f18e6593a3a1ec6042d28615e21aee50436f4814c297df0de583
7
- data.tar.gz: 7d1e77fd345b6d0188ab90ee0c3e48181d52df30e24bca407ac1f288452dd3616557ebb3f3f85e69ec118702346410ba9a3588f00e99d22e111066d6838f01ae
6
+ metadata.gz: bf6a7c29db23bffe4c8b72c43e800c6eef81207448b658d837f0b197e745c65a0bcc6e8ad25ebacfc00ddfc4a8d445d3f8574a11d29b9fc97d5a1374f3733eb6
7
+ data.tar.gz: bbb897f34c67041904b600ed2785f4338be7756e5d1bfee91947a9ae76d9e24dbf928aa4028d34a61acffcd2f883cba415cd8c70a22007a0deab1f6ee593ae6b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.595
1
+ 3.0.598
@@ -1822,6 +1822,30 @@ module TencentCloud
1822
1822
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1823
1823
  end
1824
1824
 
1825
+ # 查询直播拉流任务状态信息。
1826
+
1827
+ # @param request: Request instance for DescribeLivePullStreamTaskStatus.
1828
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeLivePullStreamTaskStatusRequest`
1829
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeLivePullStreamTaskStatusResponse`
1830
+ def DescribeLivePullStreamTaskStatus(request)
1831
+ body = send_request('DescribeLivePullStreamTaskStatus', request.serialize)
1832
+ response = JSON.parse(body)
1833
+ if response['Response'].key?('Error') == false
1834
+ model = DescribeLivePullStreamTaskStatusResponse.new
1835
+ model.deserialize(response['Response'])
1836
+ model
1837
+ else
1838
+ code = response['Response']['Error']['Code']
1839
+ message = response['Response']['Error']['Message']
1840
+ reqid = response['Response']['RequestId']
1841
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1842
+ end
1843
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1844
+ raise e
1845
+ rescue StandardError => e
1846
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1847
+ end
1848
+
1825
1849
  # 查询使用 CreateLivePullStreamTask 接口创建的直播拉流任务。
1826
1850
  # 排序方式:默认按更新时间 倒序排列。
1827
1851
 
@@ -4742,6 +4742,45 @@ module TencentCloud
4742
4742
  end
4743
4743
  end
4744
4744
 
4745
+ # DescribeLivePullStreamTaskStatus请求参数结构体
4746
+ class DescribeLivePullStreamTaskStatusRequest < TencentCloud::Common::AbstractModel
4747
+ # @param TaskId: 任务 ID。
4748
+ # @type TaskId: String
4749
+
4750
+ attr_accessor :TaskId
4751
+
4752
+ def initialize(taskid=nil)
4753
+ @TaskId = taskid
4754
+ end
4755
+
4756
+ def deserialize(params)
4757
+ @TaskId = params['TaskId']
4758
+ end
4759
+ end
4760
+
4761
+ # DescribeLivePullStreamTaskStatus返回参数结构体
4762
+ class DescribeLivePullStreamTaskStatusResponse < TencentCloud::Common::AbstractModel
4763
+ # @param TaskStatusInfo: 任务状态信息。
4764
+ # @type TaskStatusInfo: :class:`Tencentcloud::Live.v20180801.models.TaskStatusInfo`
4765
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4766
+ # @type RequestId: String
4767
+
4768
+ attr_accessor :TaskStatusInfo, :RequestId
4769
+
4770
+ def initialize(taskstatusinfo=nil, requestid=nil)
4771
+ @TaskStatusInfo = taskstatusinfo
4772
+ @RequestId = requestid
4773
+ end
4774
+
4775
+ def deserialize(params)
4776
+ unless params['TaskStatusInfo'].nil?
4777
+ @TaskStatusInfo = TaskStatusInfo.new
4778
+ @TaskStatusInfo.deserialize(params['TaskStatusInfo'])
4779
+ end
4780
+ @RequestId = params['RequestId']
4781
+ end
4782
+ end
4783
+
4745
4784
  # DescribeLivePullStreamTasks请求参数结构体
4746
4785
  class DescribeLivePullStreamTasksRequest < TencentCloud::Common::AbstractModel
4747
4786
  # @param TaskId: 任务 ID。
@@ -11458,14 +11497,20 @@ module TencentCloud
11458
11497
  # @type AppName: String
11459
11498
  # @param DomainName: 推流域名。
11460
11499
  # @type DomainName: String
11500
+ # @param PushToDelay: 流是否推送到延播。
11501
+ # 0 - 无延播,
11502
+ # 1 - 有延播。
11503
+ # 注意:此字段可能返回 null,表示取不到有效值。
11504
+ # @type PushToDelay: Integer
11461
11505
 
11462
- attr_accessor :StreamName, :PublishTimeList, :AppName, :DomainName
11506
+ attr_accessor :StreamName, :PublishTimeList, :AppName, :DomainName, :PushToDelay
11463
11507
 
11464
- def initialize(streamname=nil, publishtimelist=nil, appname=nil, domainname=nil)
11508
+ def initialize(streamname=nil, publishtimelist=nil, appname=nil, domainname=nil, pushtodelay=nil)
11465
11509
  @StreamName = streamname
11466
11510
  @PublishTimeList = publishtimelist
11467
11511
  @AppName = appname
11468
11512
  @DomainName = domainname
11513
+ @PushToDelay = pushtodelay
11469
11514
  end
11470
11515
 
11471
11516
  def deserialize(params)
@@ -11480,6 +11525,51 @@ module TencentCloud
11480
11525
  end
11481
11526
  @AppName = params['AppName']
11482
11527
  @DomainName = params['DomainName']
11528
+ @PushToDelay = params['PushToDelay']
11529
+ end
11530
+ end
11531
+
11532
+ # 直播拉流任务状态信息。
11533
+ class TaskStatusInfo < TencentCloud::Common::AbstractModel
11534
+ # @param FileUrl: 当前使用的源 URL。
11535
+ # @type FileUrl: String
11536
+ # @param LoopedTimes: 点播源任务的轮播次数。
11537
+ # @type LoopedTimes: Integer
11538
+ # @param OffsetTime: 点播源的播放偏移,单位:秒。
11539
+ # @type OffsetTime: Integer
11540
+ # @param ReportTime: 最新心跳上报时间。UTC时间,例如:
11541
+ # 2022-02-11T10:00:00Z。
11542
+ # 注意:UTC时间与北京时间相差八小时。
11543
+ # @type ReportTime: String
11544
+ # @param RunStatus: 实际运行状态:
11545
+ # active - 活跃,
11546
+ # inactive - 不活跃。
11547
+ # @type RunStatus: String
11548
+ # @param FileDuration: 点播源的文件时长,单位:秒。
11549
+ # @type FileDuration: Integer
11550
+ # @param NextFileUrl: 下一进度点播文件 URL。
11551
+ # @type NextFileUrl: String
11552
+
11553
+ attr_accessor :FileUrl, :LoopedTimes, :OffsetTime, :ReportTime, :RunStatus, :FileDuration, :NextFileUrl
11554
+
11555
+ def initialize(fileurl=nil, loopedtimes=nil, offsettime=nil, reporttime=nil, runstatus=nil, fileduration=nil, nextfileurl=nil)
11556
+ @FileUrl = fileurl
11557
+ @LoopedTimes = loopedtimes
11558
+ @OffsetTime = offsettime
11559
+ @ReportTime = reporttime
11560
+ @RunStatus = runstatus
11561
+ @FileDuration = fileduration
11562
+ @NextFileUrl = nextfileurl
11563
+ end
11564
+
11565
+ def deserialize(params)
11566
+ @FileUrl = params['FileUrl']
11567
+ @LoopedTimes = params['LoopedTimes']
11568
+ @OffsetTime = params['OffsetTime']
11569
+ @ReportTime = params['ReportTime']
11570
+ @RunStatus = params['RunStatus']
11571
+ @FileDuration = params['FileDuration']
11572
+ @NextFileUrl = params['NextFileUrl']
11483
11573
  end
11484
11574
  end
11485
11575
 
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.595
4
+ version: 3.0.598
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common