tencentcloud-sdk-live 3.0.1086 → 3.0.1088
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 +0 -48
- data/lib/v20180801/models.rb +6 -97
- 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: bd22269d40d762303ae0168856966ca7e8c44b76
|
4
|
+
data.tar.gz: 8ccd495b33667383488fe2d0f72db4a32bc5d6db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dad667362e72010e606ebdead3505a1d15d7293fef08653cdc304ac23478211a4c2bdebe61a1d52aab7c5061581e23886b288d04ccf79e99dae84780be8c0790
|
7
|
+
data.tar.gz: 0e4bb108ffb99863a84a5aa770a3013b8ee4b9260a4f7f190ffaaec04049bbd5f07864892e9ee0e4acb523e43095594b54fc800d94f2af23c9eb151bbc3e4985
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1088
|
data/lib/v20180801/client.rb
CHANGED
@@ -2506,30 +2506,6 @@ module TencentCloud
|
|
2506
2506
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2507
2507
|
end
|
2508
2508
|
|
2509
|
-
# 使用该接口查询垫片流。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
|
2510
|
-
|
2511
|
-
# @param request: Request instance for DescribeLivePadProcessorList.
|
2512
|
-
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLivePadProcessorListRequest`
|
2513
|
-
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeLivePadProcessorListResponse`
|
2514
|
-
def DescribeLivePadProcessorList(request)
|
2515
|
-
body = send_request('DescribeLivePadProcessorList', request.serialize)
|
2516
|
-
response = JSON.parse(body)
|
2517
|
-
if response['Response'].key?('Error') == false
|
2518
|
-
model = DescribeLivePadProcessorListResponse.new
|
2519
|
-
model.deserialize(response['Response'])
|
2520
|
-
model
|
2521
|
-
else
|
2522
|
-
code = response['Response']['Error']['Code']
|
2523
|
-
message = response['Response']['Error']['Message']
|
2524
|
-
reqid = response['Response']['RequestId']
|
2525
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2526
|
-
end
|
2527
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2528
|
-
raise e
|
2529
|
-
rescue StandardError => e
|
2530
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2531
|
-
end
|
2532
|
-
|
2533
2509
|
# 获取直播垫片规则列表。
|
2534
2510
|
|
2535
2511
|
# @param request: Request instance for DescribeLivePadRules.
|
@@ -4747,30 +4723,6 @@ module TencentCloud
|
|
4747
4723
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4748
4724
|
end
|
4749
4725
|
|
4750
|
-
# 使用该接口停止垫片流。
|
4751
|
-
|
4752
|
-
# @param request: Request instance for StopLivePadProcessor.
|
4753
|
-
# @type request: :class:`Tencentcloud::live::V20180801::StopLivePadProcessorRequest`
|
4754
|
-
# @rtype: :class:`Tencentcloud::live::V20180801::StopLivePadProcessorResponse`
|
4755
|
-
def StopLivePadProcessor(request)
|
4756
|
-
body = send_request('StopLivePadProcessor', request.serialize)
|
4757
|
-
response = JSON.parse(body)
|
4758
|
-
if response['Response'].key?('Error') == false
|
4759
|
-
model = StopLivePadProcessorResponse.new
|
4760
|
-
model.deserialize(response['Response'])
|
4761
|
-
model
|
4762
|
-
else
|
4763
|
-
code = response['Response']['Error']['Code']
|
4764
|
-
message = response['Response']['Error']['Message']
|
4765
|
-
reqid = response['Response']['RequestId']
|
4766
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4767
|
-
end
|
4768
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4769
|
-
raise e
|
4770
|
-
rescue StandardError => e
|
4771
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4772
|
-
end
|
4773
|
-
|
4774
4726
|
# 使用该接口将直播流停止切入垫片。
|
4775
4727
|
|
4776
4728
|
# @param request: Request instance for StopLivePadStream.
|
data/lib/v20180801/models.rb
CHANGED
@@ -6827,46 +6827,6 @@ module TencentCloud
|
|
6827
6827
|
end
|
6828
6828
|
end
|
6829
6829
|
|
6830
|
-
# DescribeLivePadProcessorList请求参数结构体
|
6831
|
-
class DescribeLivePadProcessorListRequest < TencentCloud::Common::AbstractModel
|
6832
|
-
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
6833
|
-
# @type AppName: String
|
6834
|
-
# @param PushDomainName: 您的推流域名。
|
6835
|
-
# @type PushDomainName: String
|
6836
|
-
|
6837
|
-
attr_accessor :AppName, :PushDomainName
|
6838
|
-
|
6839
|
-
def initialize(appname=nil, pushdomainname=nil)
|
6840
|
-
@AppName = appname
|
6841
|
-
@PushDomainName = pushdomainname
|
6842
|
-
end
|
6843
|
-
|
6844
|
-
def deserialize(params)
|
6845
|
-
@AppName = params['AppName']
|
6846
|
-
@PushDomainName = params['PushDomainName']
|
6847
|
-
end
|
6848
|
-
end
|
6849
|
-
|
6850
|
-
# DescribeLivePadProcessorList返回参数结构体
|
6851
|
-
class DescribeLivePadProcessorListResponse < TencentCloud::Common::AbstractModel
|
6852
|
-
# @param StreamNameList: 当前正在拉取垫片的流名称列表。
|
6853
|
-
# @type StreamNameList: Array
|
6854
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6855
|
-
# @type RequestId: String
|
6856
|
-
|
6857
|
-
attr_accessor :StreamNameList, :RequestId
|
6858
|
-
|
6859
|
-
def initialize(streamnamelist=nil, requestid=nil)
|
6860
|
-
@StreamNameList = streamnamelist
|
6861
|
-
@RequestId = requestid
|
6862
|
-
end
|
6863
|
-
|
6864
|
-
def deserialize(params)
|
6865
|
-
@StreamNameList = params['StreamNameList']
|
6866
|
-
@RequestId = params['RequestId']
|
6867
|
-
end
|
6868
|
-
end
|
6869
|
-
|
6870
6830
|
# DescribeLivePadRules请求参数结构体
|
6871
6831
|
class DescribeLivePadRulesRequest < TencentCloud::Common::AbstractModel
|
6872
6832
|
|
@@ -13417,27 +13377,20 @@ module TencentCloud
|
|
13417
13377
|
# @param BackupSourceType: 备源类型:
|
13418
13378
|
# PullLivePushLive -直播,
|
13419
13379
|
# PullVodPushLive -点播。
|
13420
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13421
13380
|
# @type BackupSourceType: String
|
13422
13381
|
# @param BackupSourceUrl: 备源URL。
|
13423
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13424
13382
|
# @type BackupSourceUrl: String
|
13425
13383
|
# @param WatermarkList: 水印信息列表。
|
13426
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13427
13384
|
# @type WatermarkList: Array
|
13428
13385
|
# @param VodLocalMode: 点播源是否启用本地推流模式,默认0,不启用。
|
13429
13386
|
# 0 - 不启用。
|
13430
13387
|
# 1 - 启用。
|
13431
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13432
13388
|
# @type VodLocalMode: Integer
|
13433
13389
|
# @param RecordTemplateId: 录制模板 ID。
|
13434
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13435
13390
|
# @type RecordTemplateId: String
|
13436
13391
|
# @param BackupToUrl: 新增的推流地址。用于单任务推两路场景。
|
13437
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13438
13392
|
# @type BackupToUrl: String
|
13439
13393
|
# @param TranscodeTemplateName: 直播转码模板。
|
13440
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13441
13394
|
# @type TranscodeTemplateName: String
|
13442
13395
|
|
13443
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
|
@@ -14296,6 +14249,8 @@ module TencentCloud
|
|
14296
14249
|
# @type StreamName: String
|
14297
14250
|
# @param Id: 云端特效 ID。
|
14298
14251
|
# @type Id: String
|
14252
|
+
# @param LoopTimes: 默认随系统配置,云端特效循环 少于5次。可自定义指定礼物循环次数,不超过100次。
|
14253
|
+
# @type LoopTimes: Integer
|
14299
14254
|
# @param Operator: 操作人备注信息。
|
14300
14255
|
# @type Operator: String
|
14301
14256
|
# @param ZoomFactor: 缩小比例,默认0 不缩放。
|
@@ -14308,13 +14263,14 @@ module TencentCloud
|
|
14308
14263
|
# 原点为画面左上角,该参数指定特效渲染离原点的纵向比例,可选值 0 - 100。
|
14309
14264
|
# @type YPosition: String
|
14310
14265
|
|
14311
|
-
attr_accessor :AppName, :PushDomainName, :StreamName, :Id, :Operator, :ZoomFactor, :XPosition, :YPosition
|
14266
|
+
attr_accessor :AppName, :PushDomainName, :StreamName, :Id, :LoopTimes, :Operator, :ZoomFactor, :XPosition, :YPosition
|
14312
14267
|
|
14313
|
-
def initialize(appname=nil, pushdomainname=nil, streamname=nil, id=nil, operator=nil, zoomfactor=nil, xposition=nil, yposition=nil)
|
14268
|
+
def initialize(appname=nil, pushdomainname=nil, streamname=nil, id=nil, looptimes=nil, operator=nil, zoomfactor=nil, xposition=nil, yposition=nil)
|
14314
14269
|
@AppName = appname
|
14315
14270
|
@PushDomainName = pushdomainname
|
14316
14271
|
@StreamName = streamname
|
14317
14272
|
@Id = id
|
14273
|
+
@LoopTimes = looptimes
|
14318
14274
|
@Operator = operator
|
14319
14275
|
@ZoomFactor = zoomfactor
|
14320
14276
|
@XPosition = xposition
|
@@ -14326,6 +14282,7 @@ module TencentCloud
|
|
14326
14282
|
@PushDomainName = params['PushDomainName']
|
14327
14283
|
@StreamName = params['StreamName']
|
14328
14284
|
@Id = params['Id']
|
14285
|
+
@LoopTimes = params['LoopTimes']
|
14329
14286
|
@Operator = params['Operator']
|
14330
14287
|
@ZoomFactor = params['ZoomFactor']
|
14331
14288
|
@XPosition = params['XPosition']
|
@@ -14559,54 +14516,6 @@ module TencentCloud
|
|
14559
14516
|
end
|
14560
14517
|
end
|
14561
14518
|
|
14562
|
-
# StopLivePadProcessor请求参数结构体
|
14563
|
-
class StopLivePadProcessorRequest < TencentCloud::Common::AbstractModel
|
14564
|
-
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
14565
|
-
# @type AppName: String
|
14566
|
-
# @param PushDomainName: 您的推流域名。
|
14567
|
-
# @type PushDomainName: String
|
14568
|
-
# @param StreamName: 流名称。
|
14569
|
-
# @type StreamName: String
|
14570
|
-
# @param Operator: 操作人备注信息。
|
14571
|
-
# @type Operator: String
|
14572
|
-
|
14573
|
-
attr_accessor :AppName, :PushDomainName, :StreamName, :Operator
|
14574
|
-
|
14575
|
-
def initialize(appname=nil, pushdomainname=nil, streamname=nil, operator=nil)
|
14576
|
-
@AppName = appname
|
14577
|
-
@PushDomainName = pushdomainname
|
14578
|
-
@StreamName = streamname
|
14579
|
-
@Operator = operator
|
14580
|
-
end
|
14581
|
-
|
14582
|
-
def deserialize(params)
|
14583
|
-
@AppName = params['AppName']
|
14584
|
-
@PushDomainName = params['PushDomainName']
|
14585
|
-
@StreamName = params['StreamName']
|
14586
|
-
@Operator = params['Operator']
|
14587
|
-
end
|
14588
|
-
end
|
14589
|
-
|
14590
|
-
# StopLivePadProcessor返回参数结构体
|
14591
|
-
class StopLivePadProcessorResponse < TencentCloud::Common::AbstractModel
|
14592
|
-
# @param ResultMessage: 处理结果信息。
|
14593
|
-
# @type ResultMessage: String
|
14594
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14595
|
-
# @type RequestId: String
|
14596
|
-
|
14597
|
-
attr_accessor :ResultMessage, :RequestId
|
14598
|
-
|
14599
|
-
def initialize(resultmessage=nil, requestid=nil)
|
14600
|
-
@ResultMessage = resultmessage
|
14601
|
-
@RequestId = requestid
|
14602
|
-
end
|
14603
|
-
|
14604
|
-
def deserialize(params)
|
14605
|
-
@ResultMessage = params['ResultMessage']
|
14606
|
-
@RequestId = params['RequestId']
|
14607
|
-
end
|
14608
|
-
end
|
14609
|
-
|
14610
14519
|
# StopLivePadStream请求参数结构体
|
14611
14520
|
class StopLivePadStreamRequest < TencentCloud::Common::AbstractModel
|
14612
14521
|
# @param AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
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.1088
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|