tencentcloud-sdk-python-trtc 3.0.1287__py2.py3-none-any.whl → 3.0.1296__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 +3 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- {tencentcloud_sdk_python_trtc-3.0.1287.dist-info → tencentcloud_sdk_python_trtc-3.0.1296.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_trtc-3.0.1296.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_trtc-3.0.1287.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_trtc-3.0.1287.dist-info → tencentcloud_sdk_python_trtc-3.0.1296.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_trtc-3.0.1287.dist-info → tencentcloud_sdk_python_trtc-3.0.1296.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -347,6 +347,9 @@ MISSINGPARAMETER_VENDOR = 'MissingParameter.Vendor'
|
|
|
347
347
|
# EncodeParams中缺少视频输出参数。
|
|
348
348
|
MISSINGPARAMETER_VIDEOENCODEPARAMS = 'MissingParameter.VideoEncodeParams'
|
|
349
349
|
|
|
350
|
+
# 请求频率超限,请稍后再试
|
|
351
|
+
OPERATIONDENIED_FREQOVERLIMIT = 'OperationDenied.FreqOverLimit'
|
|
352
|
+
|
|
350
353
|
# 资源不足。
|
|
351
354
|
RESOURCEINSUFFICIENT_REQUESTREJECTION = 'ResourceInsufficient.RequestRejection'
|
|
352
355
|
|
|
@@ -197,6 +197,8 @@ class AgentConfig(AbstractModel):
|
|
|
197
197
|
- 0表示当服务端语音识别检测出的完整一句话后,自动触发一轮新的对话。
|
|
198
198
|
- 1表示客户端在收到字幕消息后,自行决定是否手动发送聊天信令触发一轮新的对话。
|
|
199
199
|
:type TurnDetectionMode: int
|
|
200
|
+
:param _FilterOneWord: 是否过滤掉用户只说了一个字的句子,true表示过滤,false表示不过滤,默认值为true
|
|
201
|
+
:type FilterOneWord: bool
|
|
200
202
|
"""
|
|
201
203
|
self._UserId = None
|
|
202
204
|
self._UserSig = None
|
|
@@ -206,6 +208,7 @@ class AgentConfig(AbstractModel):
|
|
|
206
208
|
self._InterruptMode = None
|
|
207
209
|
self._InterruptSpeechDuration = None
|
|
208
210
|
self._TurnDetectionMode = None
|
|
211
|
+
self._FilterOneWord = None
|
|
209
212
|
|
|
210
213
|
@property
|
|
211
214
|
def UserId(self):
|
|
@@ -297,6 +300,17 @@ class AgentConfig(AbstractModel):
|
|
|
297
300
|
def TurnDetectionMode(self, TurnDetectionMode):
|
|
298
301
|
self._TurnDetectionMode = TurnDetectionMode
|
|
299
302
|
|
|
303
|
+
@property
|
|
304
|
+
def FilterOneWord(self):
|
|
305
|
+
"""是否过滤掉用户只说了一个字的句子,true表示过滤,false表示不过滤,默认值为true
|
|
306
|
+
:rtype: bool
|
|
307
|
+
"""
|
|
308
|
+
return self._FilterOneWord
|
|
309
|
+
|
|
310
|
+
@FilterOneWord.setter
|
|
311
|
+
def FilterOneWord(self, FilterOneWord):
|
|
312
|
+
self._FilterOneWord = FilterOneWord
|
|
313
|
+
|
|
300
314
|
|
|
301
315
|
def _deserialize(self, params):
|
|
302
316
|
self._UserId = params.get("UserId")
|
|
@@ -307,6 +321,7 @@ class AgentConfig(AbstractModel):
|
|
|
307
321
|
self._InterruptMode = params.get("InterruptMode")
|
|
308
322
|
self._InterruptSpeechDuration = params.get("InterruptSpeechDuration")
|
|
309
323
|
self._TurnDetectionMode = params.get("TurnDetectionMode")
|
|
324
|
+
self._FilterOneWord = params.get("FilterOneWord")
|
|
310
325
|
memeber_set = set(params.keys())
|
|
311
326
|
for name, value in vars(self).items():
|
|
312
327
|
property_name = name[1:]
|
|
@@ -14062,6 +14077,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14062
14077
|
:param _TargetUserId: TranscriptionMode为1时必填,机器人只会拉该userid的流,忽略房间里其他用户。
|
|
14063
14078
|
:type TargetUserId: str
|
|
14064
14079
|
:param _TargetUserIdList: 机器人订阅的用户列表
|
|
14080
|
+
仅 TranscriptionMode 为 1或者 TranscriptionMode 为无限上麦模式支持传入多个用户列表
|
|
14065
14081
|
:type TargetUserIdList: list of str
|
|
14066
14082
|
"""
|
|
14067
14083
|
self._UserId = None
|
|
@@ -14162,6 +14178,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14162
14178
|
@property
|
|
14163
14179
|
def TargetUserIdList(self):
|
|
14164
14180
|
"""机器人订阅的用户列表
|
|
14181
|
+
仅 TranscriptionMode 为 1或者 TranscriptionMode 为无限上麦模式支持传入多个用户列表
|
|
14165
14182
|
:rtype: list of str
|
|
14166
14183
|
"""
|
|
14167
14184
|
return self._TargetUserIdList
|
|
@@ -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.1296
|
|
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.1296)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=XFhdk7AK_ipZK-fLl0KrQsTx-cVJ5t9siwY7O86olWg,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=xHA8fGLzwp1OSMztNVB4c08EyyYW8WaOn3et3qE_m7I,11586
|
|
5
|
+
tencentcloud/trtc/v20190722/models.py,sha256=bAijf6BCAIn-u-EZSD9IAas15aDVXmoy1faHnYBGhn8,559324
|
|
6
|
+
tencentcloud/trtc/v20190722/trtc_client.py,sha256=oaomKfzcpEGOJYalgpYuTdCr7K0ugW3CV9jk-3t3Dn4,79095
|
|
7
|
+
tencentcloud_sdk_python_trtc-3.0.1296.dist-info/METADATA,sha256=XdadTmEIAyzKQvmHEzH26w40p_vBwrYxReGtOEG55I4,1501
|
|
8
|
+
tencentcloud_sdk_python_trtc-3.0.1296.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_trtc-3.0.1296.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_trtc-3.0.1296.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=oDI6FvQ4zZ01YRbeNBmA63ZIProZpmfTBizpY_NYLuI,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.1287.dist-info/METADATA,sha256=JKV9AfEJ82PMYl0_L8ayhtw_aL9D44iy2gSuZQjJAvQ,1501
|
|
8
|
-
tencentcloud_sdk_python_trtc-3.0.1287.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_trtc-3.0.1287.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_trtc-3.0.1287.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|