tencentcloud-sdk-python-trtc 3.0.1164__py2.py3-none-any.whl → 3.0.1174__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/trtc/v20190722/errorcodes.py +2 -2
- tencentcloud/trtc/v20190722/models.py +23 -3
- tencentcloud/trtc/v20190722/trtc_client.py +1 -3
- {tencentcloud_sdk_python_trtc-3.0.1164.dist-info → tencentcloud_sdk_python_trtc-3.0.1174.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_trtc-3.0.1174.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_trtc-3.0.1164.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_trtc-3.0.1164.dist-info → tencentcloud_sdk_python_trtc-3.0.1174.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_trtc-3.0.1164.dist-info → tencentcloud_sdk_python_trtc-3.0.1174.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -38,8 +38,8 @@ FAILEDOPERATION_MIXSESSIONNOTEXIST = 'FailedOperation.MixSessionNotExist'
|
|
|
38
38
|
# 需要解锁所需能力位
|
|
39
39
|
FAILEDOPERATION_NOTABILITY = 'FailedOperation.NotAbility'
|
|
40
40
|
|
|
41
|
-
#
|
|
42
|
-
|
|
41
|
+
# 不允许此操作,请提交工单联系我们
|
|
42
|
+
FAILEDOPERATION_NOTALLOWED = 'FailedOperation.NotAllowed'
|
|
43
43
|
|
|
44
44
|
# 查询任务失败
|
|
45
45
|
FAILEDOPERATION_QUERYTASKINFOFAILED = 'FailedOperation.QueryTaskInfoFailed'
|
|
@@ -9004,26 +9004,38 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
9004
9004
|
|
|
9005
9005
|
@property
|
|
9006
9006
|
def VideoEncodeParams(self):
|
|
9007
|
+
warnings.warn("parameter `VideoEncodeParams` is deprecated", DeprecationWarning)
|
|
9008
|
+
|
|
9007
9009
|
return self._VideoEncodeParams
|
|
9008
9010
|
|
|
9009
9011
|
@VideoEncodeParams.setter
|
|
9010
9012
|
def VideoEncodeParams(self, VideoEncodeParams):
|
|
9013
|
+
warnings.warn("parameter `VideoEncodeParams` is deprecated", DeprecationWarning)
|
|
9014
|
+
|
|
9011
9015
|
self._VideoEncodeParams = VideoEncodeParams
|
|
9012
9016
|
|
|
9013
9017
|
@property
|
|
9014
9018
|
def AudioEncodeParams(self):
|
|
9019
|
+
warnings.warn("parameter `AudioEncodeParams` is deprecated", DeprecationWarning)
|
|
9020
|
+
|
|
9015
9021
|
return self._AudioEncodeParams
|
|
9016
9022
|
|
|
9017
9023
|
@AudioEncodeParams.setter
|
|
9018
9024
|
def AudioEncodeParams(self, AudioEncodeParams):
|
|
9025
|
+
warnings.warn("parameter `AudioEncodeParams` is deprecated", DeprecationWarning)
|
|
9026
|
+
|
|
9019
9027
|
self._AudioEncodeParams = AudioEncodeParams
|
|
9020
9028
|
|
|
9021
9029
|
@property
|
|
9022
9030
|
def SourceUrl(self):
|
|
9031
|
+
warnings.warn("parameter `SourceUrl` is deprecated", DeprecationWarning)
|
|
9032
|
+
|
|
9023
9033
|
return self._SourceUrl
|
|
9024
9034
|
|
|
9025
9035
|
@SourceUrl.setter
|
|
9026
9036
|
def SourceUrl(self, SourceUrl):
|
|
9037
|
+
warnings.warn("parameter `SourceUrl` is deprecated", DeprecationWarning)
|
|
9038
|
+
|
|
9027
9039
|
self._SourceUrl = SourceUrl
|
|
9028
9040
|
|
|
9029
9041
|
@property
|
|
@@ -9111,11 +9123,11 @@ class StartWebRecordRequest(AbstractModel):
|
|
|
9111
9123
|
:param _MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[1800, 36000], 默认 36000s(10 小时)
|
|
9112
9124
|
|
|
9113
9125
|
:type MaxDurationLimit: int
|
|
9114
|
-
:param _StorageParams:
|
|
9126
|
+
:param _StorageParams: 【必填】云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD,不支持第三方云存储
|
|
9115
9127
|
:type StorageParams: :class:`tencentcloud.trtc.v20190722.models.StorageParams`
|
|
9116
9128
|
:param _WebRecordVideoParams: 页面录制视频参数
|
|
9117
9129
|
:type WebRecordVideoParams: :class:`tencentcloud.trtc.v20190722.models.WebRecordVideoParams`
|
|
9118
|
-
:param _SdkAppId: TRTC的SdkAppId
|
|
9130
|
+
:param _SdkAppId: 【必填】TRTC的SdkAppId
|
|
9119
9131
|
:type SdkAppId: int
|
|
9120
9132
|
:param _RecordId: 当对重复任务敏感时,请关注此值: 为了避免任务在短时间内重复发起,导致任务重复
|
|
9121
9133
|
传入录制RecordId来标识此次任务, 小于32字节,若携带RecordId发起两次以上的开始录制请求,任务只会启动一个,第二个报错FailedOperation.TaskExist。注意StartWebRecord调用失败时而非FailedOperation.TaskExist错误,请更换RecordId重新发起。
|
|
@@ -10238,18 +10250,26 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
10238
10250
|
|
|
10239
10251
|
@property
|
|
10240
10252
|
def IMAdminUserId(self):
|
|
10253
|
+
warnings.warn("parameter `IMAdminUserId` is deprecated", DeprecationWarning)
|
|
10254
|
+
|
|
10241
10255
|
return self._IMAdminUserId
|
|
10242
10256
|
|
|
10243
10257
|
@IMAdminUserId.setter
|
|
10244
10258
|
def IMAdminUserId(self, IMAdminUserId):
|
|
10259
|
+
warnings.warn("parameter `IMAdminUserId` is deprecated", DeprecationWarning)
|
|
10260
|
+
|
|
10245
10261
|
self._IMAdminUserId = IMAdminUserId
|
|
10246
10262
|
|
|
10247
10263
|
@property
|
|
10248
10264
|
def IMAdminUserSig(self):
|
|
10265
|
+
warnings.warn("parameter `IMAdminUserSig` is deprecated", DeprecationWarning)
|
|
10266
|
+
|
|
10249
10267
|
return self._IMAdminUserSig
|
|
10250
10268
|
|
|
10251
10269
|
@IMAdminUserSig.setter
|
|
10252
10270
|
def IMAdminUserSig(self, IMAdminUserSig):
|
|
10271
|
+
warnings.warn("parameter `IMAdminUserSig` is deprecated", DeprecationWarning)
|
|
10272
|
+
|
|
10253
10273
|
self._IMAdminUserSig = IMAdminUserSig
|
|
10254
10274
|
|
|
10255
10275
|
@property
|
|
@@ -11393,7 +11413,7 @@ class WebRecordVideoParams(AbstractModel):
|
|
|
11393
11413
|
:type Width: int
|
|
11394
11414
|
:param _Height: 录制画面高度,默认为720,取值范围[0, 1080]
|
|
11395
11415
|
:type Height: int
|
|
11396
|
-
:param _Format: 指定输出格式,可选hls,mp4
|
|
11416
|
+
:param _Format: 指定输出格式,可选hls,mp4。存储到云点播VOD时此参数无效,存储到VOD时请通过TencentVod(https://cloud.tencent.com/document/api/647/44055#TencentVod)内的MediaType设置。
|
|
11397
11417
|
|
|
11398
11418
|
:type Format: str
|
|
11399
11419
|
:param _MaxMediaFileDuration: 如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】
|
|
@@ -974,9 +974,7 @@ class TrtcClient(AbstractClient):
|
|
|
974
974
|
- 拉取全房间的流。
|
|
975
975
|
- 拉取特定用户的流。
|
|
976
976
|
|
|
977
|
-
|
|
978
|
-
- 如果填写IMAdminUserId和IMAdminUserSig,服务端会调用IM的[发送群组消息](https://cloud.tencent.com/document/product/269/1629)API来向端上实时下发消息。客户端只需监听群组消息的回调即可,比如[web端回调](https://cloud.tencent.com/document/product/269/75319)。
|
|
979
|
-
- 如果不填写IMAdminUserId和IMAdminUserSig,服务端使用TRTC自定义消息通道下发消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。
|
|
977
|
+
服务端通过TRTC的自定义消息实时下发字幕和会议记录,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。
|
|
980
978
|
|
|
981
979
|
服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:
|
|
982
980
|
`{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1174
|
|
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 (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1174)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=OFcvvUIMN009gmeQrYEpAbgOoIhX4-Jgz9Q7zcX0T88,631
|
|
2
|
+
tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/trtc/v20190722/errorcodes.py,sha256=pHR1UX0aCs4YI-MCl_Din6o_eT-dm0ZrA-I1fWfz2xE,11044
|
|
5
|
+
tencentcloud/trtc/v20190722/models.py,sha256=MrDGuEWpEPtziAhmIkKXuhjqw6j9Brjwwxw4Vw2RQUs,368701
|
|
6
|
+
tencentcloud/trtc/v20190722/trtc_client.py,sha256=Ejkxfigb4LDQnNh2Pn5O8tGF_NIDzN0GnVIND0GGNzQ,85328
|
|
7
|
+
tencentcloud_sdk_python_trtc-3.0.1174.dist-info/METADATA,sha256=JUUdL4x7LfXM0wN0YfciQw5Gb7Qm1WDC6VEkW-irdZs,1497
|
|
8
|
+
tencentcloud_sdk_python_trtc-3.0.1174.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_trtc-3.0.1174.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_trtc-3.0.1174.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=h2AU94gi88cXSUsVRTcFP7unRCUdCFCywFJsiPsdNdo,631
|
|
2
|
-
tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/trtc/v20190722/errorcodes.py,sha256=pj8liwEqi-6N8RLQ9nBjYPmOueQHif8WlwzVOLR5RYc,11019
|
|
5
|
-
tencentcloud/trtc/v20190722/models.py,sha256=qb1w-LVX-s3RHhdReHyCm9C20YIs1lvcYg7HO0sGXC8,367611
|
|
6
|
-
tencentcloud/trtc/v20190722/trtc_client.py,sha256=o2RI6zx8svsSrRJwZBdEAkiUuHdGaVmNlSUi7wMsFsg,85727
|
|
7
|
-
tencentcloud_sdk_python_trtc-3.0.1164.dist-info/METADATA,sha256=kpOPxYW6DxOiYdYfrZLz1ANEbpnDwDx8PT3KKTtPidM,1497
|
|
8
|
-
tencentcloud_sdk_python_trtc-3.0.1164.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_trtc-3.0.1164.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_trtc-3.0.1164.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|