tencentcloud-sdk-live 1.0.327 → 1.0.328
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 +6 -7
- data/lib/v20180801/models.rb +54 -9
- 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: 6c19348862a7553e6ed664433967f1e8720ed261
|
4
|
+
data.tar.gz: e73ed4754b9e480cc9a0be2dae549104229adb62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f44b6c080b7b0763c413a32846f623ac63db83edc0ca270875600ed3849e3423685ace704f7c5c7d608ae7f5317d2520618bba212783b4b73d9ebb873cff029
|
7
|
+
data.tar.gz: 3d2f909c99b3b2bc31c9f54781c13405cb924dc323abdaddf8917ad87478b9dd7be0f51544be8427571c515230e5f97545fb66e14a1aa7c5051ad00537837d15
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.328
|
data/lib/v20180801/client.rb
CHANGED
@@ -257,12 +257,11 @@ module TencentCloud
|
|
257
257
|
# 创建直播拉流任务。支持将外部已有的点播文件,或者直播源拉取过来转推到直播系统。
|
258
258
|
# 注意:
|
259
259
|
# 1. 默认支持任务数上限20个,如有特殊需求,可通过提单到售后进行评估增加上限。
|
260
|
-
# 2.
|
261
|
-
# 3.
|
262
|
-
# 4.
|
263
|
-
# 5.
|
264
|
-
# 6.
|
265
|
-
# 7. 拉流转推功能仅提供内容拉取与推送服务,请确保内容已获得授权并符合内容传播相关的法律法规。若内容有侵权或违规相关问题,云直播会停止相关的功能服务并保留追究法律责任的权利。
|
260
|
+
# 2. 源流视频编码目前只支持: H264, H265。其他编码格式建议先进行转码处理。
|
261
|
+
# 3. 源流音频编码目前只支持: AAC。其他编码格式建议先进行转码处理。
|
262
|
+
# 4. 可在控制台开启过期自动清理,避免过期任务占用任务数额度。
|
263
|
+
# 5. 拉流转推功能为计费增值服务,计费规则详情可参见[计费文档](https://cloud.tencent.com/document/product/267/53308)。
|
264
|
+
# 6. 拉流转推功能仅提供内容拉取与推送服务,请确保内容已获得授权并符合内容传播相关的法律法规。若内容有侵权或违规相关问题,云直播会停止相关的功能服务并保留追究法律责任的权利。
|
266
265
|
|
267
266
|
# @param request: Request instance for CreateLivePullStreamTask.
|
268
267
|
# @type request: :class:`Tencentcloud::live::V20180801::CreateLivePullStreamTaskRequest`
|
@@ -1027,7 +1026,7 @@ module TencentCloud
|
|
1027
1026
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1028
1027
|
end
|
1029
1028
|
|
1030
|
-
#
|
1029
|
+
# 海外分区直播播放带宽和流量数据查询。
|
1031
1030
|
|
1032
1031
|
# @param request: Request instance for DescribeAreaBillBandwidthAndFluxList.
|
1033
1032
|
# @type request: :class:`Tencentcloud::live::V20180801::DescribeAreaBillBandwidthAndFluxListRequest`
|
data/lib/v20180801/models.rb
CHANGED
@@ -1172,6 +1172,11 @@ module TencentCloud
|
|
1172
1172
|
# @type ExtraCmd: String
|
1173
1173
|
# @param Comment: 任务描述,限制 512 字节。
|
1174
1174
|
# @type Comment: String
|
1175
|
+
# @param ToUrl: 完整目标 URL 地址。
|
1176
|
+
# 用法注意:如果使用该参数来传完整目标地址,则 DomainName, AppName, StreamName 需要传入空值,任务将会使用该 ToUrl 参数指定的目标地址。
|
1177
|
+
|
1178
|
+
# 注意:签名时间需要超过任务结束时间,避免因签名过期造成任务失败。
|
1179
|
+
# @type ToUrl: String
|
1175
1180
|
# @param BackupSourceType: 备源的类型:
|
1176
1181
|
# PullLivePushLive -直播,
|
1177
1182
|
# PullVodPushLive -点播。
|
@@ -1184,9 +1189,9 @@ module TencentCloud
|
|
1184
1189
|
# 只允许填一个备源 URL
|
1185
1190
|
# @type BackupSourceUrl: String
|
1186
1191
|
|
1187
|
-
attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment, :BackupSourceType, :BackupSourceUrl
|
1192
|
+
attr_accessor :SourceType, :SourceUrls, :DomainName, :AppName, :StreamName, :StartTime, :EndTime, :Operator, :PushArgs, :CallbackEvents, :VodLoopTimes, :VodRefreshType, :CallbackUrl, :ExtraCmd, :Comment, :ToUrl, :BackupSourceType, :BackupSourceUrl
|
1188
1193
|
|
1189
|
-
def initialize(sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, starttime=nil, endtime=nil, operator=nil, pushargs=nil, callbackevents=nil, vodlooptimes=nil, vodrefreshtype=nil, callbackurl=nil, extracmd=nil, comment=nil, backupsourcetype=nil, backupsourceurl=nil)
|
1194
|
+
def initialize(sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, starttime=nil, endtime=nil, operator=nil, pushargs=nil, callbackevents=nil, vodlooptimes=nil, vodrefreshtype=nil, callbackurl=nil, extracmd=nil, comment=nil, tourl=nil, backupsourcetype=nil, backupsourceurl=nil)
|
1190
1195
|
@SourceType = sourcetype
|
1191
1196
|
@SourceUrls = sourceurls
|
1192
1197
|
@DomainName = domainname
|
@@ -1202,6 +1207,7 @@ module TencentCloud
|
|
1202
1207
|
@CallbackUrl = callbackurl
|
1203
1208
|
@ExtraCmd = extracmd
|
1204
1209
|
@Comment = comment
|
1210
|
+
@ToUrl = tourl
|
1205
1211
|
@BackupSourceType = backupsourcetype
|
1206
1212
|
@BackupSourceUrl = backupsourceurl
|
1207
1213
|
end
|
@@ -1222,6 +1228,7 @@ module TencentCloud
|
|
1222
1228
|
@CallbackUrl = params['CallbackUrl']
|
1223
1229
|
@ExtraCmd = params['ExtraCmd']
|
1224
1230
|
@Comment = params['Comment']
|
1231
|
+
@ToUrl = params['ToUrl']
|
1225
1232
|
@BackupSourceType = params['BackupSourceType']
|
1226
1233
|
@BackupSourceUrl = params['BackupSourceUrl']
|
1227
1234
|
end
|
@@ -1405,10 +1412,12 @@ module TencentCloud
|
|
1405
1412
|
# @type Mp3Param: :class:`Tencentcloud::Live.v20180801.models.RecordParam`
|
1406
1413
|
# @param RemoveWatermark: 是否去除水印,类型为慢直播时此参数无效。
|
1407
1414
|
# @type RemoveWatermark: Boolean
|
1415
|
+
# @param FlvSpecialParam: FLV 录制特殊参数。
|
1416
|
+
# @type FlvSpecialParam: :class:`Tencentcloud::Live.v20180801.models.FlvSpecialParam`
|
1408
1417
|
|
1409
|
-
attr_accessor :TemplateName, :Description, :FlvParam, :HlsParam, :Mp4Param, :AacParam, :IsDelayLive, :HlsSpecialParam, :Mp3Param, :RemoveWatermark
|
1418
|
+
attr_accessor :TemplateName, :Description, :FlvParam, :HlsParam, :Mp4Param, :AacParam, :IsDelayLive, :HlsSpecialParam, :Mp3Param, :RemoveWatermark, :FlvSpecialParam
|
1410
1419
|
|
1411
|
-
def initialize(templatename=nil, description=nil, flvparam=nil, hlsparam=nil, mp4param=nil, aacparam=nil, isdelaylive=nil, hlsspecialparam=nil, mp3param=nil, removewatermark=nil)
|
1420
|
+
def initialize(templatename=nil, description=nil, flvparam=nil, hlsparam=nil, mp4param=nil, aacparam=nil, isdelaylive=nil, hlsspecialparam=nil, mp3param=nil, removewatermark=nil, flvspecialparam=nil)
|
1412
1421
|
@TemplateName = templatename
|
1413
1422
|
@Description = description
|
1414
1423
|
@FlvParam = flvparam
|
@@ -1419,6 +1428,7 @@ module TencentCloud
|
|
1419
1428
|
@HlsSpecialParam = hlsspecialparam
|
1420
1429
|
@Mp3Param = mp3param
|
1421
1430
|
@RemoveWatermark = removewatermark
|
1431
|
+
@FlvSpecialParam = flvspecialparam
|
1422
1432
|
end
|
1423
1433
|
|
1424
1434
|
def deserialize(params)
|
@@ -1450,6 +1460,10 @@ module TencentCloud
|
|
1450
1460
|
@Mp3Param.deserialize(params['Mp3Param'])
|
1451
1461
|
end
|
1452
1462
|
@RemoveWatermark = params['RemoveWatermark']
|
1463
|
+
unless params['FlvSpecialParam'].nil?
|
1464
|
+
@FlvSpecialParam = FlvSpecialParam.new
|
1465
|
+
@FlvSpecialParam.deserialize(params['FlvSpecialParam'])
|
1466
|
+
end
|
1453
1467
|
end
|
1454
1468
|
end
|
1455
1469
|
|
@@ -6625,6 +6639,22 @@ module TencentCloud
|
|
6625
6639
|
end
|
6626
6640
|
end
|
6627
6641
|
|
6642
|
+
# flv格式特殊配置
|
6643
|
+
class FlvSpecialParam < TencentCloud::Common::AbstractModel
|
6644
|
+
# @param UploadInRecording: 是否开启边录边传,仅flv格式有效。
|
6645
|
+
# @type UploadInRecording: Boolean
|
6646
|
+
|
6647
|
+
attr_accessor :UploadInRecording
|
6648
|
+
|
6649
|
+
def initialize(uploadinrecording=nil)
|
6650
|
+
@UploadInRecording = uploadinrecording
|
6651
|
+
end
|
6652
|
+
|
6653
|
+
def deserialize(params)
|
6654
|
+
@UploadInRecording = params['UploadInRecording']
|
6655
|
+
end
|
6656
|
+
end
|
6657
|
+
|
6628
6658
|
# ForbidLiveDomain请求参数结构体
|
6629
6659
|
class ForbidLiveDomainRequest < TencentCloud::Common::AbstractModel
|
6630
6660
|
# @param DomainName: 待停用的直播域名。
|
@@ -7462,10 +7492,12 @@ module TencentCloud
|
|
7462
7492
|
# @type Mp3Param: :class:`Tencentcloud::Live.v20180801.models.RecordParam`
|
7463
7493
|
# @param RemoveWatermark: 是否去除水印,类型为慢直播时此参数无效。
|
7464
7494
|
# @type RemoveWatermark: Boolean
|
7495
|
+
# @param FlvSpecialParam: FLV 录制定制参数。
|
7496
|
+
# @type FlvSpecialParam: :class:`Tencentcloud::Live.v20180801.models.FlvSpecialParam`
|
7465
7497
|
|
7466
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :FlvParam, :HlsParam, :Mp4Param, :AacParam, :HlsSpecialParam, :Mp3Param, :RemoveWatermark
|
7498
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :FlvParam, :HlsParam, :Mp4Param, :AacParam, :HlsSpecialParam, :Mp3Param, :RemoveWatermark, :FlvSpecialParam
|
7467
7499
|
|
7468
|
-
def initialize(templateid=nil, templatename=nil, description=nil, flvparam=nil, hlsparam=nil, mp4param=nil, aacparam=nil, hlsspecialparam=nil, mp3param=nil, removewatermark=nil)
|
7500
|
+
def initialize(templateid=nil, templatename=nil, description=nil, flvparam=nil, hlsparam=nil, mp4param=nil, aacparam=nil, hlsspecialparam=nil, mp3param=nil, removewatermark=nil, flvspecialparam=nil)
|
7469
7501
|
@TemplateId = templateid
|
7470
7502
|
@TemplateName = templatename
|
7471
7503
|
@Description = description
|
@@ -7476,6 +7508,7 @@ module TencentCloud
|
|
7476
7508
|
@HlsSpecialParam = hlsspecialparam
|
7477
7509
|
@Mp3Param = mp3param
|
7478
7510
|
@RemoveWatermark = removewatermark
|
7511
|
+
@FlvSpecialParam = flvspecialparam
|
7479
7512
|
end
|
7480
7513
|
|
7481
7514
|
def deserialize(params)
|
@@ -7507,6 +7540,10 @@ module TencentCloud
|
|
7507
7540
|
@Mp3Param.deserialize(params['Mp3Param'])
|
7508
7541
|
end
|
7509
7542
|
@RemoveWatermark = params['RemoveWatermark']
|
7543
|
+
unless params['FlvSpecialParam'].nil?
|
7544
|
+
@FlvSpecialParam = FlvSpecialParam.new
|
7545
|
+
@FlvSpecialParam.deserialize(params['FlvSpecialParam'])
|
7546
|
+
end
|
7510
7547
|
end
|
7511
7548
|
end
|
7512
7549
|
|
@@ -8692,17 +8729,20 @@ module TencentCloud
|
|
8692
8729
|
# @param IsDelayLive: 0:普通直播,
|
8693
8730
|
# 1:慢直播。
|
8694
8731
|
# @type IsDelayLive: Integer
|
8695
|
-
# @param HlsSpecialParam: HLS
|
8732
|
+
# @param HlsSpecialParam: HLS 录制定制参数。
|
8696
8733
|
# @type HlsSpecialParam: :class:`Tencentcloud::Live.v20180801.models.HlsSpecialParam`
|
8697
8734
|
# @param Mp3Param: MP3 录制参数。
|
8698
8735
|
# @type Mp3Param: :class:`Tencentcloud::Live.v20180801.models.RecordParam`
|
8699
8736
|
# @param RemoveWatermark: 是否去除水印。
|
8700
8737
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8701
8738
|
# @type RemoveWatermark: Boolean
|
8739
|
+
# @param FlvSpecialParam: FLV 录制定制参数。
|
8740
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8741
|
+
# @type FlvSpecialParam: :class:`Tencentcloud::Live.v20180801.models.FlvSpecialParam`
|
8702
8742
|
|
8703
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :FlvParam, :HlsParam, :Mp4Param, :AacParam, :IsDelayLive, :HlsSpecialParam, :Mp3Param, :RemoveWatermark
|
8743
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :FlvParam, :HlsParam, :Mp4Param, :AacParam, :IsDelayLive, :HlsSpecialParam, :Mp3Param, :RemoveWatermark, :FlvSpecialParam
|
8704
8744
|
|
8705
|
-
def initialize(templateid=nil, templatename=nil, description=nil, flvparam=nil, hlsparam=nil, mp4param=nil, aacparam=nil, isdelaylive=nil, hlsspecialparam=nil, mp3param=nil, removewatermark=nil)
|
8745
|
+
def initialize(templateid=nil, templatename=nil, description=nil, flvparam=nil, hlsparam=nil, mp4param=nil, aacparam=nil, isdelaylive=nil, hlsspecialparam=nil, mp3param=nil, removewatermark=nil, flvspecialparam=nil)
|
8706
8746
|
@TemplateId = templateid
|
8707
8747
|
@TemplateName = templatename
|
8708
8748
|
@Description = description
|
@@ -8714,6 +8754,7 @@ module TencentCloud
|
|
8714
8754
|
@HlsSpecialParam = hlsspecialparam
|
8715
8755
|
@Mp3Param = mp3param
|
8716
8756
|
@RemoveWatermark = removewatermark
|
8757
|
+
@FlvSpecialParam = flvspecialparam
|
8717
8758
|
end
|
8718
8759
|
|
8719
8760
|
def deserialize(params)
|
@@ -8746,6 +8787,10 @@ module TencentCloud
|
|
8746
8787
|
@Mp3Param.deserialize(params['Mp3Param'])
|
8747
8788
|
end
|
8748
8789
|
@RemoveWatermark = params['RemoveWatermark']
|
8790
|
+
unless params['FlvSpecialParam'].nil?
|
8791
|
+
@FlvSpecialParam = FlvSpecialParam.new
|
8792
|
+
@FlvSpecialParam.deserialize(params['FlvSpecialParam'])
|
8793
|
+
end
|
8749
8794
|
end
|
8750
8795
|
end
|
8751
8796
|
|
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: 1.0.
|
4
|
+
version: 1.0.328
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|