tencentcloud-sdk-python-live 3.1.138__tar.gz → 3.1.156__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.138 → tencentcloud_sdk_python_live-3.1.156}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud/live/v20180801/live_client.py +2 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud/live/v20180801/live_client_async.py +2 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud/live/v20180801/models.py +37 -34
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.156/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.138/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.138 → tencentcloud_sdk_python_live-3.1.156}/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.156
|
|
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.156
|
|
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.156,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -964,6 +964,7 @@ class LiveClient(AbstractClient):
|
|
|
964
964
|
|
|
965
965
|
def CreateLiveWatermarkRule(self, request):
|
|
966
966
|
r"""创建水印规则,需要先调用[AddLiveWatermark](/document/product/267/30154)接口添加水印,将返回的水印id绑定到流使用。
|
|
967
|
+
创建规则后生效时间为10分钟,规则仅对推流时间晚于配置生效时间的流有效,对正在直播的流不生效。
|
|
967
968
|
|
|
968
969
|
:param request: Request instance for CreateLiveWatermarkRule.
|
|
969
970
|
:type request: :class:`tencentcloud.live.v20180801.models.CreateLiveWatermarkRuleRequest`
|
|
@@ -4215,6 +4216,7 @@ class LiveClient(AbstractClient):
|
|
|
4215
4216
|
|
|
4216
4217
|
def DescribeUploadStreamNums(self, request):
|
|
4217
4218
|
r"""直播上行路数查询。
|
|
4219
|
+
数据延迟3小时左右。
|
|
4218
4220
|
|
|
4219
4221
|
:param request: Request instance for DescribeUploadStreamNums.
|
|
4220
4222
|
:type request: :class:`tencentcloud.live.v20180801.models.DescribeUploadStreamNumsRequest`
|
|
@@ -773,6 +773,7 @@ class LiveClient(AbstractClient):
|
|
|
773
773
|
) -> models.CreateLiveWatermarkRuleResponse:
|
|
774
774
|
"""
|
|
775
775
|
创建水印规则,需要先调用[AddLiveWatermark](/document/product/267/30154)接口添加水印,将返回的水印id绑定到流使用。
|
|
776
|
+
创建规则后生效时间为10分钟,规则仅对推流时间晚于配置生效时间的流有效,对正在直播的流不生效。
|
|
776
777
|
"""
|
|
777
778
|
|
|
778
779
|
kwargs = {}
|
|
@@ -3334,6 +3335,7 @@ class LiveClient(AbstractClient):
|
|
|
3334
3335
|
) -> models.DescribeUploadStreamNumsResponse:
|
|
3335
3336
|
"""
|
|
3336
3337
|
直播上行路数查询。
|
|
3338
|
+
数据延迟3小时左右。
|
|
3337
3339
|
"""
|
|
3338
3340
|
|
|
3339
3341
|
kwargs = {}
|
|
@@ -763,24 +763,21 @@ class AddLiveWatermarkRequest(AbstractModel):
|
|
|
763
763
|
|
|
764
764
|
def __init__(self):
|
|
765
765
|
r"""
|
|
766
|
-
:param _PictureUrl:
|
|
767
|
-
URL中禁止包含的字符:
|
|
768
|
-
;(){}$>`#"\'|
|
|
766
|
+
:param _PictureUrl: <p>水印图片 URL。<br>URL中禁止包含的字符:<br> ;(){}$>`#"'|</p>
|
|
769
767
|
:type PictureUrl: str
|
|
770
|
-
:param _WatermarkName:
|
|
771
|
-
最长30字节。
|
|
768
|
+
:param _WatermarkName: <p>水印名称。<br>最长30字节。</p>
|
|
772
769
|
:type WatermarkName: str
|
|
773
|
-
:param _XPosition:
|
|
770
|
+
:param _XPosition: <p>显示位置,X轴偏移,单位是百分比,默认 0。</p>
|
|
774
771
|
:type XPosition: int
|
|
775
|
-
:param _YPosition:
|
|
772
|
+
:param _YPosition: <p>显示位置,Y轴偏移,单位是百分比,默认 0。</p>
|
|
776
773
|
:type YPosition: int
|
|
777
|
-
:param _Width:
|
|
774
|
+
:param _Width: <p>水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。</p>
|
|
778
775
|
:type Width: int
|
|
779
|
-
:param _Height:
|
|
776
|
+
:param _Height: <p>水印高度,占直播原始画面高度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。</p>
|
|
780
777
|
:type Height: int
|
|
781
|
-
:param _BackgroundWidth:
|
|
778
|
+
:param _BackgroundWidth: <p>背景水印宽度。默认宽度1920。</p><p>取值范围:[360, 4096]</p><p>单位:px</p>
|
|
782
779
|
:type BackgroundWidth: int
|
|
783
|
-
:param _BackgroundHeight:
|
|
780
|
+
:param _BackgroundHeight: <p>背景水印高度。默认高度1080。</p><p>取值范围:[360, 4096]</p><p>单位:px</p>
|
|
784
781
|
:type BackgroundHeight: int
|
|
785
782
|
"""
|
|
786
783
|
self._PictureUrl = None
|
|
@@ -794,9 +791,7 @@ URL中禁止包含的字符:
|
|
|
794
791
|
|
|
795
792
|
@property
|
|
796
793
|
def PictureUrl(self):
|
|
797
|
-
r"""
|
|
798
|
-
URL中禁止包含的字符:
|
|
799
|
-
;(){}$>`#"\'|
|
|
794
|
+
r"""<p>水印图片 URL。<br>URL中禁止包含的字符:<br> ;(){}$>`#"'|</p>
|
|
800
795
|
:rtype: str
|
|
801
796
|
"""
|
|
802
797
|
return self._PictureUrl
|
|
@@ -807,8 +802,7 @@ URL中禁止包含的字符:
|
|
|
807
802
|
|
|
808
803
|
@property
|
|
809
804
|
def WatermarkName(self):
|
|
810
|
-
r"""
|
|
811
|
-
最长30字节。
|
|
805
|
+
r"""<p>水印名称。<br>最长30字节。</p>
|
|
812
806
|
:rtype: str
|
|
813
807
|
"""
|
|
814
808
|
return self._WatermarkName
|
|
@@ -819,7 +813,7 @@ URL中禁止包含的字符:
|
|
|
819
813
|
|
|
820
814
|
@property
|
|
821
815
|
def XPosition(self):
|
|
822
|
-
r"""
|
|
816
|
+
r"""<p>显示位置,X轴偏移,单位是百分比,默认 0。</p>
|
|
823
817
|
:rtype: int
|
|
824
818
|
"""
|
|
825
819
|
return self._XPosition
|
|
@@ -830,7 +824,7 @@ URL中禁止包含的字符:
|
|
|
830
824
|
|
|
831
825
|
@property
|
|
832
826
|
def YPosition(self):
|
|
833
|
-
r"""
|
|
827
|
+
r"""<p>显示位置,Y轴偏移,单位是百分比,默认 0。</p>
|
|
834
828
|
:rtype: int
|
|
835
829
|
"""
|
|
836
830
|
return self._YPosition
|
|
@@ -841,7 +835,7 @@ URL中禁止包含的字符:
|
|
|
841
835
|
|
|
842
836
|
@property
|
|
843
837
|
def Width(self):
|
|
844
|
-
r"""
|
|
838
|
+
r"""<p>水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。</p>
|
|
845
839
|
:rtype: int
|
|
846
840
|
"""
|
|
847
841
|
return self._Width
|
|
@@ -852,7 +846,7 @@ URL中禁止包含的字符:
|
|
|
852
846
|
|
|
853
847
|
@property
|
|
854
848
|
def Height(self):
|
|
855
|
-
r"""
|
|
849
|
+
r"""<p>水印高度,占直播原始画面高度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。</p>
|
|
856
850
|
:rtype: int
|
|
857
851
|
"""
|
|
858
852
|
return self._Height
|
|
@@ -863,7 +857,7 @@ URL中禁止包含的字符:
|
|
|
863
857
|
|
|
864
858
|
@property
|
|
865
859
|
def BackgroundWidth(self):
|
|
866
|
-
r"""
|
|
860
|
+
r"""<p>背景水印宽度。默认宽度1920。</p><p>取值范围:[360, 4096]</p><p>单位:px</p>
|
|
867
861
|
:rtype: int
|
|
868
862
|
"""
|
|
869
863
|
return self._BackgroundWidth
|
|
@@ -874,7 +868,7 @@ URL中禁止包含的字符:
|
|
|
874
868
|
|
|
875
869
|
@property
|
|
876
870
|
def BackgroundHeight(self):
|
|
877
|
-
r"""
|
|
871
|
+
r"""<p>背景水印高度。默认高度1080。</p><p>取值范围:[360, 4096]</p><p>单位:px</p>
|
|
878
872
|
:rtype: int
|
|
879
873
|
"""
|
|
880
874
|
return self._BackgroundHeight
|
|
@@ -910,7 +904,7 @@ class AddLiveWatermarkResponse(AbstractModel):
|
|
|
910
904
|
|
|
911
905
|
def __init__(self):
|
|
912
906
|
r"""
|
|
913
|
-
:param _WatermarkId:
|
|
907
|
+
:param _WatermarkId: <p>水印ID。</p>
|
|
914
908
|
:type WatermarkId: int
|
|
915
909
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
916
910
|
:type RequestId: str
|
|
@@ -920,7 +914,7 @@ class AddLiveWatermarkResponse(AbstractModel):
|
|
|
920
914
|
|
|
921
915
|
@property
|
|
922
916
|
def WatermarkId(self):
|
|
923
|
-
r"""
|
|
917
|
+
r"""<p>水印ID。</p>
|
|
924
918
|
:rtype: int
|
|
925
919
|
"""
|
|
926
920
|
return self._WatermarkId
|
|
@@ -44571,14 +44565,17 @@ class SwitchCasterToEmergencyRequest(AbstractModel):
|
|
|
44571
44565
|
|
|
44572
44566
|
def __init__(self):
|
|
44573
44567
|
r"""
|
|
44574
|
-
:param _CasterId:
|
|
44568
|
+
:param _CasterId: <p>导播台ID。</p>
|
|
44575
44569
|
:type CasterId: int
|
|
44570
|
+
:param _FromBeginning: <p>是否启用从头开始播放功能,仅对单点播输入源生效</p><p>默认值:false</p>
|
|
44571
|
+
:type FromBeginning: bool
|
|
44576
44572
|
"""
|
|
44577
44573
|
self._CasterId = None
|
|
44574
|
+
self._FromBeginning = None
|
|
44578
44575
|
|
|
44579
44576
|
@property
|
|
44580
44577
|
def CasterId(self):
|
|
44581
|
-
r"""
|
|
44578
|
+
r"""<p>导播台ID。</p>
|
|
44582
44579
|
:rtype: int
|
|
44583
44580
|
"""
|
|
44584
44581
|
return self._CasterId
|
|
@@ -44587,9 +44584,21 @@ class SwitchCasterToEmergencyRequest(AbstractModel):
|
|
|
44587
44584
|
def CasterId(self, CasterId):
|
|
44588
44585
|
self._CasterId = CasterId
|
|
44589
44586
|
|
|
44587
|
+
@property
|
|
44588
|
+
def FromBeginning(self):
|
|
44589
|
+
r"""<p>是否启用从头开始播放功能,仅对单点播输入源生效</p><p>默认值:false</p>
|
|
44590
|
+
:rtype: bool
|
|
44591
|
+
"""
|
|
44592
|
+
return self._FromBeginning
|
|
44593
|
+
|
|
44594
|
+
@FromBeginning.setter
|
|
44595
|
+
def FromBeginning(self, FromBeginning):
|
|
44596
|
+
self._FromBeginning = FromBeginning
|
|
44597
|
+
|
|
44590
44598
|
|
|
44591
44599
|
def _deserialize(self, params):
|
|
44592
44600
|
self._CasterId = params.get("CasterId")
|
|
44601
|
+
self._FromBeginning = params.get("FromBeginning")
|
|
44593
44602
|
memeber_set = set(params.keys())
|
|
44594
44603
|
for name, value in vars(self).items():
|
|
44595
44604
|
property_name = name[1:]
|
|
@@ -44607,10 +44616,7 @@ class SwitchCasterToEmergencyResponse(AbstractModel):
|
|
|
44607
44616
|
|
|
44608
44617
|
def __init__(self):
|
|
44609
44618
|
r"""
|
|
44610
|
-
:param _EmergencyStatus:
|
|
44611
|
-
0. 正常直播状态
|
|
44612
|
-
1. 备播状态
|
|
44613
|
-
2. 备播切换正常直播中,在配置了延播时长时出现
|
|
44619
|
+
:param _EmergencyStatus: <p>备播状态,范围[0,1,2]</p><ol start="0"><li>正常直播状态</li><li>备播状态</li><li>备播切换正常直播中,在配置了延播时长时出现</li></ol>
|
|
44614
44620
|
:type EmergencyStatus: int
|
|
44615
44621
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
44616
44622
|
:type RequestId: str
|
|
@@ -44620,10 +44626,7 @@ class SwitchCasterToEmergencyResponse(AbstractModel):
|
|
|
44620
44626
|
|
|
44621
44627
|
@property
|
|
44622
44628
|
def EmergencyStatus(self):
|
|
44623
|
-
r"""
|
|
44624
|
-
0. 正常直播状态
|
|
44625
|
-
1. 备播状态
|
|
44626
|
-
2. 备播切换正常直播中,在配置了延播时长时出现
|
|
44629
|
+
r"""<p>备播状态,范围[0,1,2]</p><ol start="0"><li>正常直播状态</li><li>备播状态</li><li>备播切换正常直播中,在配置了延播时长时出现</li></ol>
|
|
44627
44630
|
:rtype: int
|
|
44628
44631
|
"""
|
|
44629
44632
|
return self._EmergencyStatus
|
|
@@ -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.156
|
|
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.156
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.156
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.138
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|