tencentcloud-sdk-live 3.0.1189 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5f7a74bfe8dbfe197fd018f65576266eb864bcd
4
- data.tar.gz: d6d776ace3731a8b2180a2a5b985017458f15d18
3
+ metadata.gz: 6ab6fd3c4f1cacda3de62cd4e15817e342fe493c
4
+ data.tar.gz: 3a50c7ee370e2934ec20514bd6d361f68a575215
5
5
  SHA512:
6
- metadata.gz: 44e45772a08fc7c12558213520d60edf57b6031754b563bc5b200b612c38eec3b7b4eeb69940457a6d6de94af2a41c1c14cc8c2bc180a443f9455da140052fe8
7
- data.tar.gz: bd1987c987dc5500fd25be419aede35efe29ecb31bce228947a98a9b7c3d386a5cfc0e4d539af98820e2b388fca0e4b77bea896a44274fda207da1390a9d39c8
6
+ metadata.gz: 6eeb7b7dfe1ec7c7c48dc9db37a92121e6e5d9bb7fc76b809ee93e7da5cd7176f77e83eee3bf2bfeadbe3213675594d906d6273ec89ad3712b37995939422540
7
+ data.tar.gz: 5d2b525531ed9d5470b48ed66957752ad9077dfaf126de0dcbbf850f84630162362f83ace98dda02f018bc73dde8926343131f60aab8a8b7b93c3be87e13f6ab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1189
1
+ 3.0.1198
@@ -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.
@@ -8667,21 +8667,13 @@ module TencentCloud
8667
8667
 
8668
8668
  # DescribeLiveTranscodeTotalInfo请求参数结构体
8669
8669
  class DescribeLiveTranscodeTotalInfoRequest < TencentCloud::Common::AbstractModel
8670
- # @param StartTime: 开始时间,支持最近三个月的数据查询,起始时间和结束时间跨度不能超过三个月。接口查询支持两种时间格式:
8671
- # 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)
8672
- # 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
8670
+ # @param StartTime: <p>开始时间,支持最近三个月的数据查询,起始时间和结束时间跨度不能超过三个月。接口查询支持两种时间格式:1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 <a href="https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F">ISO 日期格式说明</a>2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。</p>
8673
8671
  # @type StartTime: String
8674
- # @param EndTime: 结束时间,支持最近三个月的数据查询,起始时间和结束时间跨度不能超过三个月。接口查询支持两种时间格式:
8675
- # 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)
8676
- # 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
8672
+ # @param EndTime: <p>结束时间,支持最近三个月的数据查询,起始时间和结束时间跨度不能超过三个月。接口查询支持两种时间格式:1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 <a href="https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F">ISO 日期格式说明</a>2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。</p>
8677
8673
  # @type EndTime: String
8678
- # @param PushDomains: 推流域名列表,若不填,表示查询所有域名总体数据。
8679
- # 指定域名时返回1小时粒度数据。
8674
+ # @param PushDomains: <p>推流域名列表,若不填,表示查询所有域名总体数据。指定域名时返回1小时粒度数据。</p>
8680
8675
  # @type PushDomains: Array
8681
- # @param MainlandOrOversea: 可选值:
8682
- # Mainland:查询中国大陆(境内)数据,
8683
- # Oversea:则查询国际/港澳台(境外)数据,
8684
- # 默认:查询全球地区(境内+境外)的数据。
8676
+ # @param MainlandOrOversea: <p>可选值:Mainland:查询中国大陆(境内)数据,Oversea:则查询国际/港澳台(境外)数据,默认:查询全球地区(境内+境外)的数据。</p>
8685
8677
  # @type MainlandOrOversea: String
8686
8678
 
8687
8679
  attr_accessor :StartTime, :EndTime, :PushDomains, :MainlandOrOversea
@@ -8703,7 +8695,7 @@ module TencentCloud
8703
8695
 
8704
8696
  # DescribeLiveTranscodeTotalInfo返回参数结构体
8705
8697
  class DescribeLiveTranscodeTotalInfoResponse < TencentCloud::Common::AbstractModel
8706
- # @param DataInfoList: 统计数据列表。
8698
+ # @param DataInfoList: <p>统计数据列表。</p>
8707
8699
  # @type DataInfoList: Array
8708
8700
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8709
8701
  # @type RequestId: String
@@ -11170,6 +11162,65 @@ module TencentCloud
11170
11162
  end
11171
11163
  end
11172
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
+
11173
11224
  # 用作批量绑定域名和证书。
11174
11225
  class LiveCertDomainInfo < TencentCloud::Common::AbstractModel
11175
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.1189
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: 2025-12-24 00:00:00.000000000 Z
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: