tencentcloud-sdk-python-trtc 3.0.1443__py2.py3-none-any.whl → 3.0.1444__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.1443'
17
+ __version__ = '3.0.1444'
@@ -281,6 +281,9 @@ INVALIDPARAMETERVALUE_ROOMID = 'InvalidParameterValue.RoomId'
281
281
  # 缺少参数错误。
282
282
  MISSINGPARAMETER = 'MissingParameter'
283
283
 
284
+ # 无效的APIKey
285
+ MISSINGPARAMETER_APIKEY = 'MissingParameter.APIKey'
286
+
284
287
  # 缺少AccessKey参数。
285
288
  MISSINGPARAMETER_ACCESSKEY = 'MissingParameter.AccessKey'
286
289
 
@@ -3389,6 +3389,7 @@ bigvHeight:上/下行分辨率高;
3389
3389
  aCapEnergy:音频采集能量;
3390
3390
  aPlayEnergy:音频播放能量;
3391
3391
  rtt:SDK到云端的往返延时;单位: ms
3392
+ bigvRecFps: 云端送达帧率;
3392
3393
  :type DataType: list of str
3393
3394
  :param _PageNumber: 当前页数,默认为0,
3394
3395
  注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
@@ -3484,6 +3485,7 @@ bigvHeight:上/下行分辨率高;
3484
3485
  aCapEnergy:音频采集能量;
3485
3486
  aPlayEnergy:音频播放能量;
3486
3487
  rtt:SDK到云端的往返延时;单位: ms
3488
+ bigvRecFps: 云端送达帧率;
3487
3489
  :rtype: list of str
3488
3490
  """
3489
3491
  return self._DataType
@@ -14065,7 +14067,7 @@ class StartAIConversationRequest(AbstractModel):
14065
14067
  :param _STTConfig: 语音识别配置。
14066
14068
  :type STTConfig: :class:`tencentcloud.trtc.v20190722.models.STTConfig`
14067
14069
  :param _LLMConfig: LLM配置。需符合openai规范,为JSON字符串,示例如下:
14068
- <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>
14070
+ <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; "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br> &emsp; "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
14069
14071
 
14070
14072
  :type LLMConfig: str
14071
14073
  :param _TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下: <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; "EmotionCategory": "angry", // String 非必填 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)。<br> &emsp; "EmotionIntensity": 150 // Integer 非必填 控制合成音频情感程度,取值范围为 [50,200],默认为 100;只有 EmotionCategory 不为空时生效。<br> &emsp; }</pre>
@@ -14155,7 +14157,7 @@ class StartAIConversationRequest(AbstractModel):
14155
14157
  @property
14156
14158
  def LLMConfig(self):
14157
14159
  """LLM配置。需符合openai规范,为JSON字符串,示例如下:
14158
- <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>
14160
+ <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; "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br> &emsp; "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
14159
14161
 
14160
14162
  :rtype: str
14161
14163
  """
@@ -18489,7 +18491,7 @@ class VoiceCloneRequest(AbstractModel):
18489
18491
  :type SdkAppId: int
18490
18492
  :param _APIKey: TTS的API密钥
18491
18493
  :type APIKey: str
18492
- :param _VoiceName: 声音克隆的名字
18494
+ :param _VoiceName: 声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
18493
18495
  :type VoiceName: str
18494
18496
  :param _PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在5秒~12秒之间
18495
18497
  :type PromptAudio: str
@@ -18526,7 +18528,7 @@ class VoiceCloneRequest(AbstractModel):
18526
18528
 
18527
18529
  @property
18528
18530
  def VoiceName(self):
18529
- """声音克隆的名字
18531
+ """声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
18530
18532
  :rtype: str
18531
18533
  """
18532
18534
  return self._VoiceName
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1443
3
+ Version: 3.0.1444
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.1443)
18
+ Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1444)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
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,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=XZH4VAZz9WH1-EhCd0jNUtOoc4aJ9MfjvVt7tg5nyYE,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=GSGmgWTH1x33sAHW6p-aM4eAy5XcZc9OuLHOpieqhP8,13142
5
- tencentcloud/trtc/v20190722/models.py,sha256=x4L1aNngZyE6-8jEwswSMe80CIIWppaU6uX44l1sr70,690460
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=0PEVW5tb1jbPoUpYd_zWeQhxyFYd6KhaJvCUprG3EUE,93880
7
- tencentcloud_sdk_python_trtc-3.0.1443.dist-info/METADATA,sha256=Rf65YMrS5UcOzIoJ69bkY5AXeVBh25f5lL4JHFqMzXo,1508
8
- tencentcloud_sdk_python_trtc-3.0.1443.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1443.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1443.dist-info/RECORD,,