tencentcloud-sdk-python-trtc 3.0.1248__py2.py3-none-any.whl → 3.0.1254__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.1248'
17
+ __version__ = '3.0.1254'
@@ -158,25 +158,18 @@ class AgentConfig(AbstractModel):
158
158
  def __init__(self):
159
159
  r"""
160
160
  :param _UserId: 机器人的UserId,用于进房发起任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个任务时,机器人的UserId也不能相互重复,否则会中断前一个任务。需要保证机器人UserId在房间内唯一。
161
- 注意:此字段可能返回 null,表示取不到有效值。
162
161
  :type UserId: str
163
162
  :param _UserSig: 机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
164
- 注意:此字段可能返回 null,表示取不到有效值。
165
163
  :type UserSig: str
166
164
  :param _TargetUserId: 机器人拉流的UserId, 填写后,机器人会拉取该UserId的流进行实时处理
167
- 注意:此字段可能返回 null,表示取不到有效值。
168
165
  :type TargetUserId: str
169
166
  :param _MaxIdleTime: 房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。
170
- 注意:此字段可能返回 null,表示取不到有效值。
171
167
  :type MaxIdleTime: int
172
168
  :param _WelcomeMessage: 机器人的欢迎语
173
- 注意:此字段可能返回 null,表示取不到有效值。
174
169
  :type WelcomeMessage: str
175
170
  :param _InterruptMode: 智能打断模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断
176
- 注意:此字段可能返回 null,表示取不到有效值。
177
171
  :type InterruptMode: int
178
172
  :param _InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
179
- 注意:此字段可能返回 null,表示取不到有效值。
180
173
  :type InterruptSpeechDuration: int
181
174
  """
182
175
  self._UserId = None
@@ -530,26 +523,21 @@ class CloudStorage(AbstractModel):
530
523
  0:腾讯云对象存储 COS
531
524
  1:AWS
532
525
  【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
533
- 示例值:0
534
526
  :type Vendor: int
535
527
  :param _Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
536
528
  示例值:cn-shanghai-1
537
529
 
538
530
  AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
539
- 示例值:ap-southeast-3
540
531
  :type Region: str
541
532
  :param _Bucket: 云存储桶名称。
542
533
  :type Bucket: str
543
534
  :param _AccessKey: 云存储的access_key账号信息。
544
535
  若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
545
- 示例值:test-accesskey
546
536
  :type AccessKey: str
547
537
  :param _SecretKey: 云存储的secret_key账号信息。
548
538
  若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
549
- 示例值:test-secretkey
550
539
  :type SecretKey: str
551
540
  :param _FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
552
- 示例值:["prefix1", "prefix2"]
553
541
  :type FileNamePrefix: list of str
554
542
  """
555
543
  self._Vendor = None
@@ -8232,18 +8220,18 @@ class STTConfig(AbstractModel):
8232
8220
  18. German = "de" # 德语
8233
8221
  19. Italian = "it" # 意大利语
8234
8222
  20. Russian = "ru" # 俄语
8223
+ 21. Swedish = "sv" # 瑞典语
8224
+ 22. Danish = "da" # 丹麦语
8225
+ 23. Norwegian = "no" # 挪威语
8235
8226
 
8236
8227
  注意:
8237
8228
  如果缺少满足您需求的语言,请联系我们技术人员。
8238
- 注意:此字段可能返回 null,表示取不到有效值。
8239
8229
  :type Language: str
8240
8230
  :param _AlternativeLanguage: 发起模糊识别额外可能替代语言类型,最多填写3种语言类型,
8241
8231
  注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
8242
8232
 
8243
- 注意:此字段可能返回 null,表示取不到有效值。
8244
8233
  :type AlternativeLanguage: list of str
8245
8234
  :param _VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
8246
- 注意:此字段可能返回 null,表示取不到有效值。
8247
8235
  :type VadSilenceTime: int
8248
8236
  """
8249
8237
  self._Language = None
@@ -9823,6 +9811,8 @@ class StartWebRecordRequest(AbstractModel):
9823
9811
  :type RecordId: str
9824
9812
  :param _PublishCdnParams: 若您想要推流到CDN,可以使用PublishCdnParams.N参数设置,支持最多同时推流到10个CDN地址。若转推地址是腾讯云CDN时,请将IsTencentCdn明确设置为1
9825
9813
  :type PublishCdnParams: list of McuPublishCdnParam
9814
+ :param _ReadyTimeout: 录制页面资源加载的超时时间,单位:秒。默认值为 0 秒,该值需大于等于 0秒,且小于等于 60秒。录制页面未启用页面加载超时检测时,请勿设置此参数。
9815
+ :type ReadyTimeout: int
9826
9816
  """
9827
9817
  self._RecordUrl = None
9828
9818
  self._MaxDurationLimit = None
@@ -9831,6 +9821,7 @@ class StartWebRecordRequest(AbstractModel):
9831
9821
  self._SdkAppId = None
9832
9822
  self._RecordId = None
9833
9823
  self._PublishCdnParams = None
9824
+ self._ReadyTimeout = None
9834
9825
 
9835
9826
  @property
9836
9827
  def RecordUrl(self):
@@ -9888,6 +9879,14 @@ class StartWebRecordRequest(AbstractModel):
9888
9879
  def PublishCdnParams(self, PublishCdnParams):
9889
9880
  self._PublishCdnParams = PublishCdnParams
9890
9881
 
9882
+ @property
9883
+ def ReadyTimeout(self):
9884
+ return self._ReadyTimeout
9885
+
9886
+ @ReadyTimeout.setter
9887
+ def ReadyTimeout(self, ReadyTimeout):
9888
+ self._ReadyTimeout = ReadyTimeout
9889
+
9891
9890
 
9892
9891
  def _deserialize(self, params):
9893
9892
  self._RecordUrl = params.get("RecordUrl")
@@ -9906,6 +9905,7 @@ class StartWebRecordRequest(AbstractModel):
9906
9905
  obj = McuPublishCdnParam()
9907
9906
  obj._deserialize(item)
9908
9907
  self._PublishCdnParams.append(obj)
9908
+ self._ReadyTimeout = params.get("ReadyTimeout")
9909
9909
  memeber_set = set(params.keys())
9910
9910
  for name, value in vars(self).items():
9911
9911
  property_name = name[1:]
@@ -10970,6 +10970,8 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
10970
10970
  :type TranscriptionMode: int
10971
10971
  :param _TargetUserId: TranscriptionMode为1时必填,机器人只会拉该userid的流,忽略房间里其他用户。
10972
10972
  :type TargetUserId: str
10973
+ :param _TargetUserIdList: 机器人订阅的用户列表
10974
+ :type TargetUserIdList: list of str
10973
10975
  """
10974
10976
  self._UserId = None
10975
10977
  self._UserSig = None
@@ -10978,6 +10980,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
10978
10980
  self._MaxIdleTime = None
10979
10981
  self._TranscriptionMode = None
10980
10982
  self._TargetUserId = None
10983
+ self._TargetUserIdList = None
10981
10984
 
10982
10985
  @property
10983
10986
  def UserId(self):
@@ -11043,6 +11046,14 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
11043
11046
  def TargetUserId(self, TargetUserId):
11044
11047
  self._TargetUserId = TargetUserId
11045
11048
 
11049
+ @property
11050
+ def TargetUserIdList(self):
11051
+ return self._TargetUserIdList
11052
+
11053
+ @TargetUserIdList.setter
11054
+ def TargetUserIdList(self, TargetUserIdList):
11055
+ self._TargetUserIdList = TargetUserIdList
11056
+
11046
11057
 
11047
11058
  def _deserialize(self, params):
11048
11059
  self._UserId = params.get("UserId")
@@ -11052,6 +11063,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
11052
11063
  self._MaxIdleTime = params.get("MaxIdleTime")
11053
11064
  self._TranscriptionMode = params.get("TranscriptionMode")
11054
11065
  self._TargetUserId = params.get("TargetUserId")
11066
+ self._TargetUserIdList = params.get("TargetUserIdList")
11055
11067
  memeber_set = set(params.keys())
11056
11068
  for name, value in vars(self).items():
11057
11069
  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.1248
3
+ Version: 3.0.1254
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.1248)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1254)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=QJ1PuxKsl7QJYXPA2FbFA0G3DXfPkcIWnVTvn1TVm6A,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=WNu9Hx8kn4lpbc342xXM1lw4uTQIx2JCvZchRlUXBL8,10987
5
+ tencentcloud/trtc/v20190722/models.py,sha256=rc-sGw0nRGKqAN8n4IQe1t0H7XTl7IDRcKr0z3YevwI,400611
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=sTzamtT7sp-ul08Ekv4xEa9sWm03AEDqQMcioZX4LtE,78132
7
+ tencentcloud_sdk_python_trtc-3.0.1254.dist-info/METADATA,sha256=wfWb4hw2_VcgV_4-pxD8Mc5GeD4xJqY95cW9gQ0FfBI,1497
8
+ tencentcloud_sdk_python_trtc-3.0.1254.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1254.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1254.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=vGY1hvPJSvgdWfgkXLXymn7h9TMuTrELcNca4lWtX1Q,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=WNu9Hx8kn4lpbc342xXM1lw4uTQIx2JCvZchRlUXBL8,10987
5
- tencentcloud/trtc/v20190722/models.py,sha256=izGCPCS09gxLizUTIEXXgtUOU32fFtwXVRLU3zqwoa8,400324
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=sTzamtT7sp-ul08Ekv4xEa9sWm03AEDqQMcioZX4LtE,78132
7
- tencentcloud_sdk_python_trtc-3.0.1248.dist-info/METADATA,sha256=rEq84ORnO_D42nZfx73pPs4mrMRZDvWL73aTnNzluN0,1497
8
- tencentcloud_sdk_python_trtc-3.0.1248.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1248.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1248.dist-info/RECORD,,