tencentcloud-sdk-python-live 3.1.63__tar.gz → 3.1.64__tar.gz
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.
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud/live/v20180801/errorcodes.py +3 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud/live/v20180801/live_client.py +23 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud/live/v20180801/live_client_async.py +18 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud/live/v20180801/models.py +186 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.64/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.63/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.63 → tencentcloud_sdk_python_live-3.1.64}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-live
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.64
|
|
4
4
|
Summary: Tencent Cloud Live SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.64
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-live',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.64,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -248,6 +248,9 @@ FAILEDOPERATION_PARENTDOMAINADDED = 'FailedOperation.ParentDomainAdded'
|
|
|
248
248
|
# 启动混流失败。
|
|
249
249
|
FAILEDOPERATION_PROCESSMIXERROR = 'FailedOperation.ProcessMixError'
|
|
250
250
|
|
|
251
|
+
# 查询AIGC任务失败
|
|
252
|
+
FAILEDOPERATION_QUERYAIGCTASKFAILED = 'FailedOperation.QueryAIGCTaskFailed'
|
|
253
|
+
|
|
251
254
|
# 查询 upload 信息失败。
|
|
252
255
|
FAILEDOPERATION_QUERYUPLOADINFOFAILED = 'FailedOperation.QueryUploadInfoFailed'
|
|
253
256
|
|
|
@@ -1770,6 +1770,29 @@ class LiveClient(AbstractClient):
|
|
|
1770
1770
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1771
1771
|
|
|
1772
1772
|
|
|
1773
|
+
def DescribeAIGCTaskStatus(self, request):
|
|
1774
|
+
r"""查询视频转绘任务
|
|
1775
|
+
|
|
1776
|
+
:param request: Request instance for DescribeAIGCTaskStatus.
|
|
1777
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeAIGCTaskStatusRequest`
|
|
1778
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeAIGCTaskStatusResponse`
|
|
1779
|
+
|
|
1780
|
+
"""
|
|
1781
|
+
try:
|
|
1782
|
+
params = request._serialize()
|
|
1783
|
+
headers = request.headers
|
|
1784
|
+
body = self.call("DescribeAIGCTaskStatus", params, headers=headers)
|
|
1785
|
+
response = json.loads(body)
|
|
1786
|
+
model = models.DescribeAIGCTaskStatusResponse()
|
|
1787
|
+
model._deserialize(response["Response"])
|
|
1788
|
+
return model
|
|
1789
|
+
except Exception as e:
|
|
1790
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1791
|
+
raise
|
|
1792
|
+
else:
|
|
1793
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1794
|
+
|
|
1795
|
+
|
|
1773
1796
|
def DescribeAllStreamPlayInfoList(self, request):
|
|
1774
1797
|
r"""该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
1775
1798
|
输入某个时间点(1分钟维度),查询该时间点所有流的下行信息。
|
|
@@ -1404,6 +1404,24 @@ class LiveClient(AbstractClient):
|
|
|
1404
1404
|
|
|
1405
1405
|
return await self.call_and_deserialize(**kwargs)
|
|
1406
1406
|
|
|
1407
|
+
async def DescribeAIGCTaskStatus(
|
|
1408
|
+
self,
|
|
1409
|
+
request: models.DescribeAIGCTaskStatusRequest,
|
|
1410
|
+
opts: Dict = None,
|
|
1411
|
+
) -> models.DescribeAIGCTaskStatusResponse:
|
|
1412
|
+
"""
|
|
1413
|
+
查询视频转绘任务
|
|
1414
|
+
"""
|
|
1415
|
+
|
|
1416
|
+
kwargs = {}
|
|
1417
|
+
kwargs["action"] = "DescribeAIGCTaskStatus"
|
|
1418
|
+
kwargs["params"] = request._serialize()
|
|
1419
|
+
kwargs["resp_cls"] = models.DescribeAIGCTaskStatusResponse
|
|
1420
|
+
kwargs["headers"] = request.headers
|
|
1421
|
+
kwargs["opts"] = opts or {}
|
|
1422
|
+
|
|
1423
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1424
|
+
|
|
1407
1425
|
async def DescribeAllStreamPlayInfoList(
|
|
1408
1426
|
self,
|
|
1409
1427
|
request: models.DescribeAllStreamPlayInfoListRequest,
|
|
@@ -15198,6 +15198,192 @@ class DeleteScreenshotTaskResponse(AbstractModel):
|
|
|
15198
15198
|
self._RequestId = params.get("RequestId")
|
|
15199
15199
|
|
|
15200
15200
|
|
|
15201
|
+
class DescribeAIGCTaskStatusRequest(AbstractModel):
|
|
15202
|
+
r"""DescribeAIGCTaskStatus请求参数结构体
|
|
15203
|
+
|
|
15204
|
+
"""
|
|
15205
|
+
|
|
15206
|
+
def __init__(self):
|
|
15207
|
+
r"""
|
|
15208
|
+
:param _TaskId: <p>任务ID</p>
|
|
15209
|
+
:type TaskId: str
|
|
15210
|
+
"""
|
|
15211
|
+
self._TaskId = None
|
|
15212
|
+
|
|
15213
|
+
@property
|
|
15214
|
+
def TaskId(self):
|
|
15215
|
+
r"""<p>任务ID</p>
|
|
15216
|
+
:rtype: str
|
|
15217
|
+
"""
|
|
15218
|
+
return self._TaskId
|
|
15219
|
+
|
|
15220
|
+
@TaskId.setter
|
|
15221
|
+
def TaskId(self, TaskId):
|
|
15222
|
+
self._TaskId = TaskId
|
|
15223
|
+
|
|
15224
|
+
|
|
15225
|
+
def _deserialize(self, params):
|
|
15226
|
+
self._TaskId = params.get("TaskId")
|
|
15227
|
+
memeber_set = set(params.keys())
|
|
15228
|
+
for name, value in vars(self).items():
|
|
15229
|
+
property_name = name[1:]
|
|
15230
|
+
if property_name in memeber_set:
|
|
15231
|
+
memeber_set.remove(property_name)
|
|
15232
|
+
if len(memeber_set) > 0:
|
|
15233
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15234
|
+
|
|
15235
|
+
|
|
15236
|
+
|
|
15237
|
+
class DescribeAIGCTaskStatusResponse(AbstractModel):
|
|
15238
|
+
r"""DescribeAIGCTaskStatus返回参数结构体
|
|
15239
|
+
|
|
15240
|
+
"""
|
|
15241
|
+
|
|
15242
|
+
def __init__(self):
|
|
15243
|
+
r"""
|
|
15244
|
+
:param _TaskId: <p>任务ID</p>
|
|
15245
|
+
:type TaskId: str
|
|
15246
|
+
:param _TaskStatus: <p>状态</p><p>枚举值:</p><ul><li>FINISHED: 1</li></ul>
|
|
15247
|
+
:type TaskStatus: str
|
|
15248
|
+
:param _OutputUrl: <p>输出url</p>
|
|
15249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15250
|
+
:type OutputUrl: str
|
|
15251
|
+
:param _CreateTime: <p>任务创建时间</p>
|
|
15252
|
+
:type CreateTime: str
|
|
15253
|
+
:param _ScheduledTime: <p>任务调度时间</p>
|
|
15254
|
+
:type ScheduledTime: str
|
|
15255
|
+
:param _FinishedTime: <p>任务完成时间</p>
|
|
15256
|
+
:type FinishedTime: str
|
|
15257
|
+
:param _TaskResultCode: <p>任务错误码</p>
|
|
15258
|
+
:type TaskResultCode: int
|
|
15259
|
+
:param _TaskResultMsg: <p>任务返回错误信息</p>
|
|
15260
|
+
:type TaskResultMsg: str
|
|
15261
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15262
|
+
:type RequestId: str
|
|
15263
|
+
"""
|
|
15264
|
+
self._TaskId = None
|
|
15265
|
+
self._TaskStatus = None
|
|
15266
|
+
self._OutputUrl = None
|
|
15267
|
+
self._CreateTime = None
|
|
15268
|
+
self._ScheduledTime = None
|
|
15269
|
+
self._FinishedTime = None
|
|
15270
|
+
self._TaskResultCode = None
|
|
15271
|
+
self._TaskResultMsg = None
|
|
15272
|
+
self._RequestId = None
|
|
15273
|
+
|
|
15274
|
+
@property
|
|
15275
|
+
def TaskId(self):
|
|
15276
|
+
r"""<p>任务ID</p>
|
|
15277
|
+
:rtype: str
|
|
15278
|
+
"""
|
|
15279
|
+
return self._TaskId
|
|
15280
|
+
|
|
15281
|
+
@TaskId.setter
|
|
15282
|
+
def TaskId(self, TaskId):
|
|
15283
|
+
self._TaskId = TaskId
|
|
15284
|
+
|
|
15285
|
+
@property
|
|
15286
|
+
def TaskStatus(self):
|
|
15287
|
+
r"""<p>状态</p><p>枚举值:</p><ul><li>FINISHED: 1</li></ul>
|
|
15288
|
+
:rtype: str
|
|
15289
|
+
"""
|
|
15290
|
+
return self._TaskStatus
|
|
15291
|
+
|
|
15292
|
+
@TaskStatus.setter
|
|
15293
|
+
def TaskStatus(self, TaskStatus):
|
|
15294
|
+
self._TaskStatus = TaskStatus
|
|
15295
|
+
|
|
15296
|
+
@property
|
|
15297
|
+
def OutputUrl(self):
|
|
15298
|
+
r"""<p>输出url</p>
|
|
15299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15300
|
+
:rtype: str
|
|
15301
|
+
"""
|
|
15302
|
+
return self._OutputUrl
|
|
15303
|
+
|
|
15304
|
+
@OutputUrl.setter
|
|
15305
|
+
def OutputUrl(self, OutputUrl):
|
|
15306
|
+
self._OutputUrl = OutputUrl
|
|
15307
|
+
|
|
15308
|
+
@property
|
|
15309
|
+
def CreateTime(self):
|
|
15310
|
+
r"""<p>任务创建时间</p>
|
|
15311
|
+
:rtype: str
|
|
15312
|
+
"""
|
|
15313
|
+
return self._CreateTime
|
|
15314
|
+
|
|
15315
|
+
@CreateTime.setter
|
|
15316
|
+
def CreateTime(self, CreateTime):
|
|
15317
|
+
self._CreateTime = CreateTime
|
|
15318
|
+
|
|
15319
|
+
@property
|
|
15320
|
+
def ScheduledTime(self):
|
|
15321
|
+
r"""<p>任务调度时间</p>
|
|
15322
|
+
:rtype: str
|
|
15323
|
+
"""
|
|
15324
|
+
return self._ScheduledTime
|
|
15325
|
+
|
|
15326
|
+
@ScheduledTime.setter
|
|
15327
|
+
def ScheduledTime(self, ScheduledTime):
|
|
15328
|
+
self._ScheduledTime = ScheduledTime
|
|
15329
|
+
|
|
15330
|
+
@property
|
|
15331
|
+
def FinishedTime(self):
|
|
15332
|
+
r"""<p>任务完成时间</p>
|
|
15333
|
+
:rtype: str
|
|
15334
|
+
"""
|
|
15335
|
+
return self._FinishedTime
|
|
15336
|
+
|
|
15337
|
+
@FinishedTime.setter
|
|
15338
|
+
def FinishedTime(self, FinishedTime):
|
|
15339
|
+
self._FinishedTime = FinishedTime
|
|
15340
|
+
|
|
15341
|
+
@property
|
|
15342
|
+
def TaskResultCode(self):
|
|
15343
|
+
r"""<p>任务错误码</p>
|
|
15344
|
+
:rtype: int
|
|
15345
|
+
"""
|
|
15346
|
+
return self._TaskResultCode
|
|
15347
|
+
|
|
15348
|
+
@TaskResultCode.setter
|
|
15349
|
+
def TaskResultCode(self, TaskResultCode):
|
|
15350
|
+
self._TaskResultCode = TaskResultCode
|
|
15351
|
+
|
|
15352
|
+
@property
|
|
15353
|
+
def TaskResultMsg(self):
|
|
15354
|
+
r"""<p>任务返回错误信息</p>
|
|
15355
|
+
:rtype: str
|
|
15356
|
+
"""
|
|
15357
|
+
return self._TaskResultMsg
|
|
15358
|
+
|
|
15359
|
+
@TaskResultMsg.setter
|
|
15360
|
+
def TaskResultMsg(self, TaskResultMsg):
|
|
15361
|
+
self._TaskResultMsg = TaskResultMsg
|
|
15362
|
+
|
|
15363
|
+
@property
|
|
15364
|
+
def RequestId(self):
|
|
15365
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15366
|
+
:rtype: str
|
|
15367
|
+
"""
|
|
15368
|
+
return self._RequestId
|
|
15369
|
+
|
|
15370
|
+
@RequestId.setter
|
|
15371
|
+
def RequestId(self, RequestId):
|
|
15372
|
+
self._RequestId = RequestId
|
|
15373
|
+
|
|
15374
|
+
|
|
15375
|
+
def _deserialize(self, params):
|
|
15376
|
+
self._TaskId = params.get("TaskId")
|
|
15377
|
+
self._TaskStatus = params.get("TaskStatus")
|
|
15378
|
+
self._OutputUrl = params.get("OutputUrl")
|
|
15379
|
+
self._CreateTime = params.get("CreateTime")
|
|
15380
|
+
self._ScheduledTime = params.get("ScheduledTime")
|
|
15381
|
+
self._FinishedTime = params.get("FinishedTime")
|
|
15382
|
+
self._TaskResultCode = params.get("TaskResultCode")
|
|
15383
|
+
self._TaskResultMsg = params.get("TaskResultMsg")
|
|
15384
|
+
self._RequestId = params.get("RequestId")
|
|
15385
|
+
|
|
15386
|
+
|
|
15201
15387
|
class DescribeAllStreamPlayInfoListRequest(AbstractModel):
|
|
15202
15388
|
r"""DescribeAllStreamPlayInfoList请求参数结构体
|
|
15203
15389
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-live
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.64
|
|
4
4
|
Summary: Tencent Cloud Live SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.64
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.64
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.63
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|