tencentcloud-sdk-python-trtc 3.0.1186__tar.gz → 3.0.1193__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-trtc might be problematic. Click here for more details.
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/setup.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud/trtc/v20190722/models.py +15 -3
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud/trtc/v20190722/trtc_client.py +3 -4
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-trtc-3.0.1193/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-trtc-3.0.1186/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/README.rst +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/setup.cfg +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1186 → tencentcloud-sdk-python-trtc-3.0.1193}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1193"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Trtc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3773,7 +3773,7 @@ class DescribeTrtcUsageResponse(AbstractModel):
|
|
|
3773
3773
|
r"""
|
|
3774
3774
|
:param _UsageKey: 用量类型,与UsageValue中各个位置的值对应。
|
|
3775
3775
|
:type UsageKey: list of str
|
|
3776
|
-
:param _UsageList:
|
|
3776
|
+
:param _UsageList: 各个时间点用量明细,单位:分钟
|
|
3777
3777
|
:type UsageList: list of TrtcUsage
|
|
3778
3778
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3779
3779
|
:type RequestId: str
|
|
@@ -9372,7 +9372,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
9372
9372
|
:type UserId: str
|
|
9373
9373
|
:param _UserSig: 输入在线媒体流机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
9374
9374
|
:type UserSig: str
|
|
9375
|
-
:param _StreamUrl: 源流URL
|
|
9375
|
+
:param _StreamUrl: 源流URL【必填】。如果是视频流,分辨率请保持不变。
|
|
9376
9376
|
:type StreamUrl: str
|
|
9377
9377
|
:param _PrivateMapKey: TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey] 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。
|
|
9378
9378
|
:type PrivateMapKey: str
|
|
@@ -10833,10 +10833,13 @@ class TrtcUsage(AbstractModel):
|
|
|
10833
10833
|
r"""
|
|
10834
10834
|
:param _TimeKey: 时间点,格式为YYYY-MM-DD HH:mm:ss。多天查询时,HH:mm:ss为00:00:00。
|
|
10835
10835
|
:type TimeKey: str
|
|
10836
|
-
:param
|
|
10836
|
+
:param _TimeStampKey: 时间点时间戳
|
|
10837
|
+
:type TimeStampKey: int
|
|
10838
|
+
:param _UsageValue: 用量数组。每个数值含义与UsageKey对应。单位:分钟。
|
|
10837
10839
|
:type UsageValue: list of float
|
|
10838
10840
|
"""
|
|
10839
10841
|
self._TimeKey = None
|
|
10842
|
+
self._TimeStampKey = None
|
|
10840
10843
|
self._UsageValue = None
|
|
10841
10844
|
|
|
10842
10845
|
@property
|
|
@@ -10847,6 +10850,14 @@ class TrtcUsage(AbstractModel):
|
|
|
10847
10850
|
def TimeKey(self, TimeKey):
|
|
10848
10851
|
self._TimeKey = TimeKey
|
|
10849
10852
|
|
|
10853
|
+
@property
|
|
10854
|
+
def TimeStampKey(self):
|
|
10855
|
+
return self._TimeStampKey
|
|
10856
|
+
|
|
10857
|
+
@TimeStampKey.setter
|
|
10858
|
+
def TimeStampKey(self, TimeStampKey):
|
|
10859
|
+
self._TimeStampKey = TimeStampKey
|
|
10860
|
+
|
|
10850
10861
|
@property
|
|
10851
10862
|
def UsageValue(self):
|
|
10852
10863
|
return self._UsageValue
|
|
@@ -10858,6 +10869,7 @@ class TrtcUsage(AbstractModel):
|
|
|
10858
10869
|
|
|
10859
10870
|
def _deserialize(self, params):
|
|
10860
10871
|
self._TimeKey = params.get("TimeKey")
|
|
10872
|
+
self._TimeStampKey = params.get("TimeStampKey")
|
|
10861
10873
|
self._UsageValue = params.get("UsageValue")
|
|
10862
10874
|
memeber_set = set(params.keys())
|
|
10863
10875
|
for name, value in vars(self).items():
|
|
@@ -728,7 +728,7 @@ class TrtcClient(AbstractClient):
|
|
|
728
728
|
|
|
729
729
|
|
|
730
730
|
def DescribeTrtcUsage(self, request):
|
|
731
|
-
"""获取TRTC
|
|
731
|
+
"""获取TRTC音视频互动的用量明细,单位:分钟。
|
|
732
732
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
733
733
|
- 单次查询统计区间最多不能超过31天。
|
|
734
734
|
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
@@ -1283,9 +1283,8 @@ class TrtcClient(AbstractClient):
|
|
|
1283
1283
|
|
|
1284
1284
|
|
|
1285
1285
|
def StartStreamIngest(self, request):
|
|
1286
|
-
"""将一个在线媒体流推到TRTC
|
|
1287
|
-
|
|
1288
|
-
)
|
|
1286
|
+
"""将一个在线媒体流推到TRTC房间,更多功能说明见[输入媒体流进房](https://cloud.tencent.com/document/product/647/102957#50940aad-d90f-4473-9f46-d5dd46917653)。
|
|
1287
|
+
使用输入在线媒体流功能需先订阅 [尊享版或旗舰版套餐包](https://cloud.tencent.com/document/product/647/85386) 解锁能力位。
|
|
1289
1288
|
|
|
1290
1289
|
:param request: Request instance for StartStreamIngest.
|
|
1291
1290
|
:type request: :class:`tencentcloud.trtc.v20190722.models.StartStreamIngestRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1193
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1186
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|