tencentcloud-sdk-python-trtc 3.0.1208__tar.gz → 3.0.1209__tar.gz
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-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/setup.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud/trtc/v20190722/models.py +6 -28
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud/trtc/v20190722/trtc_client.py +0 -3
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-trtc-3.0.1209/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-trtc-3.0.1208/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/README.rst +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/setup.cfg +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1208 → tencentcloud-sdk-python-trtc-3.0.1209}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-trtc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1209"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Trtc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -7596,39 +7596,13 @@ class RecognizeConfig(AbstractModel):
|
|
|
7596
7596
|
|
|
7597
7597
|
注意:
|
|
7598
7598
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
7599
|
-
示例值:zh
|
|
7600
7599
|
:type Language: str
|
|
7601
7600
|
:param _AlternativeLanguage: 发起模糊识别额外可能替代语言类型,最多填写3种语言类型。
|
|
7602
7601
|
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
|
7603
7602
|
:type AlternativeLanguage: list of str
|
|
7604
|
-
:param _Model:
|
|
7603
|
+
:param _Model: 目前已不支持
|
|
7605
7604
|
:type Model: str
|
|
7606
|
-
:param _TranslationLanguage:
|
|
7607
|
-
注:文本翻译功能需要购买「语音转文本时长包」解锁或领取包月套餐-体验版解。
|
|
7608
|
-
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
7609
|
-
Chinese = "zh"
|
|
7610
|
-
Chinese_TW = "zh-TW"
|
|
7611
|
-
English = "en"
|
|
7612
|
-
Vietnamese = "vi"
|
|
7613
|
-
Japanese = "ja"
|
|
7614
|
-
Korean = "ko"
|
|
7615
|
-
Indonesia = "id"
|
|
7616
|
-
Thai = "th"
|
|
7617
|
-
Portuguese = "pt"
|
|
7618
|
-
Turkish = "tr"
|
|
7619
|
-
Arabic = "ar"
|
|
7620
|
-
Spanish = "es"
|
|
7621
|
-
Hindi = "hi"
|
|
7622
|
-
French = "fr"
|
|
7623
|
-
Malay = "ms"
|
|
7624
|
-
Filipino = "fil"
|
|
7625
|
-
German = "de"
|
|
7626
|
-
Italian = "it"
|
|
7627
|
-
Russian = "ru"
|
|
7628
|
-
|
|
7629
|
-
注意:
|
|
7630
|
-
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
7631
|
-
示例值:en
|
|
7605
|
+
:param _TranslationLanguage: 目前已不支持
|
|
7632
7606
|
:type TranslationLanguage: str
|
|
7633
7607
|
"""
|
|
7634
7608
|
self._Language = None
|
|
@@ -7666,10 +7640,14 @@ Russian = "ru"
|
|
|
7666
7640
|
|
|
7667
7641
|
@property
|
|
7668
7642
|
def TranslationLanguage(self):
|
|
7643
|
+
warnings.warn("parameter `TranslationLanguage` is deprecated", DeprecationWarning)
|
|
7644
|
+
|
|
7669
7645
|
return self._TranslationLanguage
|
|
7670
7646
|
|
|
7671
7647
|
@TranslationLanguage.setter
|
|
7672
7648
|
def TranslationLanguage(self, TranslationLanguage):
|
|
7649
|
+
warnings.warn("parameter `TranslationLanguage` is deprecated", DeprecationWarning)
|
|
7650
|
+
|
|
7673
7651
|
self._TranslationLanguage = TranslationLanguage
|
|
7674
7652
|
|
|
7675
7653
|
|
|
@@ -1052,7 +1052,6 @@ class TrtcClient(AbstractClient):
|
|
|
1052
1052
|
"type": "subtitle",
|
|
1053
1053
|
"userid": "xxx",
|
|
1054
1054
|
"text": "xxx",
|
|
1055
|
-
"translation_text": "xxx",
|
|
1056
1055
|
"start_time": "00:00:02",
|
|
1057
1056
|
"end_time": "00:00:05"
|
|
1058
1057
|
}`
|
|
@@ -1060,7 +1059,6 @@ class TrtcClient(AbstractClient):
|
|
|
1060
1059
|
- type是subtitle,表示这是实时字幕消息。
|
|
1061
1060
|
- userid表示是哪个用户说的话。
|
|
1062
1061
|
- text是语音识别出的文本。
|
|
1063
|
-
- translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
|
|
1064
1062
|
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
|
1065
1063
|
|
|
1066
1064
|
转录消息具体格式如下:
|
|
@@ -1068,7 +1066,6 @@ class TrtcClient(AbstractClient):
|
|
|
1068
1066
|
"type": "transcription",
|
|
1069
1067
|
"userid": "xxx",
|
|
1070
1068
|
"text": "xxx",
|
|
1071
|
-
"translation_text": "xx",
|
|
1072
1069
|
"start_time": "00:00:02",
|
|
1073
1070
|
"end_time": "00:00:05"
|
|
1074
1071
|
}`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1209
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1208
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|