tencentcloud-sdk-python-trtc 3.0.1201__py2.py3-none-any.whl → 3.0.1205__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.1201'
17
+ __version__ = '3.0.1205'
@@ -717,6 +717,8 @@ class CreateCloudRecordingRequest(AbstractModel):
717
717
  :param _SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和录制的房间所对应的SdkAppId相同。
718
718
  :type SdkAppId: int
719
719
  :param _RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。
720
+ 注:房间号类型默认为整型,若房间号类型为字符串,请通过RoomIdType指定。
721
+
720
722
  :type RoomId: str
721
723
  :param _UserId: 录制机器人的UserId,用于进房发起录制任务。
722
724
  【*注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个录制任务时,机器人的userid也不能相互重复,否则会中断前一个录制任务。建议可以把房间ID作为UserId的标识的一部分,即录制机器人UserId在房间内唯一。
@@ -5916,8 +5918,12 @@ class McuUserInfoParams(AbstractModel):
5916
5918
  r"""
5917
5919
  :param _UserInfo: 用户参数。
5918
5920
  :type UserInfo: :class:`tencentcloud.trtc.v20190722.models.MixUserInfo`
5921
+ :param _SoundLevel: 混音的音量调整:取值范围是0到100,100为原始上行音量,不填默认为100,值越小则音量越低。
5922
+ 注:该参数只在音量白名单下配置生效,其他场景配置无效。
5923
+ :type SoundLevel: int
5919
5924
  """
5920
5925
  self._UserInfo = None
5926
+ self._SoundLevel = None
5921
5927
 
5922
5928
  @property
5923
5929
  def UserInfo(self):
@@ -5927,11 +5933,20 @@ class McuUserInfoParams(AbstractModel):
5927
5933
  def UserInfo(self, UserInfo):
5928
5934
  self._UserInfo = UserInfo
5929
5935
 
5936
+ @property
5937
+ def SoundLevel(self):
5938
+ return self._SoundLevel
5939
+
5940
+ @SoundLevel.setter
5941
+ def SoundLevel(self, SoundLevel):
5942
+ self._SoundLevel = SoundLevel
5943
+
5930
5944
 
5931
5945
  def _deserialize(self, params):
5932
5946
  if params.get("UserInfo") is not None:
5933
5947
  self._UserInfo = MixUserInfo()
5934
5948
  self._UserInfo._deserialize(params.get("UserInfo"))
5949
+ self._SoundLevel = params.get("SoundLevel")
5935
5950
  memeber_set = set(params.keys())
5936
5951
  for name, value in vars(self).items():
5937
5952
  property_name = name[1:]
@@ -8741,11 +8756,11 @@ class StartAIConversationRequest(AbstractModel):
8741
8756
  :param _STTConfig: 语音识别配置。
8742
8757
  :type STTConfig: :class:`tencentcloud.trtc.v20190722.models.STTConfig`
8743
8758
  :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>
8759
+ <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
8760
 
8746
8761
  :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>
8762
+ :param _TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下:
8763
+ <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
8764
  :type TTSConfig: str
8750
8765
  """
8751
8766
  self._SdkAppId = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1201
3
+ Version: 3.0.1205
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.1201)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1205)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=-HtbpAT0egGec_Hik3_9w-XBb0Fag_PVMXquzcBJ3sg,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=bOQEJpsJAymnQuLfA762Da8sNPue3RjQIX4wcXwM14U,389766
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=7LEm9-06cMUwXOEpm-ueDS7tx9hln3zcZxexC1Fc6Ak,77573
7
+ tencentcloud_sdk_python_trtc-3.0.1205.dist-info/METADATA,sha256=ljNkMscJq9J34f-5lgjSvS7l-maQ5NvhAVnDSMHGqMs,1497
8
+ tencentcloud_sdk_python_trtc-3.0.1205.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1205.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1205.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=CYkhquXuGE-9LxcBc7jR5kZDjiVS3JY8Wu_ys5Tdr38,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.1201.dist-info/METADATA,sha256=ivK8eMU1mOFUpidJOalpxh2xFIv3-Tmt5QLYC756xYk,1497
8
- tencentcloud_sdk_python_trtc-3.0.1201.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1201.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1201.dist-info/RECORD,,