tencentcloud-sdk-live 3.0.590 → 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 +28 -1
- data/lib/v20180801/models.rb +378 -338
- 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
@@ -230,7 +230,7 @@ module TencentCloud
|
|
230
230
|
|
231
231
|
# 创建直播拉流任务。支持将外部已有的点播文件,或者直播源拉取过来转推到指定的目标地址。
|
232
232
|
# 注意:
|
233
|
-
# 1. 默认支持任务数上限
|
233
|
+
# 1. 默认支持任务数上限200个,如有特殊需求,可通过提单到售后进行评估增加上限。
|
234
234
|
# 2. 源流视频编码目前只支持: H264, H265。其他编码格式建议先进行转码处理。
|
235
235
|
# 3. 源流音频编码目前只支持: AAC。其他编码格式建议先进行转码处理。
|
236
236
|
# 4. 可在控制台开启过期自动清理,避免过期任务占用任务数额度。
|
@@ -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.
|