tencentcloud-sdk-python-trtc 3.0.1202__py2.py3-none-any.whl → 3.0.1204__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.1202'
17
+ __version__ = '3.0.1204'
@@ -5916,8 +5916,12 @@ class McuUserInfoParams(AbstractModel):
5916
5916
  r"""
5917
5917
  :param _UserInfo: 用户参数。
5918
5918
  :type UserInfo: :class:`tencentcloud.trtc.v20190722.models.MixUserInfo`
5919
+ :param _SoundLevel: 混音的音量调整:取值范围是0到100,100为原始上行音量,不填默认为100,值越小则音量越低。
5920
+ 注:该参数只在音量白名单下配置生效,其他场景配置无效。
5921
+ :type SoundLevel: int
5919
5922
  """
5920
5923
  self._UserInfo = None
5924
+ self._SoundLevel = None
5921
5925
 
5922
5926
  @property
5923
5927
  def UserInfo(self):
@@ -5927,11 +5931,20 @@ class McuUserInfoParams(AbstractModel):
5927
5931
  def UserInfo(self, UserInfo):
5928
5932
  self._UserInfo = UserInfo
5929
5933
 
5934
+ @property
5935
+ def SoundLevel(self):
5936
+ return self._SoundLevel
5937
+
5938
+ @SoundLevel.setter
5939
+ def SoundLevel(self, SoundLevel):
5940
+ self._SoundLevel = SoundLevel
5941
+
5930
5942
 
5931
5943
  def _deserialize(self, params):
5932
5944
  if params.get("UserInfo") is not None:
5933
5945
  self._UserInfo = MixUserInfo()
5934
5946
  self._UserInfo._deserialize(params.get("UserInfo"))
5947
+ self._SoundLevel = params.get("SoundLevel")
5935
5948
  memeber_set = set(params.keys())
5936
5949
  for name, value in vars(self).items():
5937
5950
  property_name = name[1:]
@@ -8741,11 +8754,11 @@ class StartAIConversationRequest(AbstractModel):
8741
8754
  :param _STTConfig: 语音识别配置。
8742
8755
  :type STTConfig: :class:`tencentcloud.trtc.v20190722.models.STTConfig`
8743
8756
  :param _LLMConfig: LLM配置。需符合openai规范,为JSON字符串,示例如下:
8744
- <pre> { <br> &emsp; "LLMType": “大模型类型", // String 必填,目前固定为"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的OpenAI API密钥", // String 必填,相当于环境变量中的OPENAI_API_KEY<br> &emsp; "APIBaseUrl": "https://api.openai.com", // String 必填,OpenAI API的基础URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
8757
+ <pre> { <br> &emsp; "LLMType": “大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
8745
8758
 
8746
8759
  :type LLMConfig: str
8747
- :param _TTSConfig: TTS配置。目前支持腾讯云TTS, 为JSON字符串,示例如下:
8748
- <pre>{ <br> &emsp; "AppId": "您的应用ID", // String 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SercetId": "您的密钥ID", // String 必填<br> &emsp; "SercetKey": "您的密钥Key", // String 必填<br> &emsp; "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br> &emsp; "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "PrimaryLanguage": "zh-CN" // String 非必填,主要语言<br> &emsp;}</pre>
8760
+ :param _TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下:
8761
+ <pre>{ <br> &emsp; "AppId": 您的应用ID, // Integer 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SecretId": "您的密钥ID", // String 必填<br> &emsp; "SecretKey": "您的密钥Key", // String 必填<br> &emsp; "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br> &emsp; "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "PrimaryLanguage": "zh-CN" // String 非必填,主要语言<br> &emsp;}</pre>
8749
8762
  :type TTSConfig: str
8750
8763
  """
8751
8764
  self._SdkAppId = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1202
3
+ Version: 3.0.1204
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.1202)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1204)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=kLM3NO7-Mkz1cnPd9oUESHYoGsCAbSqB36knQazfZwU,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=K4q7UWQkdedEyrQJFz67cH3xzyKo78PS0EseWry0JXo,10898
5
+ tencentcloud/trtc/v20190722/models.py,sha256=WMezBcAepQjZzhCyO1Ri32Q3BypMlitAdpnWyCnH11U,389664
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=7LEm9-06cMUwXOEpm-ueDS7tx9hln3zcZxexC1Fc6Ak,77573
7
+ tencentcloud_sdk_python_trtc-3.0.1204.dist-info/METADATA,sha256=6KiJKqAyR5F6G5UG5S0ugrNzAiS5mgxzFTuoEZvUaJ0,1497
8
+ tencentcloud_sdk_python_trtc-3.0.1204.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1204.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1204.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=MRhmf8qYzKiISF-A18v9HHqE8Aob-YvRu2_WZ8ECOoU,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=K4q7UWQkdedEyrQJFz67cH3xzyKo78PS0EseWry0JXo,10898
5
- tencentcloud/trtc/v20190722/models.py,sha256=jQ3dyyTZiHhDEA-f2IU_8rBANerjKFNwkvYROwPifPY,389205
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=7LEm9-06cMUwXOEpm-ueDS7tx9hln3zcZxexC1Fc6Ak,77573
7
- tencentcloud_sdk_python_trtc-3.0.1202.dist-info/METADATA,sha256=Na9XzmVWOv5Tm4AS9ouRYyr6fBWKKV7ZjLz2orPhPn8,1497
8
- tencentcloud_sdk_python_trtc-3.0.1202.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1202.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1202.dist-info/RECORD,,