tencentcloud-sdk-python-trtc 3.0.1425__py2.py3-none-any.whl → 3.0.1430__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.1425'
17
+ __version__ = '3.0.1430'
@@ -213,6 +213,10 @@ class AgentConfig(AbstractModel):
213
213
  :type VoicePrint: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
214
214
  :param _TurnDetection: 语义断句检测
215
215
  :type TurnDetection: :class:`tencentcloud.trtc.v20190722.models.TurnDetection`
216
+ :param _SubtitleMode: 机器人字幕显示模式。
217
+ - 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。
218
+ - 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。
219
+ :type SubtitleMode: int
216
220
  """
217
221
  self._UserId = None
218
222
  self._UserSig = None
@@ -228,6 +232,7 @@ class AgentConfig(AbstractModel):
228
232
  self._AmbientSound = None
229
233
  self._VoicePrint = None
230
234
  self._TurnDetection = None
235
+ self._SubtitleMode = None
231
236
 
232
237
  @property
233
238
  def UserId(self):
@@ -391,6 +396,19 @@ class AgentConfig(AbstractModel):
391
396
  def TurnDetection(self, TurnDetection):
392
397
  self._TurnDetection = TurnDetection
393
398
 
399
+ @property
400
+ def SubtitleMode(self):
401
+ """机器人字幕显示模式。
402
+ - 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。
403
+ - 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。
404
+ :rtype: int
405
+ """
406
+ return self._SubtitleMode
407
+
408
+ @SubtitleMode.setter
409
+ def SubtitleMode(self, SubtitleMode):
410
+ self._SubtitleMode = SubtitleMode
411
+
394
412
 
395
413
  def _deserialize(self, params):
396
414
  self._UserId = params.get("UserId")
@@ -413,6 +431,7 @@ class AgentConfig(AbstractModel):
413
431
  if params.get("TurnDetection") is not None:
414
432
  self._TurnDetection = TurnDetection()
415
433
  self._TurnDetection._deserialize(params.get("TurnDetection"))
434
+ self._SubtitleMode = params.get("SubtitleMode")
416
435
  memeber_set = set(params.keys())
417
436
  for name, value in vars(self).items():
418
437
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1425
3
+ Version: 3.0.1430
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.1425)
18
+ Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1430)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=THtEC9RVjjpuxEAztaLa_v8rp_IiC7HNUqE3juB28bE,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=R03U5XVCYYCIKZb4OgXMhuu9TwegXmM_XbXscYI0LnY,12702
5
+ tencentcloud/trtc/v20190722/models.py,sha256=5GyrOZT90z5Nxel_sNhHFf9iVq-cDKMTfOVRLMnqEK0,674135
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=O-f1BLSvzAPnFZSiyCsu3ia7ZmAqd1W3HPFiJ0atDWY,91503
7
+ tencentcloud_sdk_python_trtc-3.0.1430.dist-info/METADATA,sha256=Wbo2TR5sk-Oi4iqbLzphE2K1WZR04n2eYZvA5m8nP0E,1508
8
+ tencentcloud_sdk_python_trtc-3.0.1430.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1430.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1430.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=P-yWjZUVYjJ2OzOXka6_js8vKz6taTctRl6AFDhVcRc,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=R03U5XVCYYCIKZb4OgXMhuu9TwegXmM_XbXscYI0LnY,12702
5
- tencentcloud/trtc/v20190722/models.py,sha256=teoQSoteWBpBIN8YJxrbjZ1T9TgslkG58mVpo7SWooI,672949
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=O-f1BLSvzAPnFZSiyCsu3ia7ZmAqd1W3HPFiJ0atDWY,91503
7
- tencentcloud_sdk_python_trtc-3.0.1425.dist-info/METADATA,sha256=6BBNulKjuFK6eouzfkLnvTAoqV4nzIJKFavb9ZGjM1Y,1508
8
- tencentcloud_sdk_python_trtc-3.0.1425.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1425.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1425.dist-info/RECORD,,