tencentcloud-sdk-python-live 3.1.60__tar.gz → 3.1.63__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.60 → tencentcloud_sdk_python_live-3.1.63}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud/live/v20180801/errorcodes.py +6 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud/live/v20180801/live_client.py +23 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud/live/v20180801/live_client_async.py +18 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud/live/v20180801/models.py +259 -32
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.63/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.60/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.60 → tencentcloud_sdk_python_live-3.1.63}/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.63
|
|
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.63
|
|
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.63,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -89,6 +89,9 @@ FAILEDOPERATION_COSBUCKETNOTPERMISSION = 'FailedOperation.CosBucketNotPermission
|
|
|
89
89
|
# Cos 角色不存在,请前往 控制台 -> 功能配置 -> 直播截图&鉴黄 页面进行授权。
|
|
90
90
|
FAILEDOPERATION_COSROLENOTEXISTS = 'FailedOperation.CosRoleNotExists'
|
|
91
91
|
|
|
92
|
+
# 创建AIGC任务失败
|
|
93
|
+
FAILEDOPERATION_CREATEAIGCTASKFAILED = 'FailedOperation.CreateAIGCTaskFailed'
|
|
94
|
+
|
|
92
95
|
# 创建/更新导播台主监、预监任务失败,可能是并发操作了同一个主监或预监任务。
|
|
93
96
|
FAILEDOPERATION_CREATECASTERTASKFAILED = 'FailedOperation.CreateCasterTaskFailed'
|
|
94
97
|
|
|
@@ -560,6 +563,9 @@ INVALIDPARAMETER_INVALIDROUNDRECTRADIUS = 'InvalidParameter.InvalidRoundRectRadi
|
|
|
560
563
|
# 源地址不规范。
|
|
561
564
|
INVALIDPARAMETER_INVALIDSOURCEURL = 'InvalidParameter.InvalidSourceUrl'
|
|
562
565
|
|
|
566
|
+
# TaskId非法
|
|
567
|
+
INVALIDPARAMETER_INVALIDTASKID = 'InvalidParameter.InvalidTaskId'
|
|
568
|
+
|
|
563
569
|
# 任务时间超出限制。
|
|
564
570
|
INVALIDPARAMETER_INVALIDTASKTIME = 'InvalidParameter.InvalidTaskTime'
|
|
565
571
|
|
|
@@ -1051,6 +1051,29 @@ class LiveClient(AbstractClient):
|
|
|
1051
1051
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1052
1052
|
|
|
1053
1053
|
|
|
1054
|
+
def CreateVideoRedrawTask(self, request):
|
|
1055
|
+
r"""创建AI转绘任务
|
|
1056
|
+
|
|
1057
|
+
:param request: Request instance for CreateVideoRedrawTask.
|
|
1058
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateVideoRedrawTaskRequest`
|
|
1059
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateVideoRedrawTaskResponse`
|
|
1060
|
+
|
|
1061
|
+
"""
|
|
1062
|
+
try:
|
|
1063
|
+
params = request._serialize()
|
|
1064
|
+
headers = request.headers
|
|
1065
|
+
body = self.call("CreateVideoRedrawTask", params, headers=headers)
|
|
1066
|
+
response = json.loads(body)
|
|
1067
|
+
model = models.CreateVideoRedrawTaskResponse()
|
|
1068
|
+
model._deserialize(response["Response"])
|
|
1069
|
+
return model
|
|
1070
|
+
except Exception as e:
|
|
1071
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1072
|
+
raise
|
|
1073
|
+
else:
|
|
1074
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1075
|
+
|
|
1076
|
+
|
|
1054
1077
|
def DeleteAuditKeywords(self, request):
|
|
1055
1078
|
r"""删除关键词信息。
|
|
1056
1079
|
|
|
@@ -840,6 +840,24 @@ class LiveClient(AbstractClient):
|
|
|
840
840
|
|
|
841
841
|
return await self.call_and_deserialize(**kwargs)
|
|
842
842
|
|
|
843
|
+
async def CreateVideoRedrawTask(
|
|
844
|
+
self,
|
|
845
|
+
request: models.CreateVideoRedrawTaskRequest,
|
|
846
|
+
opts: Dict = None,
|
|
847
|
+
) -> models.CreateVideoRedrawTaskResponse:
|
|
848
|
+
"""
|
|
849
|
+
创建AI转绘任务
|
|
850
|
+
"""
|
|
851
|
+
|
|
852
|
+
kwargs = {}
|
|
853
|
+
kwargs["action"] = "CreateVideoRedrawTask"
|
|
854
|
+
kwargs["params"] = request._serialize()
|
|
855
|
+
kwargs["resp_cls"] = models.CreateVideoRedrawTaskResponse
|
|
856
|
+
kwargs["headers"] = request.headers
|
|
857
|
+
kwargs["opts"] = opts or {}
|
|
858
|
+
|
|
859
|
+
return await self.call_and_deserialize(**kwargs)
|
|
860
|
+
|
|
843
861
|
async def DeleteAuditKeywords(
|
|
844
862
|
self,
|
|
845
863
|
request: models.DeleteAuditKeywordsRequest,
|
|
@@ -12484,6 +12484,104 @@ class CreateScreenshotTaskResponse(AbstractModel):
|
|
|
12484
12484
|
self._RequestId = params.get("RequestId")
|
|
12485
12485
|
|
|
12486
12486
|
|
|
12487
|
+
class CreateVideoRedrawTaskRequest(AbstractModel):
|
|
12488
|
+
r"""CreateVideoRedrawTask请求参数结构体
|
|
12489
|
+
|
|
12490
|
+
"""
|
|
12491
|
+
|
|
12492
|
+
def __init__(self):
|
|
12493
|
+
r"""
|
|
12494
|
+
:param _Input: <p>输入待转绘视频url信息</p>
|
|
12495
|
+
:type Input: :class:`tencentcloud.live.v20180801.models.VideoRedrawInput`
|
|
12496
|
+
:param _CosInfo: <p>用户自定义cos信息</p>
|
|
12497
|
+
:type CosInfo: :class:`tencentcloud.live.v20180801.models.VideoRedrawCosInfo`
|
|
12498
|
+
"""
|
|
12499
|
+
self._Input = None
|
|
12500
|
+
self._CosInfo = None
|
|
12501
|
+
|
|
12502
|
+
@property
|
|
12503
|
+
def Input(self):
|
|
12504
|
+
r"""<p>输入待转绘视频url信息</p>
|
|
12505
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.VideoRedrawInput`
|
|
12506
|
+
"""
|
|
12507
|
+
return self._Input
|
|
12508
|
+
|
|
12509
|
+
@Input.setter
|
|
12510
|
+
def Input(self, Input):
|
|
12511
|
+
self._Input = Input
|
|
12512
|
+
|
|
12513
|
+
@property
|
|
12514
|
+
def CosInfo(self):
|
|
12515
|
+
r"""<p>用户自定义cos信息</p>
|
|
12516
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.VideoRedrawCosInfo`
|
|
12517
|
+
"""
|
|
12518
|
+
return self._CosInfo
|
|
12519
|
+
|
|
12520
|
+
@CosInfo.setter
|
|
12521
|
+
def CosInfo(self, CosInfo):
|
|
12522
|
+
self._CosInfo = CosInfo
|
|
12523
|
+
|
|
12524
|
+
|
|
12525
|
+
def _deserialize(self, params):
|
|
12526
|
+
if params.get("Input") is not None:
|
|
12527
|
+
self._Input = VideoRedrawInput()
|
|
12528
|
+
self._Input._deserialize(params.get("Input"))
|
|
12529
|
+
if params.get("CosInfo") is not None:
|
|
12530
|
+
self._CosInfo = VideoRedrawCosInfo()
|
|
12531
|
+
self._CosInfo._deserialize(params.get("CosInfo"))
|
|
12532
|
+
memeber_set = set(params.keys())
|
|
12533
|
+
for name, value in vars(self).items():
|
|
12534
|
+
property_name = name[1:]
|
|
12535
|
+
if property_name in memeber_set:
|
|
12536
|
+
memeber_set.remove(property_name)
|
|
12537
|
+
if len(memeber_set) > 0:
|
|
12538
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12539
|
+
|
|
12540
|
+
|
|
12541
|
+
|
|
12542
|
+
class CreateVideoRedrawTaskResponse(AbstractModel):
|
|
12543
|
+
r"""CreateVideoRedrawTask返回参数结构体
|
|
12544
|
+
|
|
12545
|
+
"""
|
|
12546
|
+
|
|
12547
|
+
def __init__(self):
|
|
12548
|
+
r"""
|
|
12549
|
+
:param _TaskId: <p>任务id</p>
|
|
12550
|
+
:type TaskId: str
|
|
12551
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12552
|
+
:type RequestId: str
|
|
12553
|
+
"""
|
|
12554
|
+
self._TaskId = None
|
|
12555
|
+
self._RequestId = None
|
|
12556
|
+
|
|
12557
|
+
@property
|
|
12558
|
+
def TaskId(self):
|
|
12559
|
+
r"""<p>任务id</p>
|
|
12560
|
+
:rtype: str
|
|
12561
|
+
"""
|
|
12562
|
+
return self._TaskId
|
|
12563
|
+
|
|
12564
|
+
@TaskId.setter
|
|
12565
|
+
def TaskId(self, TaskId):
|
|
12566
|
+
self._TaskId = TaskId
|
|
12567
|
+
|
|
12568
|
+
@property
|
|
12569
|
+
def RequestId(self):
|
|
12570
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12571
|
+
:rtype: str
|
|
12572
|
+
"""
|
|
12573
|
+
return self._RequestId
|
|
12574
|
+
|
|
12575
|
+
@RequestId.setter
|
|
12576
|
+
def RequestId(self, RequestId):
|
|
12577
|
+
self._RequestId = RequestId
|
|
12578
|
+
|
|
12579
|
+
|
|
12580
|
+
def _deserialize(self, params):
|
|
12581
|
+
self._TaskId = params.get("TaskId")
|
|
12582
|
+
self._RequestId = params.get("RequestId")
|
|
12583
|
+
|
|
12584
|
+
|
|
12487
12585
|
class DayStreamPlayInfo(AbstractModel):
|
|
12488
12586
|
r"""流播放信息
|
|
12489
12587
|
|
|
@@ -27092,26 +27190,17 @@ class DescribeStreamPlayInfoListRequest(AbstractModel):
|
|
|
27092
27190
|
|
|
27093
27191
|
def __init__(self):
|
|
27094
27192
|
r"""
|
|
27095
|
-
:param _StartTime:
|
|
27096
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27097
|
-
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
|
|
27098
|
-
开始时间和结束时间的格式需要保持一致。
|
|
27193
|
+
:param _StartTime: <p>起始时间点,接口查询支持两种时间格式:<br>1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I<br>2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。<br>开始时间和结束时间的格式需要保持一致。</p>
|
|
27099
27194
|
:type StartTime: str
|
|
27100
|
-
:param _EndTime:
|
|
27101
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27102
|
-
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
|
|
27103
|
-
开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。
|
|
27195
|
+
:param _EndTime: <p>结束时间点,接口查询支持两种时间格式:<br>1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I<br>2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。<br>开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。</p>
|
|
27104
27196
|
:type EndTime: str
|
|
27105
|
-
:param _PlayDomain:
|
|
27106
|
-
若不填,则为查询所有播放域名的在线流数据。
|
|
27197
|
+
:param _PlayDomain: <p>播放域名,<br>若不填,则为查询所有播放域名的在线流数据。</p>
|
|
27107
27198
|
:type PlayDomain: str
|
|
27108
|
-
:param _StreamName:
|
|
27109
|
-
若不填,则为查询总体播放数据。
|
|
27199
|
+
:param _StreamName: <p>流名称,精确匹配。<br>若不填,则为查询总体播放数据。</p>
|
|
27110
27200
|
:type StreamName: str
|
|
27111
|
-
:param _AppName:
|
|
27112
|
-
若不填,则为查询总体播放数据。
|
|
27201
|
+
:param _AppName: <p>该参数暂不可用。</p>
|
|
27113
27202
|
:type AppName: str
|
|
27114
|
-
:param _ServiceName:
|
|
27203
|
+
:param _ServiceName: <p>服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。</p>
|
|
27115
27204
|
:type ServiceName: str
|
|
27116
27205
|
"""
|
|
27117
27206
|
self._StartTime = None
|
|
@@ -27123,10 +27212,7 @@ class DescribeStreamPlayInfoListRequest(AbstractModel):
|
|
|
27123
27212
|
|
|
27124
27213
|
@property
|
|
27125
27214
|
def StartTime(self):
|
|
27126
|
-
r"""
|
|
27127
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27128
|
-
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
|
|
27129
|
-
开始时间和结束时间的格式需要保持一致。
|
|
27215
|
+
r"""<p>起始时间点,接口查询支持两种时间格式:<br>1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I<br>2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。<br>开始时间和结束时间的格式需要保持一致。</p>
|
|
27130
27216
|
:rtype: str
|
|
27131
27217
|
"""
|
|
27132
27218
|
return self._StartTime
|
|
@@ -27137,10 +27223,7 @@ class DescribeStreamPlayInfoListRequest(AbstractModel):
|
|
|
27137
27223
|
|
|
27138
27224
|
@property
|
|
27139
27225
|
def EndTime(self):
|
|
27140
|
-
r"""
|
|
27141
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27142
|
-
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
|
|
27143
|
-
开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。
|
|
27226
|
+
r"""<p>结束时间点,接口查询支持两种时间格式:<br>1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I<br>2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。<br>开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。</p>
|
|
27144
27227
|
:rtype: str
|
|
27145
27228
|
"""
|
|
27146
27229
|
return self._EndTime
|
|
@@ -27151,8 +27234,7 @@ class DescribeStreamPlayInfoListRequest(AbstractModel):
|
|
|
27151
27234
|
|
|
27152
27235
|
@property
|
|
27153
27236
|
def PlayDomain(self):
|
|
27154
|
-
r"""
|
|
27155
|
-
若不填,则为查询所有播放域名的在线流数据。
|
|
27237
|
+
r"""<p>播放域名,<br>若不填,则为查询所有播放域名的在线流数据。</p>
|
|
27156
27238
|
:rtype: str
|
|
27157
27239
|
"""
|
|
27158
27240
|
return self._PlayDomain
|
|
@@ -27163,8 +27245,7 @@ class DescribeStreamPlayInfoListRequest(AbstractModel):
|
|
|
27163
27245
|
|
|
27164
27246
|
@property
|
|
27165
27247
|
def StreamName(self):
|
|
27166
|
-
r"""
|
|
27167
|
-
若不填,则为查询总体播放数据。
|
|
27248
|
+
r"""<p>流名称,精确匹配。<br>若不填,则为查询总体播放数据。</p>
|
|
27168
27249
|
:rtype: str
|
|
27169
27250
|
"""
|
|
27170
27251
|
return self._StreamName
|
|
@@ -27175,8 +27256,7 @@ class DescribeStreamPlayInfoListRequest(AbstractModel):
|
|
|
27175
27256
|
|
|
27176
27257
|
@property
|
|
27177
27258
|
def AppName(self):
|
|
27178
|
-
r"""
|
|
27179
|
-
若不填,则为查询总体播放数据。
|
|
27259
|
+
r"""<p>该参数暂不可用。</p>
|
|
27180
27260
|
:rtype: str
|
|
27181
27261
|
"""
|
|
27182
27262
|
return self._AppName
|
|
@@ -27187,7 +27267,7 @@ class DescribeStreamPlayInfoListRequest(AbstractModel):
|
|
|
27187
27267
|
|
|
27188
27268
|
@property
|
|
27189
27269
|
def ServiceName(self):
|
|
27190
|
-
r"""
|
|
27270
|
+
r"""<p>服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。</p>
|
|
27191
27271
|
:rtype: str
|
|
27192
27272
|
"""
|
|
27193
27273
|
return self._ServiceName
|
|
@@ -27221,7 +27301,7 @@ class DescribeStreamPlayInfoListResponse(AbstractModel):
|
|
|
27221
27301
|
|
|
27222
27302
|
def __init__(self):
|
|
27223
27303
|
r"""
|
|
27224
|
-
:param _DataInfoList:
|
|
27304
|
+
:param _DataInfoList: <p>统计信息列表,时间粒度是1分钟。</p>
|
|
27225
27305
|
:type DataInfoList: list of DayStreamPlayInfo
|
|
27226
27306
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27227
27307
|
:type RequestId: str
|
|
@@ -27231,7 +27311,7 @@ class DescribeStreamPlayInfoListResponse(AbstractModel):
|
|
|
27231
27311
|
|
|
27232
27312
|
@property
|
|
27233
27313
|
def DataInfoList(self):
|
|
27234
|
-
r"""
|
|
27314
|
+
r"""<p>统计信息列表,时间粒度是1分钟。</p>
|
|
27235
27315
|
:rtype: list of DayStreamPlayInfo
|
|
27236
27316
|
"""
|
|
27237
27317
|
return self._DataInfoList
|
|
@@ -44276,6 +44356,153 @@ class UpdateLiveWatermarkResponse(AbstractModel):
|
|
|
44276
44356
|
self._RequestId = params.get("RequestId")
|
|
44277
44357
|
|
|
44278
44358
|
|
|
44359
|
+
class VideoRedrawCosInfo(AbstractModel):
|
|
44360
|
+
r"""aigc cos信息,存储用户请求时填写的cos信息,存放结果
|
|
44361
|
+
|
|
44362
|
+
"""
|
|
44363
|
+
|
|
44364
|
+
def __init__(self):
|
|
44365
|
+
r"""
|
|
44366
|
+
:param _Region: <p>cos所在地域</p>
|
|
44367
|
+
:type Region: str
|
|
44368
|
+
:param _Bucket: <p>cos桶信息</p>
|
|
44369
|
+
:type Bucket: str
|
|
44370
|
+
:param _Dir: <p>任务存放cos的目录</p>
|
|
44371
|
+
:type Dir: str
|
|
44372
|
+
:param _TmpSecretId: <p>临时Cos SecretId</p>
|
|
44373
|
+
:type TmpSecretId: str
|
|
44374
|
+
:param _TmpSecretKey: <p>临时Cos SecretKey</p>
|
|
44375
|
+
:type TmpSecretKey: str
|
|
44376
|
+
:param _Token: <p>临时token</p>
|
|
44377
|
+
:type Token: str
|
|
44378
|
+
"""
|
|
44379
|
+
self._Region = None
|
|
44380
|
+
self._Bucket = None
|
|
44381
|
+
self._Dir = None
|
|
44382
|
+
self._TmpSecretId = None
|
|
44383
|
+
self._TmpSecretKey = None
|
|
44384
|
+
self._Token = None
|
|
44385
|
+
|
|
44386
|
+
@property
|
|
44387
|
+
def Region(self):
|
|
44388
|
+
r"""<p>cos所在地域</p>
|
|
44389
|
+
:rtype: str
|
|
44390
|
+
"""
|
|
44391
|
+
return self._Region
|
|
44392
|
+
|
|
44393
|
+
@Region.setter
|
|
44394
|
+
def Region(self, Region):
|
|
44395
|
+
self._Region = Region
|
|
44396
|
+
|
|
44397
|
+
@property
|
|
44398
|
+
def Bucket(self):
|
|
44399
|
+
r"""<p>cos桶信息</p>
|
|
44400
|
+
:rtype: str
|
|
44401
|
+
"""
|
|
44402
|
+
return self._Bucket
|
|
44403
|
+
|
|
44404
|
+
@Bucket.setter
|
|
44405
|
+
def Bucket(self, Bucket):
|
|
44406
|
+
self._Bucket = Bucket
|
|
44407
|
+
|
|
44408
|
+
@property
|
|
44409
|
+
def Dir(self):
|
|
44410
|
+
r"""<p>任务存放cos的目录</p>
|
|
44411
|
+
:rtype: str
|
|
44412
|
+
"""
|
|
44413
|
+
return self._Dir
|
|
44414
|
+
|
|
44415
|
+
@Dir.setter
|
|
44416
|
+
def Dir(self, Dir):
|
|
44417
|
+
self._Dir = Dir
|
|
44418
|
+
|
|
44419
|
+
@property
|
|
44420
|
+
def TmpSecretId(self):
|
|
44421
|
+
r"""<p>临时Cos SecretId</p>
|
|
44422
|
+
:rtype: str
|
|
44423
|
+
"""
|
|
44424
|
+
return self._TmpSecretId
|
|
44425
|
+
|
|
44426
|
+
@TmpSecretId.setter
|
|
44427
|
+
def TmpSecretId(self, TmpSecretId):
|
|
44428
|
+
self._TmpSecretId = TmpSecretId
|
|
44429
|
+
|
|
44430
|
+
@property
|
|
44431
|
+
def TmpSecretKey(self):
|
|
44432
|
+
r"""<p>临时Cos SecretKey</p>
|
|
44433
|
+
:rtype: str
|
|
44434
|
+
"""
|
|
44435
|
+
return self._TmpSecretKey
|
|
44436
|
+
|
|
44437
|
+
@TmpSecretKey.setter
|
|
44438
|
+
def TmpSecretKey(self, TmpSecretKey):
|
|
44439
|
+
self._TmpSecretKey = TmpSecretKey
|
|
44440
|
+
|
|
44441
|
+
@property
|
|
44442
|
+
def Token(self):
|
|
44443
|
+
r"""<p>临时token</p>
|
|
44444
|
+
:rtype: str
|
|
44445
|
+
"""
|
|
44446
|
+
return self._Token
|
|
44447
|
+
|
|
44448
|
+
@Token.setter
|
|
44449
|
+
def Token(self, Token):
|
|
44450
|
+
self._Token = Token
|
|
44451
|
+
|
|
44452
|
+
|
|
44453
|
+
def _deserialize(self, params):
|
|
44454
|
+
self._Region = params.get("Region")
|
|
44455
|
+
self._Bucket = params.get("Bucket")
|
|
44456
|
+
self._Dir = params.get("Dir")
|
|
44457
|
+
self._TmpSecretId = params.get("TmpSecretId")
|
|
44458
|
+
self._TmpSecretKey = params.get("TmpSecretKey")
|
|
44459
|
+
self._Token = params.get("Token")
|
|
44460
|
+
memeber_set = set(params.keys())
|
|
44461
|
+
for name, value in vars(self).items():
|
|
44462
|
+
property_name = name[1:]
|
|
44463
|
+
if property_name in memeber_set:
|
|
44464
|
+
memeber_set.remove(property_name)
|
|
44465
|
+
if len(memeber_set) > 0:
|
|
44466
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
44467
|
+
|
|
44468
|
+
|
|
44469
|
+
|
|
44470
|
+
class VideoRedrawInput(AbstractModel):
|
|
44471
|
+
r"""视频转绘的输入源
|
|
44472
|
+
|
|
44473
|
+
"""
|
|
44474
|
+
|
|
44475
|
+
def __init__(self):
|
|
44476
|
+
r"""
|
|
44477
|
+
:param _Url: <p>输入待转绘的视频URL</p>
|
|
44478
|
+
:type Url: str
|
|
44479
|
+
"""
|
|
44480
|
+
self._Url = None
|
|
44481
|
+
|
|
44482
|
+
@property
|
|
44483
|
+
def Url(self):
|
|
44484
|
+
r"""<p>输入待转绘的视频URL</p>
|
|
44485
|
+
:rtype: str
|
|
44486
|
+
"""
|
|
44487
|
+
return self._Url
|
|
44488
|
+
|
|
44489
|
+
@Url.setter
|
|
44490
|
+
def Url(self, Url):
|
|
44491
|
+
self._Url = Url
|
|
44492
|
+
|
|
44493
|
+
|
|
44494
|
+
def _deserialize(self, params):
|
|
44495
|
+
self._Url = params.get("Url")
|
|
44496
|
+
memeber_set = set(params.keys())
|
|
44497
|
+
for name, value in vars(self).items():
|
|
44498
|
+
property_name = name[1:]
|
|
44499
|
+
if property_name in memeber_set:
|
|
44500
|
+
memeber_set.remove(property_name)
|
|
44501
|
+
if len(memeber_set) > 0:
|
|
44502
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
44503
|
+
|
|
44504
|
+
|
|
44505
|
+
|
|
44279
44506
|
class WatermarkInfo(AbstractModel):
|
|
44280
44507
|
r"""水印信息。
|
|
44281
44508
|
|
|
@@ -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.63
|
|
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.63
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.63
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.60
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|