tencentcloud-sdk-live 3.0.591 → 3.0.592
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +27 -0
- data/lib/v20180801/models.rb +36 -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: 1507d21e57d8035efa637a7f271b936d51c691ad
|
4
|
+
data.tar.gz: 8166360625cfd22d0c866ae595e1f8b8b0a8a397
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f2ae444c1cec5f5b8bd0541aa070b533b95b4731741face9745da55205750295f60b0136c2ef403a265078f3c306f16d28a9eff86d2d1ccb9d5da87e6778f4b
|
7
|
+
data.tar.gz: 1ce2b15ef8924f90049362737360b910c3eb9a83d142dae2c3c5eee1a68ec096f50fffda94c90df5290f23b4d21660f2315f1556972bf5e625920b95b2e7788b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.592
|
data/lib/v20180801/client.rb
CHANGED
@@ -3109,6 +3109,33 @@ module TencentCloud
|
|
3109
3109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3110
3110
|
end
|
3111
3111
|
|
3112
|
+
# 将正在运行的拉流转推任务进行重启。
|
3113
|
+
# 注意:
|
3114
|
+
# 1. 重启任务会造成推流中断。
|
3115
|
+
# 2. 点播源任务的重启,会根据VodRefreshType决定是续播还是从头开始播。
|
3116
|
+
|
3117
|
+
# @param request: Request instance for RestartLivePullStreamTask.
|
3118
|
+
# @type request: :class:`Tencentcloud::live::V20180801::RestartLivePullStreamTaskRequest`
|
3119
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::RestartLivePullStreamTaskResponse`
|
3120
|
+
def RestartLivePullStreamTask(request)
|
3121
|
+
body = send_request('RestartLivePullStreamTask', request.serialize)
|
3122
|
+
response = JSON.parse(body)
|
3123
|
+
if response['Response'].key?('Error') == false
|
3124
|
+
model = RestartLivePullStreamTaskResponse.new
|
3125
|
+
model.deserialize(response['Response'])
|
3126
|
+
model
|
3127
|
+
else
|
3128
|
+
code = response['Response']['Error']['Code']
|
3129
|
+
message = response['Response']['Error']['Message']
|
3130
|
+
reqid = response['Response']['RequestId']
|
3131
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3132
|
+
end
|
3133
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3134
|
+
raise e
|
3135
|
+
rescue StandardError => e
|
3136
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3137
|
+
end
|
3138
|
+
|
3112
3139
|
# 取消直播流设置的延时配置,恢复实时直播画面。
|
3113
3140
|
|
3114
3141
|
# @param request: Request instance for ResumeDelayLiveStream.
|
data/lib/v20180801/models.rb
CHANGED
@@ -9871,6 +9871,42 @@ module TencentCloud
|
|
9871
9871
|
end
|
9872
9872
|
end
|
9873
9873
|
|
9874
|
+
# RestartLivePullStreamTask请求参数结构体
|
9875
|
+
class RestartLivePullStreamTaskRequest < TencentCloud::Common::AbstractModel
|
9876
|
+
# @param TaskId: 任务 Id。
|
9877
|
+
# @type TaskId: String
|
9878
|
+
# @param Operator: 操作人备注名称。
|
9879
|
+
# @type Operator: String
|
9880
|
+
|
9881
|
+
attr_accessor :TaskId, :Operator
|
9882
|
+
|
9883
|
+
def initialize(taskid=nil, operator=nil)
|
9884
|
+
@TaskId = taskid
|
9885
|
+
@Operator = operator
|
9886
|
+
end
|
9887
|
+
|
9888
|
+
def deserialize(params)
|
9889
|
+
@TaskId = params['TaskId']
|
9890
|
+
@Operator = params['Operator']
|
9891
|
+
end
|
9892
|
+
end
|
9893
|
+
|
9894
|
+
# RestartLivePullStreamTask返回参数结构体
|
9895
|
+
class RestartLivePullStreamTaskResponse < TencentCloud::Common::AbstractModel
|
9896
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9897
|
+
# @type RequestId: String
|
9898
|
+
|
9899
|
+
attr_accessor :RequestId
|
9900
|
+
|
9901
|
+
def initialize(requestid=nil)
|
9902
|
+
@RequestId = requestid
|
9903
|
+
end
|
9904
|
+
|
9905
|
+
def deserialize(params)
|
9906
|
+
@RequestId = params['RequestId']
|
9907
|
+
end
|
9908
|
+
end
|
9909
|
+
|
9874
9910
|
# ResumeDelayLiveStream请求参数结构体
|
9875
9911
|
class ResumeDelayLiveStreamRequest < TencentCloud::Common::AbstractModel
|
9876
9912
|
# @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.592
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|