tencentcloud-sdk-python-trtc 3.0.1406__py2.py3-none-any.whl → 3.0.1415__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/models.py +53 -6
- {tencentcloud_sdk_python_trtc-3.0.1406.dist-info → tencentcloud_sdk_python_trtc-3.0.1415.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_trtc-3.0.1415.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_trtc-3.0.1406.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_trtc-3.0.1406.dist-info → tencentcloud_sdk_python_trtc-3.0.1415.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_trtc-3.0.1406.dist-info → tencentcloud_sdk_python_trtc-3.0.1415.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -9122,15 +9122,15 @@ class MixLayoutParams(AbstractModel):
|
|
|
9122
9122
|
:type MediaId: int
|
|
9123
9123
|
:param _BackgroundImageUrl: 图片的url地址,只支持jpg, png, jpeg,大小限制不超过5M。注意,url必须携带格式后缀,url内只支持特定的字符串, 范围是a-z A-Z 0-9 '-', '.', '_', '~', ':', '/', '?', '#', '[', ']' '@', '!', '&', '(', ')', '*', '+', ',', '%', '='
|
|
9124
9124
|
:type BackgroundImageUrl: str
|
|
9125
|
-
:param _PlaceHolderMode: 设置为1时代表启用占位图功能,0时代表不启用占位图功能,默认为0
|
|
9125
|
+
:param _PlaceHolderMode: 设置为1时代表启用占位图功能,0时代表不启用占位图功能,默认为0。启用占位图功能时,在预设位置的用户没有上行音视频时可显示对应的占位图。
|
|
9126
9126
|
:type PlaceHolderMode: int
|
|
9127
|
-
:param _BackgroundImageRenderMode: 背景画面宽高比不一致的时候处理方案,与
|
|
9127
|
+
:param _BackgroundImageRenderMode: 背景画面宽高比不一致的时候处理方案,与MixLayoutList定义的RenderMode一致。
|
|
9128
9128
|
:type BackgroundImageRenderMode: int
|
|
9129
9129
|
:param _DefaultSubBackgroundImage: 子画面占位图url地址,只支持jpg, png, jpeg,大小限制不超过5M。注意,url必须携带格式后缀,url内只支持特定的字符串, 范围是a-z A-Z 0-9 '-', '.', '_', '~', ':', '/', '?', '#', '[', ']' '@', '!', '&', '(', ')', '*', '+', ',', '%', '='
|
|
9130
9130
|
:type DefaultSubBackgroundImage: str
|
|
9131
9131
|
:param _WaterMarkList: 水印布局参数, 最多支持25个。
|
|
9132
9132
|
:type WaterMarkList: list of WaterMark
|
|
9133
|
-
:param _RenderMode: 模板布局下,背景画面宽高比不一致的时候处理方案。自定义布局不生效,与
|
|
9133
|
+
:param _RenderMode: 模板布局下,背景画面宽高比不一致的时候处理方案。自定义布局不生效,与MixLayoutList定义的RenderMode一致。
|
|
9134
9134
|
:type RenderMode: int
|
|
9135
9135
|
:param _MaxResolutionUserAlign: 屏幕分享模板有效。设置为1时代表大画面居右,小画面居左布局。默认为0。
|
|
9136
9136
|
:type MaxResolutionUserAlign: int
|
|
@@ -9231,7 +9231,7 @@ class MixLayoutParams(AbstractModel):
|
|
|
9231
9231
|
|
|
9232
9232
|
@property
|
|
9233
9233
|
def PlaceHolderMode(self):
|
|
9234
|
-
"""设置为1时代表启用占位图功能,0时代表不启用占位图功能,默认为0
|
|
9234
|
+
"""设置为1时代表启用占位图功能,0时代表不启用占位图功能,默认为0。启用占位图功能时,在预设位置的用户没有上行音视频时可显示对应的占位图。
|
|
9235
9235
|
:rtype: int
|
|
9236
9236
|
"""
|
|
9237
9237
|
return self._PlaceHolderMode
|
|
@@ -9242,7 +9242,7 @@ class MixLayoutParams(AbstractModel):
|
|
|
9242
9242
|
|
|
9243
9243
|
@property
|
|
9244
9244
|
def BackgroundImageRenderMode(self):
|
|
9245
|
-
"""背景画面宽高比不一致的时候处理方案,与
|
|
9245
|
+
"""背景画面宽高比不一致的时候处理方案,与MixLayoutList定义的RenderMode一致。
|
|
9246
9246
|
:rtype: int
|
|
9247
9247
|
"""
|
|
9248
9248
|
return self._BackgroundImageRenderMode
|
|
@@ -9275,7 +9275,7 @@ class MixLayoutParams(AbstractModel):
|
|
|
9275
9275
|
|
|
9276
9276
|
@property
|
|
9277
9277
|
def RenderMode(self):
|
|
9278
|
-
"""模板布局下,背景画面宽高比不一致的时候处理方案。自定义布局不生效,与
|
|
9278
|
+
"""模板布局下,背景画面宽高比不一致的时候处理方案。自定义布局不生效,与MixLayoutList定义的RenderMode一致。
|
|
9279
9279
|
:rtype: int
|
|
9280
9280
|
"""
|
|
9281
9281
|
return self._RenderMode
|
|
@@ -11354,12 +11354,15 @@ class STTConfig(AbstractModel):
|
|
|
11354
11354
|
:type VadSilenceTime: int
|
|
11355
11355
|
:param _HotWordList: 热词表:该参数用于提升识别准确率。 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
|
|
11356
11356
|
:type HotWordList: str
|
|
11357
|
+
:param _VadLevel: vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
|
11358
|
+
:type VadLevel: int
|
|
11357
11359
|
"""
|
|
11358
11360
|
self._Language = None
|
|
11359
11361
|
self._AlternativeLanguage = None
|
|
11360
11362
|
self._CustomParam = None
|
|
11361
11363
|
self._VadSilenceTime = None
|
|
11362
11364
|
self._HotWordList = None
|
|
11365
|
+
self._VadLevel = None
|
|
11363
11366
|
|
|
11364
11367
|
@property
|
|
11365
11368
|
def Language(self):
|
|
@@ -11464,6 +11467,17 @@ class STTConfig(AbstractModel):
|
|
|
11464
11467
|
def HotWordList(self, HotWordList):
|
|
11465
11468
|
self._HotWordList = HotWordList
|
|
11466
11469
|
|
|
11470
|
+
@property
|
|
11471
|
+
def VadLevel(self):
|
|
11472
|
+
"""vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
|
11473
|
+
:rtype: int
|
|
11474
|
+
"""
|
|
11475
|
+
return self._VadLevel
|
|
11476
|
+
|
|
11477
|
+
@VadLevel.setter
|
|
11478
|
+
def VadLevel(self, VadLevel):
|
|
11479
|
+
self._VadLevel = VadLevel
|
|
11480
|
+
|
|
11467
11481
|
|
|
11468
11482
|
def _deserialize(self, params):
|
|
11469
11483
|
self._Language = params.get("Language")
|
|
@@ -11471,6 +11485,7 @@ class STTConfig(AbstractModel):
|
|
|
11471
11485
|
self._CustomParam = params.get("CustomParam")
|
|
11472
11486
|
self._VadSilenceTime = params.get("VadSilenceTime")
|
|
11473
11487
|
self._HotWordList = params.get("HotWordList")
|
|
11488
|
+
self._VadLevel = params.get("VadLevel")
|
|
11474
11489
|
memeber_set = set(params.keys())
|
|
11475
11490
|
for name, value in vars(self).items():
|
|
11476
11491
|
property_name = name[1:]
|
|
@@ -11875,6 +11890,8 @@ class ServerPushText(AbstractModel):
|
|
|
11875
11890
|
- Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
|
|
11876
11891
|
|
|
11877
11892
|
:type Priority: int
|
|
11893
|
+
:param _AddHistory: 是否将文本加入到llm历史上下文中
|
|
11894
|
+
:type AddHistory: bool
|
|
11878
11895
|
"""
|
|
11879
11896
|
self._Text = None
|
|
11880
11897
|
self._Interrupt = None
|
|
@@ -11882,6 +11899,7 @@ class ServerPushText(AbstractModel):
|
|
|
11882
11899
|
self._Audio = None
|
|
11883
11900
|
self._DropMode = None
|
|
11884
11901
|
self._Priority = None
|
|
11902
|
+
self._AddHistory = None
|
|
11885
11903
|
|
|
11886
11904
|
@property
|
|
11887
11905
|
def Text(self):
|
|
@@ -11960,6 +11978,17 @@ class ServerPushText(AbstractModel):
|
|
|
11960
11978
|
def Priority(self, Priority):
|
|
11961
11979
|
self._Priority = Priority
|
|
11962
11980
|
|
|
11981
|
+
@property
|
|
11982
|
+
def AddHistory(self):
|
|
11983
|
+
"""是否将文本加入到llm历史上下文中
|
|
11984
|
+
:rtype: bool
|
|
11985
|
+
"""
|
|
11986
|
+
return self._AddHistory
|
|
11987
|
+
|
|
11988
|
+
@AddHistory.setter
|
|
11989
|
+
def AddHistory(self, AddHistory):
|
|
11990
|
+
self._AddHistory = AddHistory
|
|
11991
|
+
|
|
11963
11992
|
|
|
11964
11993
|
def _deserialize(self, params):
|
|
11965
11994
|
self._Text = params.get("Text")
|
|
@@ -11968,6 +11997,7 @@ class ServerPushText(AbstractModel):
|
|
|
11968
11997
|
self._Audio = params.get("Audio")
|
|
11969
11998
|
self._DropMode = params.get("DropMode")
|
|
11970
11999
|
self._Priority = params.get("Priority")
|
|
12000
|
+
self._AddHistory = params.get("AddHistory")
|
|
11971
12001
|
memeber_set = set(params.keys())
|
|
11972
12002
|
for name, value in vars(self).items():
|
|
11973
12003
|
property_name = name[1:]
|
|
@@ -14765,6 +14795,8 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14765
14795
|
:param _TargetUserIdList: 机器人订阅的用户列表
|
|
14766
14796
|
仅 TranscriptionMode 为 1或者 TranscriptionMode 为无限上麦模式支持传入多个用户列表
|
|
14767
14797
|
:type TargetUserIdList: list of str
|
|
14798
|
+
:param _VoicePrint: 声纹配置
|
|
14799
|
+
:type VoicePrint: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
|
14768
14800
|
"""
|
|
14769
14801
|
self._UserId = None
|
|
14770
14802
|
self._UserSig = None
|
|
@@ -14774,6 +14806,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14774
14806
|
self._TranscriptionMode = None
|
|
14775
14807
|
self._TargetUserId = None
|
|
14776
14808
|
self._TargetUserIdList = None
|
|
14809
|
+
self._VoicePrint = None
|
|
14777
14810
|
|
|
14778
14811
|
@property
|
|
14779
14812
|
def UserId(self):
|
|
@@ -14873,6 +14906,17 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14873
14906
|
def TargetUserIdList(self, TargetUserIdList):
|
|
14874
14907
|
self._TargetUserIdList = TargetUserIdList
|
|
14875
14908
|
|
|
14909
|
+
@property
|
|
14910
|
+
def VoicePrint(self):
|
|
14911
|
+
"""声纹配置
|
|
14912
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
|
14913
|
+
"""
|
|
14914
|
+
return self._VoicePrint
|
|
14915
|
+
|
|
14916
|
+
@VoicePrint.setter
|
|
14917
|
+
def VoicePrint(self, VoicePrint):
|
|
14918
|
+
self._VoicePrint = VoicePrint
|
|
14919
|
+
|
|
14876
14920
|
|
|
14877
14921
|
def _deserialize(self, params):
|
|
14878
14922
|
self._UserId = params.get("UserId")
|
|
@@ -14883,6 +14927,9 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14883
14927
|
self._TranscriptionMode = params.get("TranscriptionMode")
|
|
14884
14928
|
self._TargetUserId = params.get("TargetUserId")
|
|
14885
14929
|
self._TargetUserIdList = params.get("TargetUserIdList")
|
|
14930
|
+
if params.get("VoicePrint") is not None:
|
|
14931
|
+
self._VoicePrint = VoicePrint()
|
|
14932
|
+
self._VoicePrint._deserialize(params.get("VoicePrint"))
|
|
14886
14933
|
memeber_set = set(params.keys())
|
|
14887
14934
|
for name, value in vars(self).items():
|
|
14888
14935
|
property_name = name[1:]
|
|
@@ -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.1415
|
|
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.1415)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=he7CccLZ5YtPUymIh1eDwWvm0VG8KwZD3Mnb7l2vAAA,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=p8nnSmWbd2IoGYa5x5ZKKLfKJpfSZdz9so867X4eCQ8,12729
|
|
5
|
+
tencentcloud/trtc/v20190722/models.py,sha256=-mZijrt84nrHaPgT1uBtKM_AiZbXGD9KmUG5PwLD_-A,600102
|
|
6
|
+
tencentcloud/trtc/v20190722/trtc_client.py,sha256=AmejLPaS3rkN-Ne2p-L9gvp1d3fH8xeiUWC19wA6pmA,82726
|
|
7
|
+
tencentcloud_sdk_python_trtc-3.0.1415.dist-info/METADATA,sha256=lDYEnIvKCyKJ34h0vWYPAHy415U1fb1Q1N9ZDHq2IZ0,1501
|
|
8
|
+
tencentcloud_sdk_python_trtc-3.0.1415.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_trtc-3.0.1415.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_trtc-3.0.1415.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=GMxEk0whnix5vfIuAxf5bkBfJ-D1uc592YQ6xSAXmRA,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=p8nnSmWbd2IoGYa5x5ZKKLfKJpfSZdz9so867X4eCQ8,12729
|
|
5
|
-
tencentcloud/trtc/v20190722/models.py,sha256=eeG4Q_pQef4yITKdRkpqNeh8rk6WGSNN-PkEwJWvjqM,598385
|
|
6
|
-
tencentcloud/trtc/v20190722/trtc_client.py,sha256=AmejLPaS3rkN-Ne2p-L9gvp1d3fH8xeiUWC19wA6pmA,82726
|
|
7
|
-
tencentcloud_sdk_python_trtc-3.0.1406.dist-info/METADATA,sha256=V74wHPk2yYlM3REiJghZAHNGaCV1AIkdkmaJsbIAU2I,1501
|
|
8
|
-
tencentcloud_sdk_python_trtc-3.0.1406.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_trtc-3.0.1406.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_trtc-3.0.1406.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|