tencentcloud-sdk-python-trtc 3.1.53__tar.gz → 3.1.73__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_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/setup.py +1 -1
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud/trtc/v20190722/models.py +21 -6
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_trtc-3.1.73/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_trtc-3.1.53/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/README.rst +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/setup.cfg +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud/trtc/v20190722/trtc_client.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud/trtc/v20190722/trtc_client_async.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_trtc-3.1.53 → tencentcloud_sdk_python_trtc-3.1.73}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.73
|
|
4
4
|
Summary: Tencent Cloud Trtc 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.73
|
|
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-trtc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.73,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Trtc SDK for Python',
|
|
@@ -15417,7 +15417,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15417
15417
|
:type UserId: str
|
|
15418
15418
|
:param _UserSig: 输入在线媒体流机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
15419
15419
|
:type UserSig: str
|
|
15420
|
-
:param _StreamUrl: 源流URL
|
|
15420
|
+
:param _StreamUrl: 源流URL【必填】。如果是视频流,分辨率请保持不变,视频流的最大分辨率限制1080p,最大帧率限制30fps。
|
|
15421
15421
|
:type StreamUrl: str
|
|
15422
15422
|
:param _PrivateMapKey: TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey] 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。
|
|
15423
15423
|
:type PrivateMapKey: str
|
|
@@ -15438,12 +15438,14 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15438
15438
|
:type RepeatNum: int
|
|
15439
15439
|
:param _MaxDuration: 循环播放最大时长,仅支持RepeatNum设置-1时生效,取值范围[1, 10080],单位分钟。
|
|
15440
15440
|
:type MaxDuration: int
|
|
15441
|
-
:param _Volume: 音量,取值范围[0,
|
|
15441
|
+
:param _Volume: 音量,取值范围[0, 200],默认100,表示原音量。
|
|
15442
15442
|
:type Volume: int
|
|
15443
15443
|
:param _EnableProgress: 开启播放进度回调, 默认false,当开启后,播放进度会通过trtc custom data 回调给播放端
|
|
15444
15444
|
:type EnableProgress: bool
|
|
15445
15445
|
:param _Tempo: 播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
|
|
15446
15446
|
:type Tempo: float
|
|
15447
|
+
:param _IdleTimeout: 播放任务处于空闲状态的最大时长(秒), 不填时任务会自适应销毁,可取[0, 600],空闲状态超过设置的 IdleTimeout 后,该播放任务会自动销毁
|
|
15448
|
+
:type IdleTimeout: int
|
|
15447
15449
|
"""
|
|
15448
15450
|
self._SdkAppId = None
|
|
15449
15451
|
self._RoomId = None
|
|
@@ -15462,6 +15464,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15462
15464
|
self._Volume = None
|
|
15463
15465
|
self._EnableProgress = None
|
|
15464
15466
|
self._Tempo = None
|
|
15467
|
+
self._IdleTimeout = None
|
|
15465
15468
|
|
|
15466
15469
|
@property
|
|
15467
15470
|
def SdkAppId(self):
|
|
@@ -15523,7 +15526,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15523
15526
|
|
|
15524
15527
|
@property
|
|
15525
15528
|
def StreamUrl(self):
|
|
15526
|
-
r"""源流URL
|
|
15529
|
+
r"""源流URL【必填】。如果是视频流,分辨率请保持不变,视频流的最大分辨率限制1080p,最大帧率限制30fps。
|
|
15527
15530
|
:rtype: str
|
|
15528
15531
|
"""
|
|
15529
15532
|
return self._StreamUrl
|
|
@@ -15637,7 +15640,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15637
15640
|
|
|
15638
15641
|
@property
|
|
15639
15642
|
def Volume(self):
|
|
15640
|
-
r"""音量,取值范围[0,
|
|
15643
|
+
r"""音量,取值范围[0, 200],默认100,表示原音量。
|
|
15641
15644
|
:rtype: int
|
|
15642
15645
|
"""
|
|
15643
15646
|
return self._Volume
|
|
@@ -15668,6 +15671,17 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15668
15671
|
def Tempo(self, Tempo):
|
|
15669
15672
|
self._Tempo = Tempo
|
|
15670
15673
|
|
|
15674
|
+
@property
|
|
15675
|
+
def IdleTimeout(self):
|
|
15676
|
+
r"""播放任务处于空闲状态的最大时长(秒), 不填时任务会自适应销毁,可取[0, 600],空闲状态超过设置的 IdleTimeout 后,该播放任务会自动销毁
|
|
15677
|
+
:rtype: int
|
|
15678
|
+
"""
|
|
15679
|
+
return self._IdleTimeout
|
|
15680
|
+
|
|
15681
|
+
@IdleTimeout.setter
|
|
15682
|
+
def IdleTimeout(self, IdleTimeout):
|
|
15683
|
+
self._IdleTimeout = IdleTimeout
|
|
15684
|
+
|
|
15671
15685
|
|
|
15672
15686
|
def _deserialize(self, params):
|
|
15673
15687
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -15691,6 +15705,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15691
15705
|
self._Volume = params.get("Volume")
|
|
15692
15706
|
self._EnableProgress = params.get("EnableProgress")
|
|
15693
15707
|
self._Tempo = params.get("Tempo")
|
|
15708
|
+
self._IdleTimeout = params.get("IdleTimeout")
|
|
15694
15709
|
memeber_set = set(params.keys())
|
|
15695
15710
|
for name, value in vars(self).items():
|
|
15696
15711
|
property_name = name[1:]
|
|
@@ -18680,7 +18695,7 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
|
18680
18695
|
:type TaskId: str
|
|
18681
18696
|
:param _StreamUrl: 源流URL。
|
|
18682
18697
|
:type StreamUrl: str
|
|
18683
|
-
:param _Volume: 音量,取值范围[0,
|
|
18698
|
+
:param _Volume: 音量,取值范围[0, 200],默认100,表示原音量。
|
|
18684
18699
|
:type Volume: int
|
|
18685
18700
|
:param _IsPause: 是否暂停,默认false表示不暂停。暂停期间任务仍在进行中仍会计费,暂停超过12小时会自动销毁任务, 建议主动调用停止任务接口。
|
|
18686
18701
|
:type IsPause: bool
|
|
@@ -18732,7 +18747,7 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
|
18732
18747
|
|
|
18733
18748
|
@property
|
|
18734
18749
|
def Volume(self):
|
|
18735
|
-
r"""音量,取值范围[0,
|
|
18750
|
+
r"""音量,取值范围[0, 200],默认100,表示原音量。
|
|
18736
18751
|
:rtype: int
|
|
18737
18752
|
"""
|
|
18738
18753
|
return self._Volume
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.73
|
|
4
4
|
Summary: Tencent Cloud Trtc 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.73
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.53
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|