tencentcloud-sdk-live 3.0.818 → 3.0.819
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/client.rb +48 -0
- data/lib/v20180801/models.rb +90 -0
- 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: 16a40d881e168dbfcb6521abd6ae282e3aa443ec
|
4
|
+
data.tar.gz: cecc5b3ddef67276aad433f798f2347827aa2c4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46fe0446f9034289d32a8385e4fe4d1922ac637663a918df39254d070ce3d903efa5d772b45690a09d336517a5a426f8ce45e5d44750799ca616c118c513355a
|
7
|
+
data.tar.gz: a8a87a990b306541982fa05e25904860d0a608fc0adc57523a97029e4a57c33b38256f51bfd2c4deab67ddeb966cefa5c7d8c1345fb3a934049630ceb25780d0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.819
|
data/lib/v20180801/client.rb
CHANGED
@@ -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.
|
data/lib/v20180801/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.819
|
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-
|
11
|
+
date: 2024-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|