tencentcloud-sdk-python-trtc 3.0.1260__py2.py3-none-any.whl → 3.0.1280__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.

@@ -49,6 +49,30 @@ class TrtcClient(AbstractClient):
49
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
+ def CreateBasicModeration(self, request):
53
+ """接口说明:
54
+ 启动终端审核功能,完成房间内的音频审核。
55
+
56
+ :param request: Request instance for CreateBasicModeration.
57
+ :type request: :class:`tencentcloud.trtc.v20190722.models.CreateBasicModerationRequest`
58
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.CreateBasicModerationResponse`
59
+
60
+ """
61
+ try:
62
+ params = request._serialize()
63
+ headers = request.headers
64
+ body = self.call("CreateBasicModeration", params, headers=headers)
65
+ response = json.loads(body)
66
+ model = models.CreateBasicModerationResponse()
67
+ model._deserialize(response["Response"])
68
+ return model
69
+ except Exception as e:
70
+ if isinstance(e, TencentCloudSDKException):
71
+ raise
72
+ else:
73
+ raise TencentCloudSDKException(type(e).__name__, str(e))
74
+
75
+
52
76
  def CreateCloudRecording(self, request):
53
77
  """接口说明:
54
78
  启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。
@@ -106,6 +130,29 @@ class TrtcClient(AbstractClient):
106
130
  raise TencentCloudSDKException(type(e).__name__, str(e))
107
131
 
108
132
 
133
+ def DeleteBasicModeration(self, request):
134
+ """成功开启审核任务后,可以使用此接口来停止任务。
135
+
136
+ :param request: Request instance for DeleteBasicModeration.
137
+ :type request: :class:`tencentcloud.trtc.v20190722.models.DeleteBasicModerationRequest`
138
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.DeleteBasicModerationResponse`
139
+
140
+ """
141
+ try:
142
+ params = request._serialize()
143
+ headers = request.headers
144
+ body = self.call("DeleteBasicModeration", params, headers=headers)
145
+ response = json.loads(body)
146
+ model = models.DeleteBasicModerationResponse()
147
+ model._deserialize(response["Response"])
148
+ return model
149
+ except Exception as e:
150
+ if isinstance(e, TencentCloudSDKException):
151
+ raise
152
+ else:
153
+ raise TencentCloudSDKException(type(e).__name__, str(e))
154
+
155
+
109
156
  def DeleteCloudRecording(self, request):
110
157
  """成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
111
158
 
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1260
3
+ Version: 3.0.1280
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
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Platform: any
10
10
  Classifier: Development Status :: 5 - Production/Stable
@@ -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.1260)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1280)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=wp48Yn5VkhXccwxc9oW2R68smuQ1M5Z5CpprWqU_jzQ,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=m581IullpcukpJ4cLE1ghL5FVKTMQbMcnZLzelpwwvA,11482
5
+ tencentcloud/trtc/v20190722/models.py,sha256=5AlLoSft9HlICC85Tgdl2I9o-bEaZlO5epM3Y4nD19U,558500
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=oaomKfzcpEGOJYalgpYuTdCr7K0ugW3CV9jk-3t3Dn4,79095
7
+ tencentcloud_sdk_python_trtc-3.0.1280.dist-info/METADATA,sha256=-i9ZKajWuLmm44e2krdIR3R0FMRdu4ZxpeLaEZsAWdI,1501
8
+ tencentcloud_sdk_python_trtc-3.0.1280.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1280.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1280.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=wg1uGZpru2XWqYf86gC4jfDKAATxY9H8UW1SwQGBv64,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=WNu9Hx8kn4lpbc342xXM1lw4uTQIx2JCvZchRlUXBL8,10987
5
- tencentcloud/trtc/v20190722/models.py,sha256=Nu8Q8gjTsvM3AUUCaQh3wdQV1jNMM3L9yCFv5q58PdQ,413800
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=6FKGmUMKPx22b8mWYHPX0Xwt63y8xNyqJJ1cCzGZP9c,77188
7
- tencentcloud_sdk_python_trtc-3.0.1260.dist-info/METADATA,sha256=s7Axnma0Fsr-oJ0lQJqR9omKN75dPFCXfXyCE_3OVU8,1497
8
- tencentcloud_sdk_python_trtc-3.0.1260.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1260.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1260.dist-info/RECORD,,