tencentcloud-sdk-live 3.0.818 → 3.0.820

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: e9195ef241c24f700b4aa7c7bfcd27044e1471f6
4
- data.tar.gz: b44afd59d6ac10a6972f131fd975dbc4fc1cd287
3
+ metadata.gz: 70611aa75574183ff5c4a62a14f816710a4a817b
4
+ data.tar.gz: e2f250bb786565529400104e46232f0d98f6ac90
5
5
  SHA512:
6
- metadata.gz: f572cceb9993a9dac77343885dfcf98ad114a1c0b31c5a0d87058ec6f82081e9c95b2fb72f6a9fd470a3ada1bba57e81bba3c5980f89965b3c2c23cc6fb42d69
7
- data.tar.gz: 2d870c692e165a5d1de2c59ec6669d86b180e196e7c3de4a63ec112dd7f69a88d9b11f06c475790ca4da907b3c44ea601bc3c862f65379118a53262bf0dacd08
6
+ metadata.gz: b1941b1842644081e77bc7cc8bf48a3b6b64e2bfe3d15db9179440252bd9180cc732d055567aa7419a48c83de0514f3e0bfc66668324a80960ab7a8604a7dc57
7
+ data.tar.gz: 5fa2a876d9ca4a93b5c70b2cecf30a434dc485fe0680c5197b5f247fc792834ddf6e101c8e18f9a4a09675e6c562753483d2a6698c47b4f19c8c1c280b7050a3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.818
1
+ 3.0.820
@@ -1783,6 +1783,30 @@ module TencentCloud
1783
1783
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1784
1784
  end
1785
1785
 
1786
+ # 使用该接口查询垫片流。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
1787
+
1788
+ # @param request: Request instance for DescribeLivePadProcessorList.
1789
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeLivePadProcessorListRequest`
1790
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeLivePadProcessorListResponse`
1791
+ def DescribeLivePadProcessorList(request)
1792
+ body = send_request('DescribeLivePadProcessorList', request.serialize)
1793
+ response = JSON.parse(body)
1794
+ if response['Response'].key?('Error') == false
1795
+ model = DescribeLivePadProcessorListResponse.new
1796
+ model.deserialize(response['Response'])
1797
+ model
1798
+ else
1799
+ code = response['Response']['Error']['Code']
1800
+ message = response['Response']['Error']['Message']
1801
+ reqid = response['Response']['RequestId']
1802
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1803
+ end
1804
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1805
+ raise e
1806
+ rescue StandardError => e
1807
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1808
+ end
1809
+
1786
1810
  # 获取直播垫片规则列表。
1787
1811
 
1788
1812
  # @param request: Request instance for DescribeLivePadRules.
@@ -3682,6 +3706,30 @@ module TencentCloud
3682
3706
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3683
3707
  end
3684
3708
 
3709
+ # 使用该接口停止垫片流。
3710
+
3711
+ # @param request: Request instance for StopLivePadProcessor.
3712
+ # @type request: :class:`Tencentcloud::live::V20180801::StopLivePadProcessorRequest`
3713
+ # @rtype: :class:`Tencentcloud::live::V20180801::StopLivePadProcessorResponse`
3714
+ def StopLivePadProcessor(request)
3715
+ body = send_request('StopLivePadProcessor', request.serialize)
3716
+ response = JSON.parse(body)
3717
+ if response['Response'].key?('Error') == false
3718
+ model = StopLivePadProcessorResponse.new
3719
+ model.deserialize(response['Response'])
3720
+ model
3721
+ else
3722
+ code = response['Response']['Error']['Code']
3723
+ message = response['Response']['Error']['Message']
3724
+ reqid = response['Response']['RequestId']
3725
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3726
+ end
3727
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3728
+ raise e
3729
+ rescue StandardError => e
3730
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3731
+ end
3732
+
3685
3733
  # 说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
3686
3734
 
3687
3735
  # @param request: Request instance for StopLiveRecord.
@@ -4827,6 +4827,47 @@ module TencentCloud
4827
4827
  end
4828
4828
  end
4829
4829
 
4830
+ # DescribeLivePadProcessorList请求参数结构体
4831
+ class DescribeLivePadProcessorListRequest < TencentCloud::Common::AbstractModel
4832
+ # @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
4833
+ # @type AppName: String
4834
+ # @param PushDomainName: 您的推流域名。
4835
+ # @type PushDomainName: String
4836
+
4837
+ attr_accessor :AppName, :PushDomainName
4838
+
4839
+ def initialize(appname=nil, pushdomainname=nil)
4840
+ @AppName = appname
4841
+ @PushDomainName = pushdomainname
4842
+ end
4843
+
4844
+ def deserialize(params)
4845
+ @AppName = params['AppName']
4846
+ @PushDomainName = params['PushDomainName']
4847
+ end
4848
+ end
4849
+
4850
+ # DescribeLivePadProcessorList返回参数结构体
4851
+ class DescribeLivePadProcessorListResponse < TencentCloud::Common::AbstractModel
4852
+ # @param StreamNameList: 当前正在拉取垫片的流名称列表。
4853
+ # 注意:此字段可能返回 null,表示取不到有效值。
4854
+ # @type StreamNameList: Array
4855
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4856
+ # @type RequestId: String
4857
+
4858
+ attr_accessor :StreamNameList, :RequestId
4859
+
4860
+ def initialize(streamnamelist=nil, requestid=nil)
4861
+ @StreamNameList = streamnamelist
4862
+ @RequestId = requestid
4863
+ end
4864
+
4865
+ def deserialize(params)
4866
+ @StreamNameList = params['StreamNameList']
4867
+ @RequestId = params['RequestId']
4868
+ end
4869
+ end
4870
+
4830
4871
  # DescribeLivePadRules请求参数结构体
4831
4872
  class DescribeLivePadRulesRequest < TencentCloud::Common::AbstractModel
4832
4873
 
@@ -11788,6 +11829,55 @@ module TencentCloud
11788
11829
  end
11789
11830
  end
11790
11831
 
11832
+ # StopLivePadProcessor请求参数结构体
11833
+ class StopLivePadProcessorRequest < TencentCloud::Common::AbstractModel
11834
+ # @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
11835
+ # @type AppName: String
11836
+ # @param PushDomainName: 您的推流域名。
11837
+ # @type PushDomainName: String
11838
+ # @param StreamName: 流名称。
11839
+ # @type StreamName: String
11840
+ # @param Operator: 操作人备注信息。
11841
+ # @type Operator: String
11842
+
11843
+ attr_accessor :AppName, :PushDomainName, :StreamName, :Operator
11844
+
11845
+ def initialize(appname=nil, pushdomainname=nil, streamname=nil, operator=nil)
11846
+ @AppName = appname
11847
+ @PushDomainName = pushdomainname
11848
+ @StreamName = streamname
11849
+ @Operator = operator
11850
+ end
11851
+
11852
+ def deserialize(params)
11853
+ @AppName = params['AppName']
11854
+ @PushDomainName = params['PushDomainName']
11855
+ @StreamName = params['StreamName']
11856
+ @Operator = params['Operator']
11857
+ end
11858
+ end
11859
+
11860
+ # StopLivePadProcessor返回参数结构体
11861
+ class StopLivePadProcessorResponse < TencentCloud::Common::AbstractModel
11862
+ # @param ResultMessage: 处理结果信息。
11863
+ # 注意:此字段可能返回 null,表示取不到有效值。
11864
+ # @type ResultMessage: String
11865
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11866
+ # @type RequestId: String
11867
+
11868
+ attr_accessor :ResultMessage, :RequestId
11869
+
11870
+ def initialize(resultmessage=nil, requestid=nil)
11871
+ @ResultMessage = resultmessage
11872
+ @RequestId = requestid
11873
+ end
11874
+
11875
+ def deserialize(params)
11876
+ @ResultMessage = params['ResultMessage']
11877
+ @RequestId = params['RequestId']
11878
+ end
11879
+ end
11880
+
11791
11881
  # StopLiveRecord请求参数结构体
11792
11882
  class StopLiveRecordRequest < TencentCloud::Common::AbstractModel
11793
11883
  # @param StreamName: 流名称。
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.818
4
+ version: 3.0.820
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-09 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common