tencentcloud-sdk-python-live 3.1.130__tar.gz → 3.1.147__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.130 → tencentcloud_sdk_python_live-3.1.147}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud/live/v20180801/live_client.py +2 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud/live/v20180801/live_client_async.py +2 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud/live/v20180801/models.py +33 -24
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.147/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.130/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.130 → tencentcloud_sdk_python_live-3.1.147}/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.147
|
|
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.147
|
|
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.147,<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
|
|
@@ -1910,6 +1904,8 @@ class AvatarScriptInfo(AbstractModel):
|
|
|
1910
1904
|
:type CreateTime: str
|
|
1911
1905
|
:param _UpdateTime: <p>话术最后更新时间,UTC时间。<br>注意:UTC时间和北京时间相差八小时。</p>
|
|
1912
1906
|
:type UpdateTime: str
|
|
1907
|
+
:param _MediaUrl: <p>已完成状态的视频URL</p>
|
|
1908
|
+
:type MediaUrl: str
|
|
1913
1909
|
"""
|
|
1914
1910
|
self._ScriptId = None
|
|
1915
1911
|
self._ProductId = None
|
|
@@ -1920,6 +1916,7 @@ class AvatarScriptInfo(AbstractModel):
|
|
|
1920
1916
|
self._Position = None
|
|
1921
1917
|
self._CreateTime = None
|
|
1922
1918
|
self._UpdateTime = None
|
|
1919
|
+
self._MediaUrl = None
|
|
1923
1920
|
|
|
1924
1921
|
@property
|
|
1925
1922
|
def ScriptId(self):
|
|
@@ -2020,6 +2017,17 @@ class AvatarScriptInfo(AbstractModel):
|
|
|
2020
2017
|
def UpdateTime(self, UpdateTime):
|
|
2021
2018
|
self._UpdateTime = UpdateTime
|
|
2022
2019
|
|
|
2020
|
+
@property
|
|
2021
|
+
def MediaUrl(self):
|
|
2022
|
+
r"""<p>已完成状态的视频URL</p>
|
|
2023
|
+
:rtype: str
|
|
2024
|
+
"""
|
|
2025
|
+
return self._MediaUrl
|
|
2026
|
+
|
|
2027
|
+
@MediaUrl.setter
|
|
2028
|
+
def MediaUrl(self, MediaUrl):
|
|
2029
|
+
self._MediaUrl = MediaUrl
|
|
2030
|
+
|
|
2023
2031
|
|
|
2024
2032
|
def _deserialize(self, params):
|
|
2025
2033
|
self._ScriptId = params.get("ScriptId")
|
|
@@ -2031,6 +2039,7 @@ class AvatarScriptInfo(AbstractModel):
|
|
|
2031
2039
|
self._Position = params.get("Position")
|
|
2032
2040
|
self._CreateTime = params.get("CreateTime")
|
|
2033
2041
|
self._UpdateTime = params.get("UpdateTime")
|
|
2042
|
+
self._MediaUrl = params.get("MediaUrl")
|
|
2034
2043
|
memeber_set = set(params.keys())
|
|
2035
2044
|
for name, value in vars(self).items():
|
|
2036
2045
|
property_name = name[1:]
|
|
@@ -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.147
|
|
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.147
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.147
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.130
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|