tencentcloud-sdk-live 3.0.596 → 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: b78dbed546d7c2bc88e0bc4ef8426cf13ef6e79c
4
- data.tar.gz: 48e055b7414c5875130bdab45b67ccc5d6942f8a
3
+ metadata.gz: dc17852a8a714536e78236e56ec209144084b989
4
+ data.tar.gz: 4fa2b62ac9c9cf4de06d6c1d7699e56336f45751
5
5
  SHA512:
6
- metadata.gz: 116277289c51c925a8e77f3525e524b63cdc1764d1c4ef141c11dd87125ea9ee059b8c4eca2265851f2ce7c2497a0c2bfd88d9dfd5b4884c98b52f3e37f1f5ad
7
- data.tar.gz: 6c2ff2a83132b0877514d2efec1219223eb9f73d9869d12d9deca45ca115e6d2b7d7c9d30c41dd640dd81c1465a40a63022f4bb9f1708efa46e8d1a6c8230791
6
+ metadata.gz: bf6a7c29db23bffe4c8b72c43e800c6eef81207448b658d837f0b197e745c65a0bcc6e8ad25ebacfc00ddfc4a8d445d3f8574a11d29b9fc97d5a1374f3733eb6
7
+ data.tar.gz: bbb897f34c67041904b600ed2785f4338be7756e5d1bfee91947a9ae76d9e24dbf928aa4028d34a61acffcd2f883cba415cd8c70a22007a0deab1f6ee593ae6b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.596
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.596
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-20 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