tencentcloud-sdk-python-live 3.1.87__tar.gz → 3.1.94__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.87 → tencentcloud_sdk_python_live-3.1.94}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/live_client.py +48 -2
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/live_client_async.py +38 -2
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/models.py +2209 -80
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.94/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.87/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.87 → tencentcloud_sdk_python_live-3.1.94}/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.94
|
|
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.94
|
|
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.94,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -1045,6 +1045,29 @@ class LiveClient(AbstractClient):
|
|
|
1045
1045
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1046
1046
|
|
|
1047
1047
|
|
|
1048
|
+
def CreateSceneVideoTask(self, request):
|
|
1049
|
+
r"""该接口用于创建场景化视频任务。
|
|
1050
|
+
|
|
1051
|
+
:param request: Request instance for CreateSceneVideoTask.
|
|
1052
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateSceneVideoTaskRequest`
|
|
1053
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateSceneVideoTaskResponse`
|
|
1054
|
+
|
|
1055
|
+
"""
|
|
1056
|
+
try:
|
|
1057
|
+
params = request._serialize()
|
|
1058
|
+
headers = request.headers
|
|
1059
|
+
body = self.call("CreateSceneVideoTask", params, headers=headers)
|
|
1060
|
+
response = json.loads(body)
|
|
1061
|
+
model = models.CreateSceneVideoTaskResponse()
|
|
1062
|
+
model._deserialize(response["Response"])
|
|
1063
|
+
return model
|
|
1064
|
+
except Exception as e:
|
|
1065
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1066
|
+
raise
|
|
1067
|
+
else:
|
|
1068
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1069
|
+
|
|
1070
|
+
|
|
1048
1071
|
def CreateScreenshotTask(self, request):
|
|
1049
1072
|
r"""创建一个在指定时间启动、结束的截图任务,并使用指定截图模板ID对应的配置进行截图。
|
|
1050
1073
|
- 注意事项
|
|
@@ -3716,7 +3739,7 @@ class LiveClient(AbstractClient):
|
|
|
3716
3739
|
|
|
3717
3740
|
|
|
3718
3741
|
def DescribeOriginStreamInfo(self, request):
|
|
3719
|
-
r"""
|
|
3742
|
+
r"""获取直播源站配置信息,支持直播源站格式。
|
|
3720
3743
|
|
|
3721
3744
|
:param request: Request instance for DescribeOriginStreamInfo.
|
|
3722
3745
|
:type request: :class:`tencentcloud.live.v20180801.models.DescribeOriginStreamInfoRequest`
|
|
@@ -3953,6 +3976,29 @@ class LiveClient(AbstractClient):
|
|
|
3953
3976
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3954
3977
|
|
|
3955
3978
|
|
|
3979
|
+
def DescribeSceneVideoTask(self, request):
|
|
3980
|
+
r"""该接口用于查询场景化视频任务进展及结果。
|
|
3981
|
+
|
|
3982
|
+
:param request: Request instance for DescribeSceneVideoTask.
|
|
3983
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeSceneVideoTaskRequest`
|
|
3984
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeSceneVideoTaskResponse`
|
|
3985
|
+
|
|
3986
|
+
"""
|
|
3987
|
+
try:
|
|
3988
|
+
params = request._serialize()
|
|
3989
|
+
headers = request.headers
|
|
3990
|
+
body = self.call("DescribeSceneVideoTask", params, headers=headers)
|
|
3991
|
+
response = json.loads(body)
|
|
3992
|
+
model = models.DescribeSceneVideoTaskResponse()
|
|
3993
|
+
model._deserialize(response["Response"])
|
|
3994
|
+
return model
|
|
3995
|
+
except Exception as e:
|
|
3996
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3997
|
+
raise
|
|
3998
|
+
else:
|
|
3999
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4000
|
+
|
|
4001
|
+
|
|
3956
4002
|
def DescribeScreenShotSheetNumList(self, request):
|
|
3957
4003
|
r"""接口用来查询直播增值业务--截图的张数
|
|
3958
4004
|
|
|
@@ -4873,7 +4919,7 @@ class LiveClient(AbstractClient):
|
|
|
4873
4919
|
|
|
4874
4920
|
|
|
4875
4921
|
def ModifyOriginStreamInfo(self, request):
|
|
4876
|
-
r"""
|
|
4922
|
+
r"""变更直播源站配置,支持直播源站格式。
|
|
4877
4923
|
|
|
4878
4924
|
:param request: Request instance for ModifyOriginStreamInfo.
|
|
4879
4925
|
:type request: :class:`tencentcloud.live.v20180801.models.ModifyOriginStreamInfoRequest`
|
|
@@ -834,6 +834,24 @@ class LiveClient(AbstractClient):
|
|
|
834
834
|
|
|
835
835
|
return await self.call_and_deserialize(**kwargs)
|
|
836
836
|
|
|
837
|
+
async def CreateSceneVideoTask(
|
|
838
|
+
self,
|
|
839
|
+
request: models.CreateSceneVideoTaskRequest,
|
|
840
|
+
opts: Dict = None,
|
|
841
|
+
) -> models.CreateSceneVideoTaskResponse:
|
|
842
|
+
"""
|
|
843
|
+
该接口用于创建场景化视频任务。
|
|
844
|
+
"""
|
|
845
|
+
|
|
846
|
+
kwargs = {}
|
|
847
|
+
kwargs["action"] = "CreateSceneVideoTask"
|
|
848
|
+
kwargs["params"] = request._serialize()
|
|
849
|
+
kwargs["resp_cls"] = models.CreateSceneVideoTaskResponse
|
|
850
|
+
kwargs["headers"] = request.headers
|
|
851
|
+
kwargs["opts"] = opts or {}
|
|
852
|
+
|
|
853
|
+
return await self.call_and_deserialize(**kwargs)
|
|
854
|
+
|
|
837
855
|
async def CreateScreenshotTask(
|
|
838
856
|
self,
|
|
839
857
|
request: models.CreateScreenshotTaskRequest,
|
|
@@ -2940,7 +2958,7 @@ class LiveClient(AbstractClient):
|
|
|
2940
2958
|
opts: Dict = None,
|
|
2941
2959
|
) -> models.DescribeOriginStreamInfoResponse:
|
|
2942
2960
|
"""
|
|
2943
|
-
|
|
2961
|
+
获取直播源站配置信息,支持直播源站格式。
|
|
2944
2962
|
"""
|
|
2945
2963
|
|
|
2946
2964
|
kwargs = {}
|
|
@@ -3122,6 +3140,24 @@ class LiveClient(AbstractClient):
|
|
|
3122
3140
|
|
|
3123
3141
|
return await self.call_and_deserialize(**kwargs)
|
|
3124
3142
|
|
|
3143
|
+
async def DescribeSceneVideoTask(
|
|
3144
|
+
self,
|
|
3145
|
+
request: models.DescribeSceneVideoTaskRequest,
|
|
3146
|
+
opts: Dict = None,
|
|
3147
|
+
) -> models.DescribeSceneVideoTaskResponse:
|
|
3148
|
+
"""
|
|
3149
|
+
该接口用于查询场景化视频任务进展及结果。
|
|
3150
|
+
"""
|
|
3151
|
+
|
|
3152
|
+
kwargs = {}
|
|
3153
|
+
kwargs["action"] = "DescribeSceneVideoTask"
|
|
3154
|
+
kwargs["params"] = request._serialize()
|
|
3155
|
+
kwargs["resp_cls"] = models.DescribeSceneVideoTaskResponse
|
|
3156
|
+
kwargs["headers"] = request.headers
|
|
3157
|
+
kwargs["opts"] = opts or {}
|
|
3158
|
+
|
|
3159
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3160
|
+
|
|
3125
3161
|
async def DescribeScreenShotSheetNumList(
|
|
3126
3162
|
self,
|
|
3127
3163
|
request: models.DescribeScreenShotSheetNumListRequest,
|
|
@@ -3852,7 +3888,7 @@ class LiveClient(AbstractClient):
|
|
|
3852
3888
|
opts: Dict = None,
|
|
3853
3889
|
) -> models.ModifyOriginStreamInfoResponse:
|
|
3854
3890
|
"""
|
|
3855
|
-
|
|
3891
|
+
变更直播源站配置,支持直播源站格式。
|
|
3856
3892
|
"""
|
|
3857
3893
|
|
|
3858
3894
|
kwargs = {}
|