tencentcloud-sdk-live 3.0.1074 → 3.0.1087
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +93 -21
- data/lib/v20180801/models.rb +316 -53
- 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: 2d18ac43a400c1217ec232068b4f8865d07966c4
|
4
|
+
data.tar.gz: e630d8336d7180088b8078aa36617c2c7316fe30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24e1fa8e6d0b105c91a5351a2664e464db9622cd998c2345d00d91b94db1d002b9418cb339e6fc5466f1557f1e9c12f2689ae2becdac28864adac332712561bc
|
7
|
+
data.tar.gz: 5080defe86be1c49ab12bf371adfcf65c5f37751d1a171a0da06988b7a646e19285b2d4992162d7026e74daaebd3df868e2e38d91b04757d893fcf2cb638bf65
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1087
|
data/lib/v20180801/client.rb
CHANGED
@@ -2238,6 +2238,30 @@ module TencentCloud
|
|
2238
2238
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2239
2239
|
end
|
2240
2240
|
|
2241
|
+
# 使用该接口查询云端特效列表,特效列表中包含一部分官方精品特效,同时包含用户自定义生成的特效。
|
2242
|
+
|
2243
|
+
# @param request: Request instance for DescribeLiveCloudEffectList.
|
2244
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLiveCloudEffectListRequest`
|
2245
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeLiveCloudEffectListResponse`
|
2246
|
+
def DescribeLiveCloudEffectList(request)
|
2247
|
+
body = send_request('DescribeLiveCloudEffectList', request.serialize)
|
2248
|
+
response = JSON.parse(body)
|
2249
|
+
if response['Response'].key?('Error') == false
|
2250
|
+
model = DescribeLiveCloudEffectListResponse.new
|
2251
|
+
model.deserialize(response['Response'])
|
2252
|
+
model
|
2253
|
+
else
|
2254
|
+
code = response['Response']['Error']['Code']
|
2255
|
+
message = response['Response']['Error']['Message']
|
2256
|
+
reqid = response['Response']['RequestId']
|
2257
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2258
|
+
end
|
2259
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2260
|
+
raise e
|
2261
|
+
rescue StandardError => e
|
2262
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2263
|
+
end
|
2264
|
+
|
2241
2265
|
# 获取直播延播列表。
|
2242
2266
|
|
2243
2267
|
# @param request: Request instance for DescribeLiveDelayInfoList.
|
@@ -2482,16 +2506,16 @@ module TencentCloud
|
|
2482
2506
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2483
2507
|
end
|
2484
2508
|
|
2485
|
-
#
|
2509
|
+
# 获取直播垫片规则列表。
|
2486
2510
|
|
2487
|
-
# @param request: Request instance for
|
2488
|
-
# @type request: :class:`Tencentcloud::live::V20180801::
|
2489
|
-
# @rtype: :class:`Tencentcloud::live::V20180801::
|
2490
|
-
def
|
2491
|
-
body = send_request('
|
2511
|
+
# @param request: Request instance for DescribeLivePadRules.
|
2512
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLivePadRulesRequest`
|
2513
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeLivePadRulesResponse`
|
2514
|
+
def DescribeLivePadRules(request)
|
2515
|
+
body = send_request('DescribeLivePadRules', request.serialize)
|
2492
2516
|
response = JSON.parse(body)
|
2493
2517
|
if response['Response'].key?('Error') == false
|
2494
|
-
model =
|
2518
|
+
model = DescribeLivePadRulesResponse.new
|
2495
2519
|
model.deserialize(response['Response'])
|
2496
2520
|
model
|
2497
2521
|
else
|
@@ -2506,16 +2530,16 @@ module TencentCloud
|
|
2506
2530
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2507
2531
|
end
|
2508
2532
|
|
2509
|
-
#
|
2533
|
+
# 使用该接口查询垫片流列表。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
|
2510
2534
|
|
2511
|
-
# @param request: Request instance for
|
2512
|
-
# @type request: :class:`Tencentcloud::live::V20180801::
|
2513
|
-
# @rtype: :class:`Tencentcloud::live::V20180801::
|
2514
|
-
def
|
2515
|
-
body = send_request('
|
2535
|
+
# @param request: Request instance for DescribeLivePadStreamList.
|
2536
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLivePadStreamListRequest`
|
2537
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeLivePadStreamListResponse`
|
2538
|
+
def DescribeLivePadStreamList(request)
|
2539
|
+
body = send_request('DescribeLivePadStreamList', request.serialize)
|
2516
2540
|
response = JSON.parse(body)
|
2517
2541
|
if response['Response'].key?('Error') == false
|
2518
|
-
model =
|
2542
|
+
model = DescribeLivePadStreamListResponse.new
|
2519
2543
|
model.deserialize(response['Response'])
|
2520
2544
|
model
|
2521
2545
|
else
|
@@ -4578,6 +4602,54 @@ module TencentCloud
|
|
4578
4602
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4579
4603
|
end
|
4580
4604
|
|
4605
|
+
# 使用该接口发送云端特效到线上正活跃的直播流,观众可在播放端看到特效从直播流画面中展示。
|
4606
|
+
|
4607
|
+
# @param request: Request instance for SendLiveCloudEffect.
|
4608
|
+
# @type request: :class:`Tencentcloud::live::V20180801::SendLiveCloudEffectRequest`
|
4609
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::SendLiveCloudEffectResponse`
|
4610
|
+
def SendLiveCloudEffect(request)
|
4611
|
+
body = send_request('SendLiveCloudEffect', request.serialize)
|
4612
|
+
response = JSON.parse(body)
|
4613
|
+
if response['Response'].key?('Error') == false
|
4614
|
+
model = SendLiveCloudEffectResponse.new
|
4615
|
+
model.deserialize(response['Response'])
|
4616
|
+
model
|
4617
|
+
else
|
4618
|
+
code = response['Response']['Error']['Code']
|
4619
|
+
message = response['Response']['Error']['Message']
|
4620
|
+
reqid = response['Response']['RequestId']
|
4621
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4622
|
+
end
|
4623
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4624
|
+
raise e
|
4625
|
+
rescue StandardError => e
|
4626
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4627
|
+
end
|
4628
|
+
|
4629
|
+
# 使用该接口将直播流开始切入垫片。
|
4630
|
+
|
4631
|
+
# @param request: Request instance for StartLivePadStream.
|
4632
|
+
# @type request: :class:`Tencentcloud::live::V20180801::StartLivePadStreamRequest`
|
4633
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::StartLivePadStreamResponse`
|
4634
|
+
def StartLivePadStream(request)
|
4635
|
+
body = send_request('StartLivePadStream', request.serialize)
|
4636
|
+
response = JSON.parse(body)
|
4637
|
+
if response['Response'].key?('Error') == false
|
4638
|
+
model = StartLivePadStreamResponse.new
|
4639
|
+
model.deserialize(response['Response'])
|
4640
|
+
model
|
4641
|
+
else
|
4642
|
+
code = response['Response']['Error']['Code']
|
4643
|
+
message = response['Response']['Error']['Message']
|
4644
|
+
reqid = response['Response']['RequestId']
|
4645
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4646
|
+
end
|
4647
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4648
|
+
raise e
|
4649
|
+
rescue StandardError => e
|
4650
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4651
|
+
end
|
4652
|
+
|
4581
4653
|
# 该接口用来启动直播流监播任务。
|
4582
4654
|
|
4583
4655
|
# @param request: Request instance for StartLiveStreamMonitor.
|
@@ -4651,16 +4723,16 @@ module TencentCloud
|
|
4651
4723
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4652
4724
|
end
|
4653
4725
|
|
4654
|
-
#
|
4726
|
+
# 使用该接口将直播流停止切入垫片。
|
4655
4727
|
|
4656
|
-
# @param request: Request instance for
|
4657
|
-
# @type request: :class:`Tencentcloud::live::V20180801::
|
4658
|
-
# @rtype: :class:`Tencentcloud::live::V20180801::
|
4659
|
-
def
|
4660
|
-
body = send_request('
|
4728
|
+
# @param request: Request instance for StopLivePadStream.
|
4729
|
+
# @type request: :class:`Tencentcloud::live::V20180801::StopLivePadStreamRequest`
|
4730
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::StopLivePadStreamResponse`
|
4731
|
+
def StopLivePadStream(request)
|
4732
|
+
body = send_request('StopLivePadStream', request.serialize)
|
4661
4733
|
response = JSON.parse(body)
|
4662
4734
|
if response['Response'].key?('Error') == false
|
4663
|
-
model =
|
4735
|
+
model = StopLivePadStreamResponse.new
|
4664
4736
|
model.deserialize(response['Response'])
|
4665
4737
|
model
|
4666
4738
|
else
|
data/lib/v20180801/models.rb
CHANGED
@@ -1536,6 +1536,49 @@ module TencentCloud
|
|
1536
1536
|
end
|
1537
1537
|
end
|
1538
1538
|
|
1539
|
+
# 云端特效信息。
|
1540
|
+
class CloudEffectInfo < TencentCloud::Common::AbstractModel
|
1541
|
+
# @param Id: 云端特效 ID。
|
1542
|
+
# @type Id: String
|
1543
|
+
# @param Prompt: 云端特效描述词。
|
1544
|
+
# @type Prompt: String
|
1545
|
+
# @param Flag: 云端特效标签。
|
1546
|
+
# @type Flag: String
|
1547
|
+
# @param PreviewImageUrl: 云端特效预览图片。
|
1548
|
+
# @type PreviewImageUrl: String
|
1549
|
+
# @param Type: 云端特效类型。
|
1550
|
+
# PGC : 官方精品特效。
|
1551
|
+
# AIGC : AI生成的特效。
|
1552
|
+
# UGC : 用户上传特效。
|
1553
|
+
# @type Type: String
|
1554
|
+
# @param CreateTime: 云端特效创建时间。
|
1555
|
+
# @type CreateTime: String
|
1556
|
+
# @param UpdateTime: 云端特效更新时间。
|
1557
|
+
# @type UpdateTime: String
|
1558
|
+
|
1559
|
+
attr_accessor :Id, :Prompt, :Flag, :PreviewImageUrl, :Type, :CreateTime, :UpdateTime
|
1560
|
+
|
1561
|
+
def initialize(id=nil, prompt=nil, flag=nil, previewimageurl=nil, type=nil, createtime=nil, updatetime=nil)
|
1562
|
+
@Id = id
|
1563
|
+
@Prompt = prompt
|
1564
|
+
@Flag = flag
|
1565
|
+
@PreviewImageUrl = previewimageurl
|
1566
|
+
@Type = type
|
1567
|
+
@CreateTime = createtime
|
1568
|
+
@UpdateTime = updatetime
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
def deserialize(params)
|
1572
|
+
@Id = params['Id']
|
1573
|
+
@Prompt = params['Prompt']
|
1574
|
+
@Flag = params['Flag']
|
1575
|
+
@PreviewImageUrl = params['PreviewImageUrl']
|
1576
|
+
@Type = params['Type']
|
1577
|
+
@CreateTime = params['CreateTime']
|
1578
|
+
@UpdateTime = params['UpdateTime']
|
1579
|
+
end
|
1580
|
+
end
|
1581
|
+
|
1539
1582
|
# 通用混流控制参数
|
1540
1583
|
class CommonMixControlParams < TencentCloud::Common::AbstractModel
|
1541
1584
|
# @param UseMixCropCenter: 取值范围[0,1]。
|
@@ -6114,6 +6157,61 @@ module TencentCloud
|
|
6114
6157
|
end
|
6115
6158
|
end
|
6116
6159
|
|
6160
|
+
# DescribeLiveCloudEffectList请求参数结构体
|
6161
|
+
class DescribeLiveCloudEffectListRequest < TencentCloud::Common::AbstractModel
|
6162
|
+
# @param Id: 云端特效ID。
|
6163
|
+
# @type Id: String
|
6164
|
+
# @param Prompt: 云端特效描述词。由用户原始输入的描述词。
|
6165
|
+
# @type Prompt: String
|
6166
|
+
# @param Flag: 云端特效标签。对云端特效进行分类标签,可用于分类搜索。
|
6167
|
+
# @type Flag: String
|
6168
|
+
# @param Type: 云端特效类型, 默认不填,返回全部。PGC: 特效库中的特效;AICG : AI生成的特效;UGC:用户自定义上传的特效;
|
6169
|
+
# @type Type: String
|
6170
|
+
|
6171
|
+
attr_accessor :Id, :Prompt, :Flag, :Type
|
6172
|
+
|
6173
|
+
def initialize(id=nil, prompt=nil, flag=nil, type=nil)
|
6174
|
+
@Id = id
|
6175
|
+
@Prompt = prompt
|
6176
|
+
@Flag = flag
|
6177
|
+
@Type = type
|
6178
|
+
end
|
6179
|
+
|
6180
|
+
def deserialize(params)
|
6181
|
+
@Id = params['Id']
|
6182
|
+
@Prompt = params['Prompt']
|
6183
|
+
@Flag = params['Flag']
|
6184
|
+
@Type = params['Type']
|
6185
|
+
end
|
6186
|
+
end
|
6187
|
+
|
6188
|
+
# DescribeLiveCloudEffectList返回参数结构体
|
6189
|
+
class DescribeLiveCloudEffectListResponse < TencentCloud::Common::AbstractModel
|
6190
|
+
# @param InfoList: 云端特效信息列表。
|
6191
|
+
# @type InfoList: Array
|
6192
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6193
|
+
# @type RequestId: String
|
6194
|
+
|
6195
|
+
attr_accessor :InfoList, :RequestId
|
6196
|
+
|
6197
|
+
def initialize(infolist=nil, requestid=nil)
|
6198
|
+
@InfoList = infolist
|
6199
|
+
@RequestId = requestid
|
6200
|
+
end
|
6201
|
+
|
6202
|
+
def deserialize(params)
|
6203
|
+
unless params['InfoList'].nil?
|
6204
|
+
@InfoList = []
|
6205
|
+
params['InfoList'].each do |i|
|
6206
|
+
cloudeffectinfo_tmp = CloudEffectInfo.new
|
6207
|
+
cloudeffectinfo_tmp.deserialize(i)
|
6208
|
+
@InfoList << cloudeffectinfo_tmp
|
6209
|
+
end
|
6210
|
+
end
|
6211
|
+
@RequestId = params['RequestId']
|
6212
|
+
end
|
6213
|
+
end
|
6214
|
+
|
6117
6215
|
# DescribeLiveDelayInfoList请求参数结构体
|
6118
6216
|
class DescribeLiveDelayInfoListRequest < TencentCloud::Common::AbstractModel
|
6119
6217
|
|
@@ -6729,80 +6827,115 @@ module TencentCloud
|
|
6729
6827
|
end
|
6730
6828
|
end
|
6731
6829
|
|
6732
|
-
#
|
6733
|
-
class
|
6734
|
-
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
6735
|
-
# @type AppName: String
|
6736
|
-
# @param PushDomainName: 您的推流域名。
|
6737
|
-
# @type PushDomainName: String
|
6830
|
+
# DescribeLivePadRules请求参数结构体
|
6831
|
+
class DescribeLivePadRulesRequest < TencentCloud::Common::AbstractModel
|
6738
6832
|
|
6739
|
-
attr_accessor :AppName, :PushDomainName
|
6740
6833
|
|
6741
|
-
def initialize(
|
6742
|
-
@AppName = appname
|
6743
|
-
@PushDomainName = pushdomainname
|
6834
|
+
def initialize()
|
6744
6835
|
end
|
6745
6836
|
|
6746
6837
|
def deserialize(params)
|
6747
|
-
@AppName = params['AppName']
|
6748
|
-
@PushDomainName = params['PushDomainName']
|
6749
6838
|
end
|
6750
6839
|
end
|
6751
6840
|
|
6752
|
-
#
|
6753
|
-
class
|
6754
|
-
# @param
|
6755
|
-
# @type
|
6841
|
+
# DescribeLivePadRules返回参数结构体
|
6842
|
+
class DescribeLivePadRulesResponse < TencentCloud::Common::AbstractModel
|
6843
|
+
# @param Rules: 规则信息列表。
|
6844
|
+
# @type Rules: Array
|
6756
6845
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6757
6846
|
# @type RequestId: String
|
6758
6847
|
|
6759
|
-
attr_accessor :
|
6848
|
+
attr_accessor :Rules, :RequestId
|
6760
6849
|
|
6761
|
-
def initialize(
|
6762
|
-
@
|
6850
|
+
def initialize(rules=nil, requestid=nil)
|
6851
|
+
@Rules = rules
|
6763
6852
|
@RequestId = requestid
|
6764
6853
|
end
|
6765
6854
|
|
6766
6855
|
def deserialize(params)
|
6767
|
-
|
6856
|
+
unless params['Rules'].nil?
|
6857
|
+
@Rules = []
|
6858
|
+
params['Rules'].each do |i|
|
6859
|
+
ruleinfo_tmp = RuleInfo.new
|
6860
|
+
ruleinfo_tmp.deserialize(i)
|
6861
|
+
@Rules << ruleinfo_tmp
|
6862
|
+
end
|
6863
|
+
end
|
6768
6864
|
@RequestId = params['RequestId']
|
6769
6865
|
end
|
6770
6866
|
end
|
6771
6867
|
|
6772
|
-
#
|
6773
|
-
class
|
6868
|
+
# DescribeLivePadStreamList请求参数结构体
|
6869
|
+
class DescribeLivePadStreamListRequest < TencentCloud::Common::AbstractModel
|
6870
|
+
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
6871
|
+
# @type AppName: String
|
6872
|
+
# @param DomainName: 您的推流域名。
|
6873
|
+
# @type DomainName: String
|
6874
|
+
# @param StreamName: 流名称。
|
6875
|
+
# @type StreamName: String
|
6876
|
+
# @param PageNum: 分页页数。
|
6877
|
+
# @type PageNum: Integer
|
6878
|
+
# @param PageSize: 每页个数。
|
6879
|
+
# @type PageSize: Integer
|
6774
6880
|
|
6881
|
+
attr_accessor :AppName, :DomainName, :StreamName, :PageNum, :PageSize
|
6775
6882
|
|
6776
|
-
def initialize()
|
6883
|
+
def initialize(appname=nil, domainname=nil, streamname=nil, pagenum=nil, pagesize=nil)
|
6884
|
+
@AppName = appname
|
6885
|
+
@DomainName = domainname
|
6886
|
+
@StreamName = streamname
|
6887
|
+
@PageNum = pagenum
|
6888
|
+
@PageSize = pagesize
|
6777
6889
|
end
|
6778
6890
|
|
6779
6891
|
def deserialize(params)
|
6892
|
+
@AppName = params['AppName']
|
6893
|
+
@DomainName = params['DomainName']
|
6894
|
+
@StreamName = params['StreamName']
|
6895
|
+
@PageNum = params['PageNum']
|
6896
|
+
@PageSize = params['PageSize']
|
6780
6897
|
end
|
6781
6898
|
end
|
6782
6899
|
|
6783
|
-
#
|
6784
|
-
class
|
6785
|
-
# @param
|
6786
|
-
# @type
|
6900
|
+
# DescribeLivePadStreamList返回参数结构体
|
6901
|
+
class DescribeLivePadStreamListResponse < TencentCloud::Common::AbstractModel
|
6902
|
+
# @param StreamInfoList: 当前正在拉取垫片的流信息列表。
|
6903
|
+
# @type StreamInfoList: Array
|
6904
|
+
# @param PageNum: 传入的分页页数。
|
6905
|
+
# @type PageNum: Integer
|
6906
|
+
# @param PageSize: 传入的分页个数。
|
6907
|
+
# @type PageSize: Integer
|
6908
|
+
# @param TotalNum: 查询到的总个数。
|
6909
|
+
# @type TotalNum: Integer
|
6910
|
+
# @param TotalPage: 可以分的总页数。
|
6911
|
+
# @type TotalPage: Integer
|
6787
6912
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6788
6913
|
# @type RequestId: String
|
6789
6914
|
|
6790
|
-
attr_accessor :
|
6915
|
+
attr_accessor :StreamInfoList, :PageNum, :PageSize, :TotalNum, :TotalPage, :RequestId
|
6791
6916
|
|
6792
|
-
def initialize(
|
6793
|
-
@
|
6917
|
+
def initialize(streaminfolist=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil)
|
6918
|
+
@StreamInfoList = streaminfolist
|
6919
|
+
@PageNum = pagenum
|
6920
|
+
@PageSize = pagesize
|
6921
|
+
@TotalNum = totalnum
|
6922
|
+
@TotalPage = totalpage
|
6794
6923
|
@RequestId = requestid
|
6795
6924
|
end
|
6796
6925
|
|
6797
6926
|
def deserialize(params)
|
6798
|
-
unless params['
|
6799
|
-
@
|
6800
|
-
params['
|
6801
|
-
|
6802
|
-
|
6803
|
-
@
|
6927
|
+
unless params['StreamInfoList'].nil?
|
6928
|
+
@StreamInfoList = []
|
6929
|
+
params['StreamInfoList'].each do |i|
|
6930
|
+
padstreaminfo_tmp = PadStreamInfo.new
|
6931
|
+
padstreaminfo_tmp.deserialize(i)
|
6932
|
+
@StreamInfoList << padstreaminfo_tmp
|
6804
6933
|
end
|
6805
6934
|
end
|
6935
|
+
@PageNum = params['PageNum']
|
6936
|
+
@PageSize = params['PageSize']
|
6937
|
+
@TotalNum = params['TotalNum']
|
6938
|
+
@TotalPage = params['TotalPage']
|
6806
6939
|
@RequestId = params['RequestId']
|
6807
6940
|
end
|
6808
6941
|
end
|
@@ -12746,6 +12879,40 @@ module TencentCloud
|
|
12746
12879
|
end
|
12747
12880
|
end
|
12748
12881
|
|
12882
|
+
# 查询当前垫片流的信息
|
12883
|
+
class PadStreamInfo < TencentCloud::Common::AbstractModel
|
12884
|
+
# @param StreamName: 流名称。
|
12885
|
+
# @type StreamName: String
|
12886
|
+
# @param AppName: 应用名称。
|
12887
|
+
# @type AppName: String
|
12888
|
+
# @param DomainName: 推流域名。
|
12889
|
+
# @type DomainName: String
|
12890
|
+
# @param PadStreamType: 垫片流类型。
|
12891
|
+
# 0-自动垫片;
|
12892
|
+
# 1-手动切入垫片。
|
12893
|
+
# @type PadStreamType: String
|
12894
|
+
# @param PublishTime: 垫片流开始时间。UTC时间,示例:2025-04-10T00:01:00Z。注意:该时间与北京时间相差八小时。
|
12895
|
+
# @type PublishTime: String
|
12896
|
+
|
12897
|
+
attr_accessor :StreamName, :AppName, :DomainName, :PadStreamType, :PublishTime
|
12898
|
+
|
12899
|
+
def initialize(streamname=nil, appname=nil, domainname=nil, padstreamtype=nil, publishtime=nil)
|
12900
|
+
@StreamName = streamname
|
12901
|
+
@AppName = appname
|
12902
|
+
@DomainName = domainname
|
12903
|
+
@PadStreamType = padstreamtype
|
12904
|
+
@PublishTime = publishtime
|
12905
|
+
end
|
12906
|
+
|
12907
|
+
def deserialize(params)
|
12908
|
+
@StreamName = params['StreamName']
|
12909
|
+
@AppName = params['AppName']
|
12910
|
+
@DomainName = params['DomainName']
|
12911
|
+
@PadStreamType = params['PadStreamType']
|
12912
|
+
@PublishTime = params['PublishTime']
|
12913
|
+
end
|
12914
|
+
end
|
12915
|
+
|
12749
12916
|
# 直播垫片模板。
|
12750
12917
|
class PadTemplate < TencentCloud::Common::AbstractModel
|
12751
12918
|
# @param TemplateId: 模板id。
|
@@ -13210,27 +13377,20 @@ module TencentCloud
|
|
13210
13377
|
# @param BackupSourceType: 备源类型:
|
13211
13378
|
# PullLivePushLive -直播,
|
13212
13379
|
# PullVodPushLive -点播。
|
13213
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13214
13380
|
# @type BackupSourceType: String
|
13215
13381
|
# @param BackupSourceUrl: 备源URL。
|
13216
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13217
13382
|
# @type BackupSourceUrl: String
|
13218
13383
|
# @param WatermarkList: 水印信息列表。
|
13219
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13220
13384
|
# @type WatermarkList: Array
|
13221
13385
|
# @param VodLocalMode: 点播源是否启用本地推流模式,默认0,不启用。
|
13222
13386
|
# 0 - 不启用。
|
13223
13387
|
# 1 - 启用。
|
13224
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13225
13388
|
# @type VodLocalMode: Integer
|
13226
13389
|
# @param RecordTemplateId: 录制模板 ID。
|
13227
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13228
13390
|
# @type RecordTemplateId: String
|
13229
13391
|
# @param BackupToUrl: 新增的推流地址。用于单任务推两路场景。
|
13230
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13231
13392
|
# @type BackupToUrl: String
|
13232
13393
|
# @param TranscodeTemplateName: 直播转码模板。
|
13233
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13234
13394
|
# @type TranscodeTemplateName: String
|
13235
13395
|
|
13236
13396
|
attr_accessor :TaskId, :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :PushArgs, :StartTime, :EndTime, :Region, :VodLoopTimes, :VodRefreshType, :CreateTime, :UpdateTime, :CreateBy, :UpdateBy, :CallbackUrl, :CallbackEvents, :CallbackInfo, :ErrorInfo, :Status, :RecentPullInfo, :Comment, :BackupSourceType, :BackupSourceUrl, :WatermarkList, :VodLocalMode, :RecordTemplateId, :BackupToUrl, :TranscodeTemplateName
|
@@ -14079,6 +14239,69 @@ module TencentCloud
|
|
14079
14239
|
end
|
14080
14240
|
end
|
14081
14241
|
|
14242
|
+
# SendLiveCloudEffect请求参数结构体
|
14243
|
+
class SendLiveCloudEffectRequest < TencentCloud::Common::AbstractModel
|
14244
|
+
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
14245
|
+
# @type AppName: String
|
14246
|
+
# @param PushDomainName: 您的推流域名。
|
14247
|
+
# @type PushDomainName: String
|
14248
|
+
# @param StreamName: 流名称。
|
14249
|
+
# @type StreamName: String
|
14250
|
+
# @param Id: 云端特效 ID。
|
14251
|
+
# @type Id: String
|
14252
|
+
# @param Operator: 操作人备注信息。
|
14253
|
+
# @type Operator: String
|
14254
|
+
# @param ZoomFactor: 缩小比例,默认0 不缩放。
|
14255
|
+
# 可选值:0-9, 值越大,越缩小。
|
14256
|
+
# @type ZoomFactor: Integer
|
14257
|
+
# @param XPosition: 指定云端特效渲染位置百分比。默认居中显示。
|
14258
|
+
# 原点为画面左上角,该参数指定特效渲染离原点的横向比例,可选值 0 - 100。
|
14259
|
+
# @type XPosition: String
|
14260
|
+
# @param YPosition: 指定云端特效渲染位置百分比。默认居中显示。
|
14261
|
+
# 原点为画面左上角,该参数指定特效渲染离原点的纵向比例,可选值 0 - 100。
|
14262
|
+
# @type YPosition: String
|
14263
|
+
|
14264
|
+
attr_accessor :AppName, :PushDomainName, :StreamName, :Id, :Operator, :ZoomFactor, :XPosition, :YPosition
|
14265
|
+
|
14266
|
+
def initialize(appname=nil, pushdomainname=nil, streamname=nil, id=nil, operator=nil, zoomfactor=nil, xposition=nil, yposition=nil)
|
14267
|
+
@AppName = appname
|
14268
|
+
@PushDomainName = pushdomainname
|
14269
|
+
@StreamName = streamname
|
14270
|
+
@Id = id
|
14271
|
+
@Operator = operator
|
14272
|
+
@ZoomFactor = zoomfactor
|
14273
|
+
@XPosition = xposition
|
14274
|
+
@YPosition = yposition
|
14275
|
+
end
|
14276
|
+
|
14277
|
+
def deserialize(params)
|
14278
|
+
@AppName = params['AppName']
|
14279
|
+
@PushDomainName = params['PushDomainName']
|
14280
|
+
@StreamName = params['StreamName']
|
14281
|
+
@Id = params['Id']
|
14282
|
+
@Operator = params['Operator']
|
14283
|
+
@ZoomFactor = params['ZoomFactor']
|
14284
|
+
@XPosition = params['XPosition']
|
14285
|
+
@YPosition = params['YPosition']
|
14286
|
+
end
|
14287
|
+
end
|
14288
|
+
|
14289
|
+
# SendLiveCloudEffect返回参数结构体
|
14290
|
+
class SendLiveCloudEffectResponse < TencentCloud::Common::AbstractModel
|
14291
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14292
|
+
# @type RequestId: String
|
14293
|
+
|
14294
|
+
attr_accessor :RequestId
|
14295
|
+
|
14296
|
+
def initialize(requestid=nil)
|
14297
|
+
@RequestId = requestid
|
14298
|
+
end
|
14299
|
+
|
14300
|
+
def deserialize(params)
|
14301
|
+
@RequestId = params['RequestId']
|
14302
|
+
end
|
14303
|
+
end
|
14304
|
+
|
14082
14305
|
# 截图模板信息。
|
14083
14306
|
class SnapshotTemplateInfo < TencentCloud::Common::AbstractModel
|
14084
14307
|
# @param TemplateId: 模板 ID。
|
@@ -14143,6 +14366,50 @@ module TencentCloud
|
|
14143
14366
|
end
|
14144
14367
|
end
|
14145
14368
|
|
14369
|
+
# StartLivePadStream请求参数结构体
|
14370
|
+
class StartLivePadStreamRequest < TencentCloud::Common::AbstractModel
|
14371
|
+
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
14372
|
+
# @type AppName: String
|
14373
|
+
# @param PushDomainName: 您的推流域名。
|
14374
|
+
# @type PushDomainName: String
|
14375
|
+
# @param StreamName: 流名称。
|
14376
|
+
# @type StreamName: String
|
14377
|
+
# @param Operator: 操作人备注信息。
|
14378
|
+
# @type Operator: String
|
14379
|
+
|
14380
|
+
attr_accessor :AppName, :PushDomainName, :StreamName, :Operator
|
14381
|
+
|
14382
|
+
def initialize(appname=nil, pushdomainname=nil, streamname=nil, operator=nil)
|
14383
|
+
@AppName = appname
|
14384
|
+
@PushDomainName = pushdomainname
|
14385
|
+
@StreamName = streamname
|
14386
|
+
@Operator = operator
|
14387
|
+
end
|
14388
|
+
|
14389
|
+
def deserialize(params)
|
14390
|
+
@AppName = params['AppName']
|
14391
|
+
@PushDomainName = params['PushDomainName']
|
14392
|
+
@StreamName = params['StreamName']
|
14393
|
+
@Operator = params['Operator']
|
14394
|
+
end
|
14395
|
+
end
|
14396
|
+
|
14397
|
+
# StartLivePadStream返回参数结构体
|
14398
|
+
class StartLivePadStreamResponse < TencentCloud::Common::AbstractModel
|
14399
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14400
|
+
# @type RequestId: String
|
14401
|
+
|
14402
|
+
attr_accessor :RequestId
|
14403
|
+
|
14404
|
+
def initialize(requestid=nil)
|
14405
|
+
@RequestId = requestid
|
14406
|
+
end
|
14407
|
+
|
14408
|
+
def deserialize(params)
|
14409
|
+
@RequestId = params['RequestId']
|
14410
|
+
end
|
14411
|
+
end
|
14412
|
+
|
14146
14413
|
# StartLiveStreamMonitor请求参数结构体
|
14147
14414
|
class StartLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
|
14148
14415
|
# @param MonitorId: 监播ID。
|
@@ -14245,8 +14512,8 @@ module TencentCloud
|
|
14245
14512
|
end
|
14246
14513
|
end
|
14247
14514
|
|
14248
|
-
#
|
14249
|
-
class
|
14515
|
+
# StopLivePadStream请求参数结构体
|
14516
|
+
class StopLivePadStreamRequest < TencentCloud::Common::AbstractModel
|
14250
14517
|
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
14251
14518
|
# @type AppName: String
|
14252
14519
|
# @param PushDomainName: 您的推流域名。
|
@@ -14273,22 +14540,18 @@ module TencentCloud
|
|
14273
14540
|
end
|
14274
14541
|
end
|
14275
14542
|
|
14276
|
-
#
|
14277
|
-
class
|
14278
|
-
# @param ResultMessage: 处理结果信息。
|
14279
|
-
# @type ResultMessage: String
|
14543
|
+
# StopLivePadStream返回参数结构体
|
14544
|
+
class StopLivePadStreamResponse < TencentCloud::Common::AbstractModel
|
14280
14545
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14281
14546
|
# @type RequestId: String
|
14282
14547
|
|
14283
|
-
attr_accessor :
|
14548
|
+
attr_accessor :RequestId
|
14284
14549
|
|
14285
|
-
def initialize(
|
14286
|
-
@ResultMessage = resultmessage
|
14550
|
+
def initialize(requestid=nil)
|
14287
14551
|
@RequestId = requestid
|
14288
14552
|
end
|
14289
14553
|
|
14290
14554
|
def deserialize(params)
|
14291
|
-
@ResultMessage = params['ResultMessage']
|
14292
14555
|
@RequestId = params['RequestId']
|
14293
14556
|
end
|
14294
14557
|
end
|
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.1087
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|