tencentcloud-sdk-live 3.0.1193 → 3.0.1198
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 +27 -0
- data/lib/v20180801/models.rb +59 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ab6fd3c4f1cacda3de62cd4e15817e342fe493c
|
|
4
|
+
data.tar.gz: 3a50c7ee370e2934ec20514bd6d361f68a575215
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6eeb7b7dfe1ec7c7c48dc9db37a92121e6e5d9bb7fc76b809ee93e7da5cd7176f77e83eee3bf2bfeadbe3213675594d906d6273ec89ad3712b37995939422540
|
|
7
|
+
data.tar.gz: 5d2b525531ed9d5470b48ed66957752ad9077dfaf126de0dcbbf850f84630162362f83ace98dda02f018bc73dde8926343131f60aab8a8b7b93c3be87e13f6ab
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1198
|
data/lib/v20180801/client.rb
CHANGED
|
@@ -4061,6 +4061,33 @@ module TencentCloud
|
|
|
4061
4061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4062
4062
|
end
|
|
4063
4063
|
|
|
4064
|
+
# 可通过调用该接口,对点播源的直播拉流任务进行插播操作。
|
|
4065
|
+
# 注意:
|
|
4066
|
+
# 1. 仅支持对有效且运行中的点播源任务进行插播操作。
|
|
4067
|
+
# 2. 拉转推插播文件时,事件及回调中的索引均保持为插播前的值。
|
|
4068
|
+
|
|
4069
|
+
# @param request: Request instance for InsertTaskTemporaryFiles.
|
|
4070
|
+
# @type request: :class:`Tencentcloud::live::V20180801::InsertTaskTemporaryFilesRequest`
|
|
4071
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::InsertTaskTemporaryFilesResponse`
|
|
4072
|
+
def InsertTaskTemporaryFiles(request)
|
|
4073
|
+
body = send_request('InsertTaskTemporaryFiles', request.serialize)
|
|
4074
|
+
response = JSON.parse(body)
|
|
4075
|
+
if response['Response'].key?('Error') == false
|
|
4076
|
+
model = InsertTaskTemporaryFilesResponse.new
|
|
4077
|
+
model.deserialize(response['Response'])
|
|
4078
|
+
model
|
|
4079
|
+
else
|
|
4080
|
+
code = response['Response']['Error']['Code']
|
|
4081
|
+
message = response['Response']['Error']['Message']
|
|
4082
|
+
reqid = response['Response']['RequestId']
|
|
4083
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
4084
|
+
end
|
|
4085
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
4086
|
+
raise e
|
|
4087
|
+
rescue StandardError => e
|
|
4088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4089
|
+
end
|
|
4090
|
+
|
|
4064
4091
|
# 该接口用来设置导播台的描述、名称、录制模板id等参数。
|
|
4065
4092
|
|
|
4066
4093
|
# @param request: Request instance for ModifyCaster.
|
data/lib/v20180801/models.rb
CHANGED
|
@@ -11162,6 +11162,65 @@ module TencentCloud
|
|
|
11162
11162
|
end
|
|
11163
11163
|
end
|
|
11164
11164
|
|
|
11165
|
+
# InsertTaskTemporaryFiles请求参数结构体
|
|
11166
|
+
class InsertTaskTemporaryFilesRequest < TencentCloud::Common::AbstractModel
|
|
11167
|
+
# @param TaskId: 直播拉流任务 ID。
|
|
11168
|
+
# @type TaskId: String
|
|
11169
|
+
# @param TemporaryFiles: 插播文件列表,支持一次性插播多个文件,文件个数最大支持30个。可在轮播过程中追加新的插播文件。
|
|
11170
|
+
# @type TemporaryFiles: Array
|
|
11171
|
+
# @param Operator: 操作人名称。
|
|
11172
|
+
# @type Operator: String
|
|
11173
|
+
# @param InsertAfterIndex: 将文件插在当前轮播序列的指定位置后面。索引序列从1开始。默认为:0,表示播完当前文件立即播放插入文件。注意:索引不要超过当前总文件个数,否则按播完全部文件后再处理插播文件。
|
|
11174
|
+
# @type InsertAfterIndex: Integer
|
|
11175
|
+
# @param InsertPriorityType: 用于多个文件插播在同一个轮播序号之后时,可指定队列顺序。
|
|
11176
|
+
# 0 - 最高优先级队列。默认值。
|
|
11177
|
+
# 1 - 中等优先级队列。
|
|
11178
|
+
# 2 - 最低优先级队列。
|
|
11179
|
+
# 场景示例:
|
|
11180
|
+
# 比如当前播放第2个文件,多个新文件插播在第2个文件之后,播完第二个轮播文件之后,优先播放InsertPriorityType为0的插播队列中的文件,再播放InsertPriorityType为1的插播队列中的文件,最后播放InsertPriorityType为2的插播队列文件。
|
|
11181
|
+
# 如果插播无队列优先级要求,则无需使用此参数。
|
|
11182
|
+
# @type InsertPriorityType: Integer
|
|
11183
|
+
# @param InsertContext: 插播上下文信息。由用户自定义传入。当播放到使用本此插播请求插入的文件时,在文件播放开始和文件播放结束的回调时,将此上下文信息通过创建任务携带的回调地址回调给用户。
|
|
11184
|
+
# 注意:如果有关联每个插播文件的信息需要回调时,可将需要回调的信息自行拼接到插播文件URL上,通过回调信息中的URL进行读取使用。
|
|
11185
|
+
# @type InsertContext: String
|
|
11186
|
+
|
|
11187
|
+
attr_accessor :TaskId, :TemporaryFiles, :Operator, :InsertAfterIndex, :InsertPriorityType, :InsertContext
|
|
11188
|
+
|
|
11189
|
+
def initialize(taskid=nil, temporaryfiles=nil, operator=nil, insertafterindex=nil, insertprioritytype=nil, insertcontext=nil)
|
|
11190
|
+
@TaskId = taskid
|
|
11191
|
+
@TemporaryFiles = temporaryfiles
|
|
11192
|
+
@Operator = operator
|
|
11193
|
+
@InsertAfterIndex = insertafterindex
|
|
11194
|
+
@InsertPriorityType = insertprioritytype
|
|
11195
|
+
@InsertContext = insertcontext
|
|
11196
|
+
end
|
|
11197
|
+
|
|
11198
|
+
def deserialize(params)
|
|
11199
|
+
@TaskId = params['TaskId']
|
|
11200
|
+
@TemporaryFiles = params['TemporaryFiles']
|
|
11201
|
+
@Operator = params['Operator']
|
|
11202
|
+
@InsertAfterIndex = params['InsertAfterIndex']
|
|
11203
|
+
@InsertPriorityType = params['InsertPriorityType']
|
|
11204
|
+
@InsertContext = params['InsertContext']
|
|
11205
|
+
end
|
|
11206
|
+
end
|
|
11207
|
+
|
|
11208
|
+
# InsertTaskTemporaryFiles返回参数结构体
|
|
11209
|
+
class InsertTaskTemporaryFilesResponse < TencentCloud::Common::AbstractModel
|
|
11210
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11211
|
+
# @type RequestId: String
|
|
11212
|
+
|
|
11213
|
+
attr_accessor :RequestId
|
|
11214
|
+
|
|
11215
|
+
def initialize(requestid=nil)
|
|
11216
|
+
@RequestId = requestid
|
|
11217
|
+
end
|
|
11218
|
+
|
|
11219
|
+
def deserialize(params)
|
|
11220
|
+
@RequestId = params['RequestId']
|
|
11221
|
+
end
|
|
11222
|
+
end
|
|
11223
|
+
|
|
11165
11224
|
# 用作批量绑定域名和证书。
|
|
11166
11225
|
class LiveCertDomainInfo < TencentCloud::Common::AbstractModel
|
|
11167
11226
|
# @param DomainName: 域名。
|
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.1198
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
+
- lib/tencentcloud-sdk-live.rb
|
|
36
37
|
- lib/v20180801/client.rb
|
|
37
38
|
- lib/v20180801/models.rb
|
|
38
|
-
- lib/tencentcloud-sdk-live.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|