tencentcloud-sdk-live 3.0.1074 → 3.0.1086
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 +120 -0
- data/lib/v20180801/models.rb +358 -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: c13ab1fe109b69efec540c42a20fbe1e5567d34c
|
4
|
+
data.tar.gz: 735051ab8bc115d2ea34c2f6c07a34cf4b5ce6d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe4671ffa70942044cc5691d6c5208ca0297605d129ef98e423d18f07ea0ae03b1eb8193c6825ce3f7a50d842085564ed75e1d0c0a89532873a8baba429af07f
|
7
|
+
data.tar.gz: 45133810bea38ca713f22ab71047d955289392e6a26e854f7ac2de52d983ed932602d5fb881e01564275199cd927844335c04b8bf4387a3981f8f7ceeaabd65b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1086
|
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.
|
@@ -2530,6 +2554,30 @@ module TencentCloud
|
|
2530
2554
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2531
2555
|
end
|
2532
2556
|
|
2557
|
+
# 使用该接口查询垫片流列表。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
|
2558
|
+
|
2559
|
+
# @param request: Request instance for DescribeLivePadStreamList.
|
2560
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLivePadStreamListRequest`
|
2561
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeLivePadStreamListResponse`
|
2562
|
+
def DescribeLivePadStreamList(request)
|
2563
|
+
body = send_request('DescribeLivePadStreamList', request.serialize)
|
2564
|
+
response = JSON.parse(body)
|
2565
|
+
if response['Response'].key?('Error') == false
|
2566
|
+
model = DescribeLivePadStreamListResponse.new
|
2567
|
+
model.deserialize(response['Response'])
|
2568
|
+
model
|
2569
|
+
else
|
2570
|
+
code = response['Response']['Error']['Code']
|
2571
|
+
message = response['Response']['Error']['Message']
|
2572
|
+
reqid = response['Response']['RequestId']
|
2573
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2574
|
+
end
|
2575
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2576
|
+
raise e
|
2577
|
+
rescue StandardError => e
|
2578
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2579
|
+
end
|
2580
|
+
|
2533
2581
|
# 获取单个直播垫片模板
|
2534
2582
|
|
2535
2583
|
# @param request: Request instance for DescribeLivePadTemplate.
|
@@ -4578,6 +4626,54 @@ module TencentCloud
|
|
4578
4626
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4579
4627
|
end
|
4580
4628
|
|
4629
|
+
# 使用该接口发送云端特效到线上正活跃的直播流,观众可在播放端看到特效从直播流画面中展示。
|
4630
|
+
|
4631
|
+
# @param request: Request instance for SendLiveCloudEffect.
|
4632
|
+
# @type request: :class:`Tencentcloud::live::V20180801::SendLiveCloudEffectRequest`
|
4633
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::SendLiveCloudEffectResponse`
|
4634
|
+
def SendLiveCloudEffect(request)
|
4635
|
+
body = send_request('SendLiveCloudEffect', request.serialize)
|
4636
|
+
response = JSON.parse(body)
|
4637
|
+
if response['Response'].key?('Error') == false
|
4638
|
+
model = SendLiveCloudEffectResponse.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
|
+
|
4653
|
+
# 使用该接口将直播流开始切入垫片。
|
4654
|
+
|
4655
|
+
# @param request: Request instance for StartLivePadStream.
|
4656
|
+
# @type request: :class:`Tencentcloud::live::V20180801::StartLivePadStreamRequest`
|
4657
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::StartLivePadStreamResponse`
|
4658
|
+
def StartLivePadStream(request)
|
4659
|
+
body = send_request('StartLivePadStream', request.serialize)
|
4660
|
+
response = JSON.parse(body)
|
4661
|
+
if response['Response'].key?('Error') == false
|
4662
|
+
model = StartLivePadStreamResponse.new
|
4663
|
+
model.deserialize(response['Response'])
|
4664
|
+
model
|
4665
|
+
else
|
4666
|
+
code = response['Response']['Error']['Code']
|
4667
|
+
message = response['Response']['Error']['Message']
|
4668
|
+
reqid = response['Response']['RequestId']
|
4669
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4670
|
+
end
|
4671
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4672
|
+
raise e
|
4673
|
+
rescue StandardError => e
|
4674
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4675
|
+
end
|
4676
|
+
|
4581
4677
|
# 该接口用来启动直播流监播任务。
|
4582
4678
|
|
4583
4679
|
# @param request: Request instance for StartLiveStreamMonitor.
|
@@ -4675,6 +4771,30 @@ module TencentCloud
|
|
4675
4771
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4676
4772
|
end
|
4677
4773
|
|
4774
|
+
# 使用该接口将直播流停止切入垫片。
|
4775
|
+
|
4776
|
+
# @param request: Request instance for StopLivePadStream.
|
4777
|
+
# @type request: :class:`Tencentcloud::live::V20180801::StopLivePadStreamRequest`
|
4778
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::StopLivePadStreamResponse`
|
4779
|
+
def StopLivePadStream(request)
|
4780
|
+
body = send_request('StopLivePadStream', request.serialize)
|
4781
|
+
response = JSON.parse(body)
|
4782
|
+
if response['Response'].key?('Error') == false
|
4783
|
+
model = StopLivePadStreamResponse.new
|
4784
|
+
model.deserialize(response['Response'])
|
4785
|
+
model
|
4786
|
+
else
|
4787
|
+
code = response['Response']['Error']['Code']
|
4788
|
+
message = response['Response']['Error']['Message']
|
4789
|
+
reqid = response['Response']['RequestId']
|
4790
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4791
|
+
end
|
4792
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4793
|
+
raise e
|
4794
|
+
rescue StandardError => e
|
4795
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4796
|
+
end
|
4797
|
+
|
4678
4798
|
# 说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
|
4679
4799
|
|
4680
4800
|
# @param request: Request instance for StopLiveRecord.
|
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
|
|
@@ -6807,6 +6905,81 @@ module TencentCloud
|
|
6807
6905
|
end
|
6808
6906
|
end
|
6809
6907
|
|
6908
|
+
# DescribeLivePadStreamList请求参数结构体
|
6909
|
+
class DescribeLivePadStreamListRequest < TencentCloud::Common::AbstractModel
|
6910
|
+
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
6911
|
+
# @type AppName: String
|
6912
|
+
# @param DomainName: 您的推流域名。
|
6913
|
+
# @type DomainName: String
|
6914
|
+
# @param StreamName: 流名称。
|
6915
|
+
# @type StreamName: String
|
6916
|
+
# @param PageNum: 分页页数。
|
6917
|
+
# @type PageNum: Integer
|
6918
|
+
# @param PageSize: 每页个数。
|
6919
|
+
# @type PageSize: Integer
|
6920
|
+
|
6921
|
+
attr_accessor :AppName, :DomainName, :StreamName, :PageNum, :PageSize
|
6922
|
+
|
6923
|
+
def initialize(appname=nil, domainname=nil, streamname=nil, pagenum=nil, pagesize=nil)
|
6924
|
+
@AppName = appname
|
6925
|
+
@DomainName = domainname
|
6926
|
+
@StreamName = streamname
|
6927
|
+
@PageNum = pagenum
|
6928
|
+
@PageSize = pagesize
|
6929
|
+
end
|
6930
|
+
|
6931
|
+
def deserialize(params)
|
6932
|
+
@AppName = params['AppName']
|
6933
|
+
@DomainName = params['DomainName']
|
6934
|
+
@StreamName = params['StreamName']
|
6935
|
+
@PageNum = params['PageNum']
|
6936
|
+
@PageSize = params['PageSize']
|
6937
|
+
end
|
6938
|
+
end
|
6939
|
+
|
6940
|
+
# DescribeLivePadStreamList返回参数结构体
|
6941
|
+
class DescribeLivePadStreamListResponse < TencentCloud::Common::AbstractModel
|
6942
|
+
# @param StreamInfoList: 当前正在拉取垫片的流信息列表。
|
6943
|
+
# @type StreamInfoList: Array
|
6944
|
+
# @param PageNum: 传入的分页页数。
|
6945
|
+
# @type PageNum: Integer
|
6946
|
+
# @param PageSize: 传入的分页个数。
|
6947
|
+
# @type PageSize: Integer
|
6948
|
+
# @param TotalNum: 查询到的总个数。
|
6949
|
+
# @type TotalNum: Integer
|
6950
|
+
# @param TotalPage: 可以分的总页数。
|
6951
|
+
# @type TotalPage: Integer
|
6952
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6953
|
+
# @type RequestId: String
|
6954
|
+
|
6955
|
+
attr_accessor :StreamInfoList, :PageNum, :PageSize, :TotalNum, :TotalPage, :RequestId
|
6956
|
+
|
6957
|
+
def initialize(streaminfolist=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil)
|
6958
|
+
@StreamInfoList = streaminfolist
|
6959
|
+
@PageNum = pagenum
|
6960
|
+
@PageSize = pagesize
|
6961
|
+
@TotalNum = totalnum
|
6962
|
+
@TotalPage = totalpage
|
6963
|
+
@RequestId = requestid
|
6964
|
+
end
|
6965
|
+
|
6966
|
+
def deserialize(params)
|
6967
|
+
unless params['StreamInfoList'].nil?
|
6968
|
+
@StreamInfoList = []
|
6969
|
+
params['StreamInfoList'].each do |i|
|
6970
|
+
padstreaminfo_tmp = PadStreamInfo.new
|
6971
|
+
padstreaminfo_tmp.deserialize(i)
|
6972
|
+
@StreamInfoList << padstreaminfo_tmp
|
6973
|
+
end
|
6974
|
+
end
|
6975
|
+
@PageNum = params['PageNum']
|
6976
|
+
@PageSize = params['PageSize']
|
6977
|
+
@TotalNum = params['TotalNum']
|
6978
|
+
@TotalPage = params['TotalPage']
|
6979
|
+
@RequestId = params['RequestId']
|
6980
|
+
end
|
6981
|
+
end
|
6982
|
+
|
6810
6983
|
# DescribeLivePadTemplate请求参数结构体
|
6811
6984
|
class DescribeLivePadTemplateRequest < TencentCloud::Common::AbstractModel
|
6812
6985
|
# @param TemplateId: 模板id。
|
@@ -12746,6 +12919,40 @@ module TencentCloud
|
|
12746
12919
|
end
|
12747
12920
|
end
|
12748
12921
|
|
12922
|
+
# 查询当前垫片流的信息
|
12923
|
+
class PadStreamInfo < TencentCloud::Common::AbstractModel
|
12924
|
+
# @param StreamName: 流名称。
|
12925
|
+
# @type StreamName: String
|
12926
|
+
# @param AppName: 应用名称。
|
12927
|
+
# @type AppName: String
|
12928
|
+
# @param DomainName: 推流域名。
|
12929
|
+
# @type DomainName: String
|
12930
|
+
# @param PadStreamType: 垫片流类型。
|
12931
|
+
# 0-自动垫片;
|
12932
|
+
# 1-手动切入垫片。
|
12933
|
+
# @type PadStreamType: String
|
12934
|
+
# @param PublishTime: 垫片流开始时间。UTC时间,示例:2025-04-10T00:01:00Z。注意:该时间与北京时间相差八小时。
|
12935
|
+
# @type PublishTime: String
|
12936
|
+
|
12937
|
+
attr_accessor :StreamName, :AppName, :DomainName, :PadStreamType, :PublishTime
|
12938
|
+
|
12939
|
+
def initialize(streamname=nil, appname=nil, domainname=nil, padstreamtype=nil, publishtime=nil)
|
12940
|
+
@StreamName = streamname
|
12941
|
+
@AppName = appname
|
12942
|
+
@DomainName = domainname
|
12943
|
+
@PadStreamType = padstreamtype
|
12944
|
+
@PublishTime = publishtime
|
12945
|
+
end
|
12946
|
+
|
12947
|
+
def deserialize(params)
|
12948
|
+
@StreamName = params['StreamName']
|
12949
|
+
@AppName = params['AppName']
|
12950
|
+
@DomainName = params['DomainName']
|
12951
|
+
@PadStreamType = params['PadStreamType']
|
12952
|
+
@PublishTime = params['PublishTime']
|
12953
|
+
end
|
12954
|
+
end
|
12955
|
+
|
12749
12956
|
# 直播垫片模板。
|
12750
12957
|
class PadTemplate < TencentCloud::Common::AbstractModel
|
12751
12958
|
# @param TemplateId: 模板id。
|
@@ -14079,6 +14286,69 @@ module TencentCloud
|
|
14079
14286
|
end
|
14080
14287
|
end
|
14081
14288
|
|
14289
|
+
# SendLiveCloudEffect请求参数结构体
|
14290
|
+
class SendLiveCloudEffectRequest < TencentCloud::Common::AbstractModel
|
14291
|
+
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
14292
|
+
# @type AppName: String
|
14293
|
+
# @param PushDomainName: 您的推流域名。
|
14294
|
+
# @type PushDomainName: String
|
14295
|
+
# @param StreamName: 流名称。
|
14296
|
+
# @type StreamName: String
|
14297
|
+
# @param Id: 云端特效 ID。
|
14298
|
+
# @type Id: String
|
14299
|
+
# @param Operator: 操作人备注信息。
|
14300
|
+
# @type Operator: String
|
14301
|
+
# @param ZoomFactor: 缩小比例,默认0 不缩放。
|
14302
|
+
# 可选值:0-9, 值越大,越缩小。
|
14303
|
+
# @type ZoomFactor: Integer
|
14304
|
+
# @param XPosition: 指定云端特效渲染位置百分比。默认居中显示。
|
14305
|
+
# 原点为画面左上角,该参数指定特效渲染离原点的横向比例,可选值 0 - 100。
|
14306
|
+
# @type XPosition: String
|
14307
|
+
# @param YPosition: 指定云端特效渲染位置百分比。默认居中显示。
|
14308
|
+
# 原点为画面左上角,该参数指定特效渲染离原点的纵向比例,可选值 0 - 100。
|
14309
|
+
# @type YPosition: String
|
14310
|
+
|
14311
|
+
attr_accessor :AppName, :PushDomainName, :StreamName, :Id, :Operator, :ZoomFactor, :XPosition, :YPosition
|
14312
|
+
|
14313
|
+
def initialize(appname=nil, pushdomainname=nil, streamname=nil, id=nil, operator=nil, zoomfactor=nil, xposition=nil, yposition=nil)
|
14314
|
+
@AppName = appname
|
14315
|
+
@PushDomainName = pushdomainname
|
14316
|
+
@StreamName = streamname
|
14317
|
+
@Id = id
|
14318
|
+
@Operator = operator
|
14319
|
+
@ZoomFactor = zoomfactor
|
14320
|
+
@XPosition = xposition
|
14321
|
+
@YPosition = yposition
|
14322
|
+
end
|
14323
|
+
|
14324
|
+
def deserialize(params)
|
14325
|
+
@AppName = params['AppName']
|
14326
|
+
@PushDomainName = params['PushDomainName']
|
14327
|
+
@StreamName = params['StreamName']
|
14328
|
+
@Id = params['Id']
|
14329
|
+
@Operator = params['Operator']
|
14330
|
+
@ZoomFactor = params['ZoomFactor']
|
14331
|
+
@XPosition = params['XPosition']
|
14332
|
+
@YPosition = params['YPosition']
|
14333
|
+
end
|
14334
|
+
end
|
14335
|
+
|
14336
|
+
# SendLiveCloudEffect返回参数结构体
|
14337
|
+
class SendLiveCloudEffectResponse < TencentCloud::Common::AbstractModel
|
14338
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14339
|
+
# @type RequestId: String
|
14340
|
+
|
14341
|
+
attr_accessor :RequestId
|
14342
|
+
|
14343
|
+
def initialize(requestid=nil)
|
14344
|
+
@RequestId = requestid
|
14345
|
+
end
|
14346
|
+
|
14347
|
+
def deserialize(params)
|
14348
|
+
@RequestId = params['RequestId']
|
14349
|
+
end
|
14350
|
+
end
|
14351
|
+
|
14082
14352
|
# 截图模板信息。
|
14083
14353
|
class SnapshotTemplateInfo < TencentCloud::Common::AbstractModel
|
14084
14354
|
# @param TemplateId: 模板 ID。
|
@@ -14143,6 +14413,50 @@ module TencentCloud
|
|
14143
14413
|
end
|
14144
14414
|
end
|
14145
14415
|
|
14416
|
+
# StartLivePadStream请求参数结构体
|
14417
|
+
class StartLivePadStreamRequest < TencentCloud::Common::AbstractModel
|
14418
|
+
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
14419
|
+
# @type AppName: String
|
14420
|
+
# @param PushDomainName: 您的推流域名。
|
14421
|
+
# @type PushDomainName: String
|
14422
|
+
# @param StreamName: 流名称。
|
14423
|
+
# @type StreamName: String
|
14424
|
+
# @param Operator: 操作人备注信息。
|
14425
|
+
# @type Operator: String
|
14426
|
+
|
14427
|
+
attr_accessor :AppName, :PushDomainName, :StreamName, :Operator
|
14428
|
+
|
14429
|
+
def initialize(appname=nil, pushdomainname=nil, streamname=nil, operator=nil)
|
14430
|
+
@AppName = appname
|
14431
|
+
@PushDomainName = pushdomainname
|
14432
|
+
@StreamName = streamname
|
14433
|
+
@Operator = operator
|
14434
|
+
end
|
14435
|
+
|
14436
|
+
def deserialize(params)
|
14437
|
+
@AppName = params['AppName']
|
14438
|
+
@PushDomainName = params['PushDomainName']
|
14439
|
+
@StreamName = params['StreamName']
|
14440
|
+
@Operator = params['Operator']
|
14441
|
+
end
|
14442
|
+
end
|
14443
|
+
|
14444
|
+
# StartLivePadStream返回参数结构体
|
14445
|
+
class StartLivePadStreamResponse < TencentCloud::Common::AbstractModel
|
14446
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14447
|
+
# @type RequestId: String
|
14448
|
+
|
14449
|
+
attr_accessor :RequestId
|
14450
|
+
|
14451
|
+
def initialize(requestid=nil)
|
14452
|
+
@RequestId = requestid
|
14453
|
+
end
|
14454
|
+
|
14455
|
+
def deserialize(params)
|
14456
|
+
@RequestId = params['RequestId']
|
14457
|
+
end
|
14458
|
+
end
|
14459
|
+
|
14146
14460
|
# StartLiveStreamMonitor请求参数结构体
|
14147
14461
|
class StartLiveStreamMonitorRequest < TencentCloud::Common::AbstractModel
|
14148
14462
|
# @param MonitorId: 监播ID。
|
@@ -14293,6 +14607,50 @@ module TencentCloud
|
|
14293
14607
|
end
|
14294
14608
|
end
|
14295
14609
|
|
14610
|
+
# StopLivePadStream请求参数结构体
|
14611
|
+
class StopLivePadStreamRequest < TencentCloud::Common::AbstractModel
|
14612
|
+
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
14613
|
+
# @type AppName: String
|
14614
|
+
# @param PushDomainName: 您的推流域名。
|
14615
|
+
# @type PushDomainName: String
|
14616
|
+
# @param StreamName: 流名称。
|
14617
|
+
# @type StreamName: String
|
14618
|
+
# @param Operator: 操作人备注信息。
|
14619
|
+
# @type Operator: String
|
14620
|
+
|
14621
|
+
attr_accessor :AppName, :PushDomainName, :StreamName, :Operator
|
14622
|
+
|
14623
|
+
def initialize(appname=nil, pushdomainname=nil, streamname=nil, operator=nil)
|
14624
|
+
@AppName = appname
|
14625
|
+
@PushDomainName = pushdomainname
|
14626
|
+
@StreamName = streamname
|
14627
|
+
@Operator = operator
|
14628
|
+
end
|
14629
|
+
|
14630
|
+
def deserialize(params)
|
14631
|
+
@AppName = params['AppName']
|
14632
|
+
@PushDomainName = params['PushDomainName']
|
14633
|
+
@StreamName = params['StreamName']
|
14634
|
+
@Operator = params['Operator']
|
14635
|
+
end
|
14636
|
+
end
|
14637
|
+
|
14638
|
+
# StopLivePadStream返回参数结构体
|
14639
|
+
class StopLivePadStreamResponse < TencentCloud::Common::AbstractModel
|
14640
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14641
|
+
# @type RequestId: String
|
14642
|
+
|
14643
|
+
attr_accessor :RequestId
|
14644
|
+
|
14645
|
+
def initialize(requestid=nil)
|
14646
|
+
@RequestId = requestid
|
14647
|
+
end
|
14648
|
+
|
14649
|
+
def deserialize(params)
|
14650
|
+
@RequestId = params['RequestId']
|
14651
|
+
end
|
14652
|
+
end
|
14653
|
+
|
14296
14654
|
# StopLiveRecord请求参数结构体
|
14297
14655
|
class StopLiveRecordRequest < TencentCloud::Common::AbstractModel
|
14298
14656
|
# @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.1086
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|