tencentcloud-sdk-python-live 3.1.189__tar.gz → 3.1.206__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.189 → tencentcloud_sdk_python_live-3.1.206}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud/live/v20180801/live_client.py +92 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud/live/v20180801/live_client_async.py +72 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud/live/v20180801/models.py +658 -122
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.206/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.189/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.189 → tencentcloud_sdk_python_live-3.1.206}/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.206
|
|
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.206
|
|
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.206,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -442,6 +442,29 @@ class LiveClient(AbstractClient):
|
|
|
442
442
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
443
443
|
|
|
444
444
|
|
|
445
|
+
def CreateAvatarEditingLive(self, request):
|
|
446
|
+
r"""调用该接口,用于创建数字人直播间。
|
|
447
|
+
|
|
448
|
+
:param request: Request instance for CreateAvatarEditingLive.
|
|
449
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateAvatarEditingLiveRequest`
|
|
450
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateAvatarEditingLiveResponse`
|
|
451
|
+
|
|
452
|
+
"""
|
|
453
|
+
try:
|
|
454
|
+
params = request._serialize()
|
|
455
|
+
headers = request.headers
|
|
456
|
+
body = self.call("CreateAvatarEditingLive", params, headers=headers)
|
|
457
|
+
response = json.loads(body)
|
|
458
|
+
model = models.CreateAvatarEditingLiveResponse()
|
|
459
|
+
model._deserialize(response["Response"])
|
|
460
|
+
return model
|
|
461
|
+
except Exception as e:
|
|
462
|
+
if isinstance(e, TencentCloudSDKException):
|
|
463
|
+
raise
|
|
464
|
+
else:
|
|
465
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
466
|
+
|
|
467
|
+
|
|
445
468
|
def CreateCaster(self, request):
|
|
446
469
|
r"""该接口用来创建新的导播台
|
|
447
470
|
|
|
@@ -2347,6 +2370,29 @@ class LiveClient(AbstractClient):
|
|
|
2347
2370
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2348
2371
|
|
|
2349
2372
|
|
|
2373
|
+
def DescribeAvatarEditingLive(self, request):
|
|
2374
|
+
r"""调用该接口,查询数字人直播间信息列表。
|
|
2375
|
+
|
|
2376
|
+
:param request: Request instance for DescribeAvatarEditingLive.
|
|
2377
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeAvatarEditingLiveRequest`
|
|
2378
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeAvatarEditingLiveResponse`
|
|
2379
|
+
|
|
2380
|
+
"""
|
|
2381
|
+
try:
|
|
2382
|
+
params = request._serialize()
|
|
2383
|
+
headers = request.headers
|
|
2384
|
+
body = self.call("DescribeAvatarEditingLive", params, headers=headers)
|
|
2385
|
+
response = json.loads(body)
|
|
2386
|
+
model = models.DescribeAvatarEditingLiveResponse()
|
|
2387
|
+
model._deserialize(response["Response"])
|
|
2388
|
+
return model
|
|
2389
|
+
except Exception as e:
|
|
2390
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2391
|
+
raise
|
|
2392
|
+
else:
|
|
2393
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2394
|
+
|
|
2395
|
+
|
|
2350
2396
|
def DescribeBackupStreamList(self, request):
|
|
2351
2397
|
r"""返回正在直播中的流列表。适用于推流成功后查询在线流信息。
|
|
2352
2398
|
|
|
@@ -5891,6 +5937,29 @@ class LiveClient(AbstractClient):
|
|
|
5891
5937
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5892
5938
|
|
|
5893
5939
|
|
|
5940
|
+
def StopAvatarEditingLive(self, request):
|
|
5941
|
+
r"""调用该接口,用于停止数字人直播间。
|
|
5942
|
+
|
|
5943
|
+
:param request: Request instance for StopAvatarEditingLive.
|
|
5944
|
+
:type request: :class:`tencentcloud.live.v20180801.models.StopAvatarEditingLiveRequest`
|
|
5945
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.StopAvatarEditingLiveResponse`
|
|
5946
|
+
|
|
5947
|
+
"""
|
|
5948
|
+
try:
|
|
5949
|
+
params = request._serialize()
|
|
5950
|
+
headers = request.headers
|
|
5951
|
+
body = self.call("StopAvatarEditingLive", params, headers=headers)
|
|
5952
|
+
response = json.loads(body)
|
|
5953
|
+
model = models.StopAvatarEditingLiveResponse()
|
|
5954
|
+
model._deserialize(response["Response"])
|
|
5955
|
+
return model
|
|
5956
|
+
except Exception as e:
|
|
5957
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5958
|
+
raise
|
|
5959
|
+
else:
|
|
5960
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5961
|
+
|
|
5962
|
+
|
|
5894
5963
|
def StopCasterPgm(self, request):
|
|
5895
5964
|
r"""该接口用来停止导播台的主监输出。
|
|
5896
5965
|
停止主监后,对应的推流到腾讯云直播源站和推流到其他第三方平台均将会停止。
|
|
@@ -6076,6 +6145,29 @@ class LiveClient(AbstractClient):
|
|
|
6076
6145
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6077
6146
|
|
|
6078
6147
|
|
|
6148
|
+
def SwitchAvatarEditingScene(self, request):
|
|
6149
|
+
r"""调用该接口,用于临时驱动数字人播报。
|
|
6150
|
+
|
|
6151
|
+
:param request: Request instance for SwitchAvatarEditingScene.
|
|
6152
|
+
:type request: :class:`tencentcloud.live.v20180801.models.SwitchAvatarEditingSceneRequest`
|
|
6153
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.SwitchAvatarEditingSceneResponse`
|
|
6154
|
+
|
|
6155
|
+
"""
|
|
6156
|
+
try:
|
|
6157
|
+
params = request._serialize()
|
|
6158
|
+
headers = request.headers
|
|
6159
|
+
body = self.call("SwitchAvatarEditingScene", params, headers=headers)
|
|
6160
|
+
response = json.loads(body)
|
|
6161
|
+
model = models.SwitchAvatarEditingSceneResponse()
|
|
6162
|
+
model._deserialize(response["Response"])
|
|
6163
|
+
return model
|
|
6164
|
+
except Exception as e:
|
|
6165
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6166
|
+
raise
|
|
6167
|
+
else:
|
|
6168
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6169
|
+
|
|
6170
|
+
|
|
6079
6171
|
def SwitchBackupStream(self, request):
|
|
6080
6172
|
r"""调用该接口实现切换当前播放所使用的主备流。
|
|
6081
6173
|
|
|
@@ -351,6 +351,24 @@ class LiveClient(AbstractClient):
|
|
|
351
351
|
|
|
352
352
|
return await self.call_and_deserialize(**kwargs)
|
|
353
353
|
|
|
354
|
+
async def CreateAvatarEditingLive(
|
|
355
|
+
self,
|
|
356
|
+
request: models.CreateAvatarEditingLiveRequest,
|
|
357
|
+
opts: Dict = None,
|
|
358
|
+
) -> models.CreateAvatarEditingLiveResponse:
|
|
359
|
+
"""
|
|
360
|
+
调用该接口,用于创建数字人直播间。
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
kwargs = {}
|
|
364
|
+
kwargs["action"] = "CreateAvatarEditingLive"
|
|
365
|
+
kwargs["params"] = request._serialize()
|
|
366
|
+
kwargs["resp_cls"] = models.CreateAvatarEditingLiveResponse
|
|
367
|
+
kwargs["headers"] = request.headers
|
|
368
|
+
kwargs["opts"] = opts or {}
|
|
369
|
+
|
|
370
|
+
return await self.call_and_deserialize(**kwargs)
|
|
371
|
+
|
|
354
372
|
async def CreateCaster(
|
|
355
373
|
self,
|
|
356
374
|
request: models.CreateCasterRequest,
|
|
@@ -1856,6 +1874,24 @@ class LiveClient(AbstractClient):
|
|
|
1856
1874
|
|
|
1857
1875
|
return await self.call_and_deserialize(**kwargs)
|
|
1858
1876
|
|
|
1877
|
+
async def DescribeAvatarEditingLive(
|
|
1878
|
+
self,
|
|
1879
|
+
request: models.DescribeAvatarEditingLiveRequest,
|
|
1880
|
+
opts: Dict = None,
|
|
1881
|
+
) -> models.DescribeAvatarEditingLiveResponse:
|
|
1882
|
+
"""
|
|
1883
|
+
调用该接口,查询数字人直播间信息列表。
|
|
1884
|
+
"""
|
|
1885
|
+
|
|
1886
|
+
kwargs = {}
|
|
1887
|
+
kwargs["action"] = "DescribeAvatarEditingLive"
|
|
1888
|
+
kwargs["params"] = request._serialize()
|
|
1889
|
+
kwargs["resp_cls"] = models.DescribeAvatarEditingLiveResponse
|
|
1890
|
+
kwargs["headers"] = request.headers
|
|
1891
|
+
kwargs["opts"] = opts or {}
|
|
1892
|
+
|
|
1893
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1894
|
+
|
|
1859
1895
|
async def DescribeBackupStreamList(
|
|
1860
1896
|
self,
|
|
1861
1897
|
request: models.DescribeBackupStreamListRequest,
|
|
@@ -4645,6 +4681,24 @@ class LiveClient(AbstractClient):
|
|
|
4645
4681
|
|
|
4646
4682
|
return await self.call_and_deserialize(**kwargs)
|
|
4647
4683
|
|
|
4684
|
+
async def StopAvatarEditingLive(
|
|
4685
|
+
self,
|
|
4686
|
+
request: models.StopAvatarEditingLiveRequest,
|
|
4687
|
+
opts: Dict = None,
|
|
4688
|
+
) -> models.StopAvatarEditingLiveResponse:
|
|
4689
|
+
"""
|
|
4690
|
+
调用该接口,用于停止数字人直播间。
|
|
4691
|
+
"""
|
|
4692
|
+
|
|
4693
|
+
kwargs = {}
|
|
4694
|
+
kwargs["action"] = "StopAvatarEditingLive"
|
|
4695
|
+
kwargs["params"] = request._serialize()
|
|
4696
|
+
kwargs["resp_cls"] = models.StopAvatarEditingLiveResponse
|
|
4697
|
+
kwargs["headers"] = request.headers
|
|
4698
|
+
kwargs["opts"] = opts or {}
|
|
4699
|
+
|
|
4700
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4701
|
+
|
|
4648
4702
|
async def StopCasterPgm(
|
|
4649
4703
|
self,
|
|
4650
4704
|
request: models.StopCasterPgmRequest,
|
|
@@ -4790,6 +4844,24 @@ class LiveClient(AbstractClient):
|
|
|
4790
4844
|
|
|
4791
4845
|
return await self.call_and_deserialize(**kwargs)
|
|
4792
4846
|
|
|
4847
|
+
async def SwitchAvatarEditingScene(
|
|
4848
|
+
self,
|
|
4849
|
+
request: models.SwitchAvatarEditingSceneRequest,
|
|
4850
|
+
opts: Dict = None,
|
|
4851
|
+
) -> models.SwitchAvatarEditingSceneResponse:
|
|
4852
|
+
"""
|
|
4853
|
+
调用该接口,用于临时驱动数字人播报。
|
|
4854
|
+
"""
|
|
4855
|
+
|
|
4856
|
+
kwargs = {}
|
|
4857
|
+
kwargs["action"] = "SwitchAvatarEditingScene"
|
|
4858
|
+
kwargs["params"] = request._serialize()
|
|
4859
|
+
kwargs["resp_cls"] = models.SwitchAvatarEditingSceneResponse
|
|
4860
|
+
kwargs["headers"] = request.headers
|
|
4861
|
+
kwargs["opts"] = opts or {}
|
|
4862
|
+
|
|
4863
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4864
|
+
|
|
4793
4865
|
async def SwitchBackupStream(
|
|
4794
4866
|
self,
|
|
4795
4867
|
request: models.SwitchBackupStreamRequest,
|