tencentcloud-sdk-python-trtc 3.0.1265__tar.gz → 3.0.1267__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.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/PKG-INFO +3 -3
  2. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/setup.cfg +0 -1
  3. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/setup.py +1 -1
  4. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud/__init__.py +1 -1
  5. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud/trtc/v20190722/models.py +97 -2
  6. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +3 -3
  7. tencentcloud-sdk-python-trtc-3.0.1267/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-trtc-3.0.1265/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/README.rst +0 -0
  10. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud/trtc/__init__.py +0 -0
  11. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud/trtc/v20190722/__init__.py +0 -0
  12. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud/trtc/v20190722/trtc_client.py +0 -0
  14. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-trtc-3.0.1265 → tencentcloud-sdk-python-trtc-3.0.1267}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1265
3
+ Version: 3.0.1267
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
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -4,5 +4,4 @@ universal = 1
4
4
  [egg_info]
5
5
  tag_build =
6
6
  tag_date = 0
7
- tag_svn_revision = 0
8
7
 
@@ -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.1265"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1267"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Trtc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1265'
17
+ __version__ = '3.0.1267'
@@ -2120,7 +2120,6 @@ InProgress:表示当前录制任务正在进行中。
2120
2120
  Exited:表示当前录制任务正在退出的过程中。
2121
2121
  :type Status: str
2122
2122
  :param _StorageFileList: 录制文件信息。
2123
- 注意:此字段可能返回 null,表示取不到有效值。
2124
2123
  :type StorageFileList: list of StorageFile
2125
2124
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2126
2125
  :type RequestId: str
@@ -2158,7 +2157,6 @@ Exited:表示当前录制任务正在退出的过程中。
2158
2157
  @property
2159
2158
  def StorageFileList(self):
2160
2159
  """录制文件信息。
2161
- 注意:此字段可能返回 null,表示取不到有效值。
2162
2160
  :rtype: list of StorageFile
2163
2161
  """
2164
2162
  return self._StorageFileList
@@ -5483,6 +5481,69 @@ class DismissRoomResponse(AbstractModel):
5483
5481
  self._RequestId = params.get("RequestId")
5484
5482
 
5485
5483
 
5484
+ class EmulateMobileParams(AbstractModel):
5485
+ """渲染移动模式参数,不渲染移动模式时,请勿设置此参数。
5486
+
5487
+ """
5488
+
5489
+ def __init__(self):
5490
+ r"""
5491
+ :param _MobileDeviceType: 移动设备类型,
5492
+ 0: 手机
5493
+ 1: 平板
5494
+ 注意:此字段可能返回 null,表示取不到有效值。
5495
+ :type MobileDeviceType: int
5496
+ :param _ScreenOrientation: 屏幕方向,
5497
+ 0: 竖屏,
5498
+ 1: 横屏
5499
+ 注意:此字段可能返回 null,表示取不到有效值。
5500
+ :type ScreenOrientation: int
5501
+ """
5502
+ self._MobileDeviceType = None
5503
+ self._ScreenOrientation = None
5504
+
5505
+ @property
5506
+ def MobileDeviceType(self):
5507
+ """移动设备类型,
5508
+ 0: 手机
5509
+ 1: 平板
5510
+ 注意:此字段可能返回 null,表示取不到有效值。
5511
+ :rtype: int
5512
+ """
5513
+ return self._MobileDeviceType
5514
+
5515
+ @MobileDeviceType.setter
5516
+ def MobileDeviceType(self, MobileDeviceType):
5517
+ self._MobileDeviceType = MobileDeviceType
5518
+
5519
+ @property
5520
+ def ScreenOrientation(self):
5521
+ """屏幕方向,
5522
+ 0: 竖屏,
5523
+ 1: 横屏
5524
+ 注意:此字段可能返回 null,表示取不到有效值。
5525
+ :rtype: int
5526
+ """
5527
+ return self._ScreenOrientation
5528
+
5529
+ @ScreenOrientation.setter
5530
+ def ScreenOrientation(self, ScreenOrientation):
5531
+ self._ScreenOrientation = ScreenOrientation
5532
+
5533
+
5534
+ def _deserialize(self, params):
5535
+ self._MobileDeviceType = params.get("MobileDeviceType")
5536
+ self._ScreenOrientation = params.get("ScreenOrientation")
5537
+ memeber_set = set(params.keys())
5538
+ for name, value in vars(self).items():
5539
+ property_name = name[1:]
5540
+ if property_name in memeber_set:
5541
+ memeber_set.remove(property_name)
5542
+ if len(memeber_set) > 0:
5543
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5544
+
5545
+
5546
+
5486
5547
  class EncodeParams(AbstractModel):
5487
5548
  """MCU混流输出流编码参数
5488
5549
 
@@ -10211,11 +10272,15 @@ class STTConfig(AbstractModel):
10211
10272
  注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
10212
10273
 
10213
10274
  :type AlternativeLanguage: list of str
10275
+ :param _CustomParam: 自定义参数,联系后台使用
10276
+
10277
+ :type CustomParam: str
10214
10278
  :param _VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
10215
10279
  :type VadSilenceTime: int
10216
10280
  """
10217
10281
  self._Language = None
10218
10282
  self._AlternativeLanguage = None
10283
+ self._CustomParam = None
10219
10284
  self._VadSilenceTime = None
10220
10285
 
10221
10286
  @property
@@ -10269,6 +10334,18 @@ class STTConfig(AbstractModel):
10269
10334
  def AlternativeLanguage(self, AlternativeLanguage):
10270
10335
  self._AlternativeLanguage = AlternativeLanguage
10271
10336
 
10337
+ @property
10338
+ def CustomParam(self):
10339
+ """自定义参数,联系后台使用
10340
+
10341
+ :rtype: str
10342
+ """
10343
+ return self._CustomParam
10344
+
10345
+ @CustomParam.setter
10346
+ def CustomParam(self, CustomParam):
10347
+ self._CustomParam = CustomParam
10348
+
10272
10349
  @property
10273
10350
  def VadSilenceTime(self):
10274
10351
  """语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
@@ -10284,6 +10361,7 @@ class STTConfig(AbstractModel):
10284
10361
  def _deserialize(self, params):
10285
10362
  self._Language = params.get("Language")
10286
10363
  self._AlternativeLanguage = params.get("AlternativeLanguage")
10364
+ self._CustomParam = params.get("CustomParam")
10287
10365
  self._VadSilenceTime = params.get("VadSilenceTime")
10288
10366
  memeber_set = set(params.keys())
10289
10367
  for name, value in vars(self).items():
@@ -12130,6 +12208,8 @@ class StartWebRecordRequest(AbstractModel):
12130
12208
  :type PublishCdnParams: list of McuPublishCdnParam
12131
12209
  :param _ReadyTimeout: 录制页面资源加载的超时时间,单位:秒。默认值为 0 秒,该值需大于等于 0秒,且小于等于 60秒。录制页面未启用页面加载超时检测时,请勿设置此参数。
12132
12210
  :type ReadyTimeout: int
12211
+ :param _EmulateMobileParams: 渲染移动模式参数;不准备渲染移动模式页面时,请勿设置此参数。
12212
+ :type EmulateMobileParams: :class:`tencentcloud.trtc.v20190722.models.EmulateMobileParams`
12133
12213
  """
12134
12214
  self._RecordUrl = None
12135
12215
  self._MaxDurationLimit = None
@@ -12139,6 +12219,7 @@ class StartWebRecordRequest(AbstractModel):
12139
12219
  self._RecordId = None
12140
12220
  self._PublishCdnParams = None
12141
12221
  self._ReadyTimeout = None
12222
+ self._EmulateMobileParams = None
12142
12223
 
12143
12224
  @property
12144
12225
  def RecordUrl(self):
@@ -12231,6 +12312,17 @@ class StartWebRecordRequest(AbstractModel):
12231
12312
  def ReadyTimeout(self, ReadyTimeout):
12232
12313
  self._ReadyTimeout = ReadyTimeout
12233
12314
 
12315
+ @property
12316
+ def EmulateMobileParams(self):
12317
+ """渲染移动模式参数;不准备渲染移动模式页面时,请勿设置此参数。
12318
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.EmulateMobileParams`
12319
+ """
12320
+ return self._EmulateMobileParams
12321
+
12322
+ @EmulateMobileParams.setter
12323
+ def EmulateMobileParams(self, EmulateMobileParams):
12324
+ self._EmulateMobileParams = EmulateMobileParams
12325
+
12234
12326
 
12235
12327
  def _deserialize(self, params):
12236
12328
  self._RecordUrl = params.get("RecordUrl")
@@ -12250,6 +12342,9 @@ class StartWebRecordRequest(AbstractModel):
12250
12342
  obj._deserialize(item)
12251
12343
  self._PublishCdnParams.append(obj)
12252
12344
  self._ReadyTimeout = params.get("ReadyTimeout")
12345
+ if params.get("EmulateMobileParams") is not None:
12346
+ self._EmulateMobileParams = EmulateMobileParams()
12347
+ self._EmulateMobileParams._deserialize(params.get("EmulateMobileParams"))
12253
12348
  memeber_set = set(params.keys())
12254
12349
  for name, value in vars(self).items():
12255
12350
  property_name = name[1:]
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1265
3
+ Version: 3.0.1267
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
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1267
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1265