tencentcloud-sdk-python-trtc 3.0.1444__py2.py3-none-any.whl → 3.0.1448__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1444'
17
+ __version__ = '3.0.1448'
@@ -407,5 +407,8 @@ UNKNOWNPARAMETER = 'UnknownParameter'
407
407
  # 操作不支持。
408
408
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
409
409
 
410
+ # 不支持的操作
411
+ UNSUPPORTEDOPERATION_INTERNALERROR = 'UnsupportedOperation.InternalError'
412
+
410
413
  # 不允许使用,请联系技术人员
411
414
  UNSUPPORTEDOPERATION_NOTALLOWED = 'UnsupportedOperation.NotAllowed'
@@ -217,6 +217,9 @@ class AgentConfig(AbstractModel):
217
217
  - 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。
218
218
  - 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。
219
219
  :type SubtitleMode: int
220
+ :param _InterruptWordList: 打断词列表,在AI说话期间,只有说出列表中的打断词才会打断AI说话。
221
+ 注意:打断词不会触发AI回复。
222
+ :type InterruptWordList: list of str
220
223
  """
221
224
  self._UserId = None
222
225
  self._UserSig = None
@@ -233,6 +236,7 @@ class AgentConfig(AbstractModel):
233
236
  self._VoicePrint = None
234
237
  self._TurnDetection = None
235
238
  self._SubtitleMode = None
239
+ self._InterruptWordList = None
236
240
 
237
241
  @property
238
242
  def UserId(self):
@@ -409,6 +413,18 @@ class AgentConfig(AbstractModel):
409
413
  def SubtitleMode(self, SubtitleMode):
410
414
  self._SubtitleMode = SubtitleMode
411
415
 
416
+ @property
417
+ def InterruptWordList(self):
418
+ """打断词列表,在AI说话期间,只有说出列表中的打断词才会打断AI说话。
419
+ 注意:打断词不会触发AI回复。
420
+ :rtype: list of str
421
+ """
422
+ return self._InterruptWordList
423
+
424
+ @InterruptWordList.setter
425
+ def InterruptWordList(self, InterruptWordList):
426
+ self._InterruptWordList = InterruptWordList
427
+
412
428
 
413
429
  def _deserialize(self, params):
414
430
  self._UserId = params.get("UserId")
@@ -432,6 +448,7 @@ class AgentConfig(AbstractModel):
432
448
  self._TurnDetection = TurnDetection()
433
449
  self._TurnDetection._deserialize(params.get("TurnDetection"))
434
450
  self._SubtitleMode = params.get("SubtitleMode")
451
+ self._InterruptWordList = params.get("InterruptWordList")
435
452
  memeber_set = set(params.keys())
436
453
  for name, value in vars(self).items():
437
454
  property_name = name[1:]
@@ -709,7 +709,9 @@ class TrtcClient(AbstractClient):
709
709
 
710
710
 
711
711
  def DescribeTRTCMarketQualityMetricData(self, request):
712
- """查询TRTC监控仪表盘-数据大盘质量指标(包括下列指标)
712
+ """云监控monitor接口已下线,trtc同步下线接口
713
+
714
+ 查询TRTC监控仪表盘-数据大盘质量指标(包括下列指标)
713
715
  joinSuccessRate:加入频道成功率。
714
716
  joinSuccessIn5sRate:5s内加入频道成功率。
715
717
  audioFreezeRate:音频卡顿率。
@@ -770,7 +772,9 @@ class TrtcClient(AbstractClient):
770
772
 
771
773
 
772
774
  def DescribeTRTCMarketScaleMetricData(self, request):
773
- """查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
775
+ """云监控monitor接口已下线,trtc同步下线接口
776
+
777
+ 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
774
778
  userCount:通话人数,
775
779
  roomCount:通话房间数,从有用户加入频道到所有用户离开频道计为一个通话频道。
776
780
  peakCurrentChannels:峰值同时在线频道数。
@@ -828,7 +832,9 @@ class TrtcClient(AbstractClient):
828
832
 
829
833
 
830
834
  def DescribeTRTCRealTimeQualityMetricData(self, request):
831
- """查询TRTC监控仪表盘-实时监控质量指标(会返回下列指标)
835
+ """云监控monitor接口已下线,trtc同步下线接口
836
+
837
+ 查询TRTC监控仪表盘-实时监控质量指标(会返回下列指标)
832
838
  -视频卡顿率
833
839
  -音频卡顿率
834
840
  注意:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1444
3
+ Version: 3.0.1448
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.0.1444)
18
+ Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1448)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=l8H8D_HPdJWSm-IJNlKPygUi0dSf3NApdcxqXC5PqAA,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=xLMIY3GqMT4P3HzptYvbgmPjE64wn3EDSO-6EMb-kq4,13309
5
+ tencentcloud/trtc/v20190722/models.py,sha256=Hk6LKSRu5Sydgna85xv6Xlx2mPXk3pPKI4E1B1mSlx8,692034
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=-V4mFFJq8qBKz9aV2G2hYnGUxUBxt8K5EBtXhadIYHs,94078
7
+ tencentcloud_sdk_python_trtc-3.0.1448.dist-info/METADATA,sha256=sjQpXqKe1qoKlyZIAPWgfKU9IZl5ux9DRWFQiOSLox8,1508
8
+ tencentcloud_sdk_python_trtc-3.0.1448.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1448.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1448.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=z7pegdPMkssddojtfv7Ov_NQWpfty7HFI6vrZw_JgMU,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=0myE6OrHdzVp6oPrCseryOOCt8t8VbnGP7O7XEij6Ac,13213
5
- tencentcloud/trtc/v20190722/models.py,sha256=MdzwU2MMScdPdBbSqpsyaJ7VP2mgHtGK3T3mM5lk65Q,691302
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=0PEVW5tb1jbPoUpYd_zWeQhxyFYd6KhaJvCUprG3EUE,93880
7
- tencentcloud_sdk_python_trtc-3.0.1444.dist-info/METADATA,sha256=qA7gtdH8a_93rcRLWgnxOu5td5aYSTI-M8Bh9wC-28E,1508
8
- tencentcloud_sdk_python_trtc-3.0.1444.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1444.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1444.dist-info/RECORD,,