tencentcloud-sdk-python 3.0.1061__py2.py3-none-any.whl → 3.0.1075__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +5 -5
- tencentcloud/antiddos/v20200309/models.py +27 -1
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/batch/v20170312/models.py +3 -3
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +506 -0
- tencentcloud/car/v20220110/car_client.py +2 -2
- tencentcloud/cat/v20180409/models.py +2 -2
- tencentcloud/cbs/v20170312/models.py +4 -4
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/cdc/v20201214/cdc_client.py +2 -2
- tencentcloud/cdc/v20201214/errorcodes.py +1 -1
- tencentcloud/cdc/v20201214/models.py +134 -4
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +365 -0
- tencentcloud/cdwdoris/v20211228/models.py +5 -1
- tencentcloud/cfs/v20190719/models.py +12 -0
- tencentcloud/cfw/v20190904/cfw_client.py +0 -25
- tencentcloud/cfw/v20190904/models.py +123 -102
- tencentcloud/clb/v20180317/errorcodes.py +3 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +6 -6
- tencentcloud/cloudaudit/v20190319/errorcodes.py +6 -3
- tencentcloud/cloudaudit/v20190319/models.py +30 -2
- tencentcloud/common/credential.py +14 -4
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +6 -6
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +70 -32
- tencentcloud/cynosdb/v20190107/models.py +188 -0
- tencentcloud/dasb/v20191018/models.py +26 -0
- tencentcloud/dbbrain/v20191016/models.py +1 -1
- tencentcloud/dnspod/v20210323/dnspod_client.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +12 -0
- tencentcloud/dts/v20211206/dts_client.py +511 -0
- tencentcloud/dts/v20211206/errorcodes.py +3 -0
- tencentcloud/dts/v20211206/models.py +6919 -2997
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/ess/v20201111/ess_client.py +132 -21
- tencentcloud/ess/v20201111/models.py +495 -67
- tencentcloud/essbasic/v20210526/essbasic_client.py +126 -39
- tencentcloud/essbasic/v20210526/models.py +501 -237
- tencentcloud/facefusion/v20181201/errorcodes.py +3 -0
- tencentcloud/faceid/v20180301/errorcodes.py +1 -1
- tencentcloud/faceid/v20180301/models.py +26 -2
- tencentcloud/hai/v20230812/errorcodes.py +18 -0
- tencentcloud/hai/v20230812/models.py +81 -3
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
- tencentcloud/hunyuan/v20230901/models.py +195 -1
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +20 -8
- tencentcloud/ivld/v20210903/models.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +149 -0
- tencentcloud/monitor/v20180724/models.py +1118 -97
- tencentcloud/monitor/v20180724/monitor_client.py +118 -0
- tencentcloud/mps/v20190612/models.py +60 -1
- tencentcloud/mrs/v20200910/errorcodes.py +6 -0
- tencentcloud/mrs/v20200910/models.py +161 -1
- tencentcloud/mrs/v20200910/mrs_client.py +46 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
- tencentcloud/oceanus/v20190422/models.py +229 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +41 -1
- tencentcloud/omics/v20221128/models.py +92 -25
- tencentcloud/rum/v20210622/models.py +0 -504
- tencentcloud/rum/v20210622/rum_client.py +0 -138
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/scf/v20180416/models.py +13 -1
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +5 -5
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +6 -6
- tencentcloud/ssm/v20190923/models.py +2 -2
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcb/v20180608/models.py +12 -3
- tencentcloud/tcm/v20210413/errorcodes.py +3 -0
- tencentcloud/tcss/v20201101/models.py +1735 -2
- tencentcloud/tcss/v20201101/tcss_client.py +92 -0
- tencentcloud/tdid/v20210519/errorcodes.py +143 -2
- tencentcloud/tdid/v20210519/models.py +1424 -788
- tencentcloud/tdid/v20210519/tdid_client.py +201 -112
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +261 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/teo/v20220901/errorcodes.py +13 -1
- tencentcloud/teo/v20220901/models.py +24 -22
- tencentcloud/tione/v20211111/errorcodes.py +12 -0
- tencentcloud/tione/v20211111/models.py +190 -32
- tencentcloud/tiw/v20190919/models.py +117 -10
- tencentcloud/tms/v20201229/models.py +562 -4
- tencentcloud/tms/v20201229/tms_client.py +23 -0
- tencentcloud/trp/v20210515/models.py +39 -1
- tencentcloud/trp/v20210515/trp_client.py +1 -1
- tencentcloud/trtc/v20190722/errorcodes.py +6 -0
- tencentcloud/trtc/v20190722/models.py +34 -5
- tencentcloud/trtc/v20190722/trtc_client.py +2 -0
- tencentcloud/tse/v20201207/models.py +512 -1
- tencentcloud/tse/v20201207/tse_client.py +115 -0
- tencentcloud/tsf/v20180326/models.py +216 -5
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +1018 -128
- tencentcloud/vod/v20180717/vod_client.py +165 -3
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +24 -0
- tencentcloud/wedata/v20210820/models.py +1353 -0
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/RECORD +114 -114
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/top_level.txt +0 -0
|
@@ -1125,7 +1125,7 @@ class CreateCodeBatchRequest(AbstractModel):
|
|
|
1125
1125
|
:type BatchId: str
|
|
1126
1126
|
:param _Remark: 备注
|
|
1127
1127
|
:type Remark: str
|
|
1128
|
-
:param _MpTpl:
|
|
1128
|
+
:param _MpTpl: 模板ID,或者活动ID
|
|
1129
1129
|
:type MpTpl: str
|
|
1130
1130
|
:param _CloneId: 克隆批次ID,同时会复制溯源信息
|
|
1131
1131
|
:type CloneId: str
|
|
@@ -5264,12 +5264,15 @@ class DescribeProductsRequest(AbstractModel):
|
|
|
5264
5264
|
:type MerchantId: str
|
|
5265
5265
|
:param _CorpId: 企业ID
|
|
5266
5266
|
:type CorpId: int
|
|
5267
|
+
:param _CertState: 认证状态
|
|
5268
|
+
:type CertState: int
|
|
5267
5269
|
"""
|
|
5268
5270
|
self._Name = None
|
|
5269
5271
|
self._PageSize = None
|
|
5270
5272
|
self._PageNumber = None
|
|
5271
5273
|
self._MerchantId = None
|
|
5272
5274
|
self._CorpId = None
|
|
5275
|
+
self._CertState = None
|
|
5273
5276
|
|
|
5274
5277
|
@property
|
|
5275
5278
|
def Name(self):
|
|
@@ -5311,6 +5314,14 @@ class DescribeProductsRequest(AbstractModel):
|
|
|
5311
5314
|
def CorpId(self, CorpId):
|
|
5312
5315
|
self._CorpId = CorpId
|
|
5313
5316
|
|
|
5317
|
+
@property
|
|
5318
|
+
def CertState(self):
|
|
5319
|
+
return self._CertState
|
|
5320
|
+
|
|
5321
|
+
@CertState.setter
|
|
5322
|
+
def CertState(self, CertState):
|
|
5323
|
+
self._CertState = CertState
|
|
5324
|
+
|
|
5314
5325
|
|
|
5315
5326
|
def _deserialize(self, params):
|
|
5316
5327
|
self._Name = params.get("Name")
|
|
@@ -5318,6 +5329,7 @@ class DescribeProductsRequest(AbstractModel):
|
|
|
5318
5329
|
self._PageNumber = params.get("PageNumber")
|
|
5319
5330
|
self._MerchantId = params.get("MerchantId")
|
|
5320
5331
|
self._CorpId = params.get("CorpId")
|
|
5332
|
+
self._CertState = params.get("CertState")
|
|
5321
5333
|
memeber_set = set(params.keys())
|
|
5322
5334
|
for name, value in vars(self).items():
|
|
5323
5335
|
property_name = name[1:]
|
|
@@ -8435,6 +8447,9 @@ class Product(AbstractModel):
|
|
|
8435
8447
|
:type Ext: :class:`tencentcloud.trp.v20210515.models.Ext`
|
|
8436
8448
|
:param _MerchantName: 商户名称
|
|
8437
8449
|
:type MerchantName: str
|
|
8450
|
+
:param _CertState: 认证状态
|
|
8451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8452
|
+
:type CertState: int
|
|
8438
8453
|
"""
|
|
8439
8454
|
self._MerchantId = None
|
|
8440
8455
|
self._Name = None
|
|
@@ -8448,6 +8463,7 @@ class Product(AbstractModel):
|
|
|
8448
8463
|
self._UpdateTime = None
|
|
8449
8464
|
self._Ext = None
|
|
8450
8465
|
self._MerchantName = None
|
|
8466
|
+
self._CertState = None
|
|
8451
8467
|
|
|
8452
8468
|
@property
|
|
8453
8469
|
def MerchantId(self):
|
|
@@ -8545,6 +8561,14 @@ class Product(AbstractModel):
|
|
|
8545
8561
|
def MerchantName(self, MerchantName):
|
|
8546
8562
|
self._MerchantName = MerchantName
|
|
8547
8563
|
|
|
8564
|
+
@property
|
|
8565
|
+
def CertState(self):
|
|
8566
|
+
return self._CertState
|
|
8567
|
+
|
|
8568
|
+
@CertState.setter
|
|
8569
|
+
def CertState(self, CertState):
|
|
8570
|
+
self._CertState = CertState
|
|
8571
|
+
|
|
8548
8572
|
|
|
8549
8573
|
def _deserialize(self, params):
|
|
8550
8574
|
self._MerchantId = params.get("MerchantId")
|
|
@@ -8561,6 +8585,7 @@ class Product(AbstractModel):
|
|
|
8561
8585
|
self._Ext = Ext()
|
|
8562
8586
|
self._Ext._deserialize(params.get("Ext"))
|
|
8563
8587
|
self._MerchantName = params.get("MerchantName")
|
|
8588
|
+
self._CertState = params.get("CertState")
|
|
8564
8589
|
memeber_set = set(params.keys())
|
|
8565
8590
|
for name, value in vars(self).items():
|
|
8566
8591
|
property_name = name[1:]
|
|
@@ -8617,6 +8642,9 @@ class Quota(AbstractModel):
|
|
|
8617
8642
|
:param _Version: 开通版本 lite:轻量版, basic:基础版, standard:标准版
|
|
8618
8643
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8619
8644
|
:type Version: str
|
|
8645
|
+
:param _ProductCertify: 是否开启企业认证
|
|
8646
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8647
|
+
:type ProductCertify: int
|
|
8620
8648
|
"""
|
|
8621
8649
|
self._StartTime = None
|
|
8622
8650
|
self._EndTime = None
|
|
@@ -8631,6 +8659,7 @@ class Quota(AbstractModel):
|
|
|
8631
8659
|
self._RiskQuota = None
|
|
8632
8660
|
self._TrackType = None
|
|
8633
8661
|
self._Version = None
|
|
8662
|
+
self._ProductCertify = None
|
|
8634
8663
|
|
|
8635
8664
|
@property
|
|
8636
8665
|
def StartTime(self):
|
|
@@ -8736,6 +8765,14 @@ class Quota(AbstractModel):
|
|
|
8736
8765
|
def Version(self, Version):
|
|
8737
8766
|
self._Version = Version
|
|
8738
8767
|
|
|
8768
|
+
@property
|
|
8769
|
+
def ProductCertify(self):
|
|
8770
|
+
return self._ProductCertify
|
|
8771
|
+
|
|
8772
|
+
@ProductCertify.setter
|
|
8773
|
+
def ProductCertify(self, ProductCertify):
|
|
8774
|
+
self._ProductCertify = ProductCertify
|
|
8775
|
+
|
|
8739
8776
|
|
|
8740
8777
|
def _deserialize(self, params):
|
|
8741
8778
|
self._StartTime = params.get("StartTime")
|
|
@@ -8751,6 +8788,7 @@ class Quota(AbstractModel):
|
|
|
8751
8788
|
self._RiskQuota = params.get("RiskQuota")
|
|
8752
8789
|
self._TrackType = params.get("TrackType")
|
|
8753
8790
|
self._Version = params.get("Version")
|
|
8791
|
+
self._ProductCertify = params.get("ProductCertify")
|
|
8754
8792
|
memeber_set = set(params.keys())
|
|
8755
8793
|
for name, value in vars(self).items():
|
|
8756
8794
|
property_name = name[1:]
|
|
@@ -466,7 +466,7 @@ class TrpClient(AbstractClient):
|
|
|
466
466
|
def DescribeCodeBatchs(self, request):
|
|
467
467
|
"""查询批次列表
|
|
468
468
|
|
|
469
|
-
|
|
469
|
+
旧版接口已经弃用,新业务请使用新版的接口 DescribeCodeBatches
|
|
470
470
|
|
|
471
471
|
:param request: Request instance for DescribeCodeBatchs.
|
|
472
472
|
:type request: :class:`tencentcloud.trp.v20210515.models.DescribeCodeBatchsRequest`
|
|
@@ -35,6 +35,9 @@ FAILEDOPERATION_CRUNSUPPORTMETHOD = 'FailedOperation.CRUnsupportMethod'
|
|
|
35
35
|
# 房间中没有设置混流模板。
|
|
36
36
|
FAILEDOPERATION_MIXSESSIONNOTEXIST = 'FailedOperation.MixSessionNotExist'
|
|
37
37
|
|
|
38
|
+
# 未开通RTMP
|
|
39
|
+
FAILEDOPERATION_NOTRTMPFUNCTION = 'FailedOperation.NotRtmpFunction'
|
|
40
|
+
|
|
38
41
|
# 查询任务失败
|
|
39
42
|
FAILEDOPERATION_QUERYTASKINFOFAILED = 'FailedOperation.QueryTaskInfoFailed'
|
|
40
43
|
|
|
@@ -203,6 +206,9 @@ INVALIDPARAMETER_USERIDS = 'InvalidParameter.UserIds'
|
|
|
203
206
|
# 用户数超过6个。
|
|
204
207
|
INVALIDPARAMETER_USERIDSMORETHANSIX = 'InvalidParameter.UserIdsMorethanSix'
|
|
205
208
|
|
|
209
|
+
# UserSig过期或错误。
|
|
210
|
+
INVALIDPARAMETER_USERSIG = 'InvalidParameter.UserSig'
|
|
211
|
+
|
|
206
212
|
# 视频分辨率参数错误。
|
|
207
213
|
INVALIDPARAMETER_VIDEORESOLUTION = 'InvalidParameter.VideoResolution'
|
|
208
214
|
|
|
@@ -4765,12 +4765,16 @@ class McuLayout(AbstractModel):
|
|
|
4765
4765
|
白色:0xFFFFFF。
|
|
4766
4766
|
灰色:0x999999。
|
|
4767
4767
|
:type BackGroundColor: str
|
|
4768
|
-
:param _BackgroundImageUrl: 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。
|
|
4768
|
+
:param _BackgroundImageUrl: 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
|
|
4769
|
+
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,子画面的背景图将不会生效。
|
|
4769
4770
|
:type BackgroundImageUrl: str
|
|
4770
4771
|
:param _CustomCrop: 客户自定义裁剪,针对原始输入流裁剪
|
|
4771
4772
|
:type CustomCrop: :class:`tencentcloud.trtc.v20190722.models.McuCustomCrop`
|
|
4772
4773
|
:param _BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩。不填默认为3。
|
|
4773
4774
|
:type BackgroundRenderMode: int
|
|
4775
|
+
:param _TransparentUrl: 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
|
|
4776
|
+
注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
|
|
4777
|
+
:type TransparentUrl: str
|
|
4774
4778
|
"""
|
|
4775
4779
|
self._UserMediaStream = None
|
|
4776
4780
|
self._ImageWidth = None
|
|
@@ -4783,6 +4787,7 @@ class McuLayout(AbstractModel):
|
|
|
4783
4787
|
self._BackgroundImageUrl = None
|
|
4784
4788
|
self._CustomCrop = None
|
|
4785
4789
|
self._BackgroundRenderMode = None
|
|
4790
|
+
self._TransparentUrl = None
|
|
4786
4791
|
|
|
4787
4792
|
@property
|
|
4788
4793
|
def UserMediaStream(self):
|
|
@@ -4872,6 +4877,14 @@ class McuLayout(AbstractModel):
|
|
|
4872
4877
|
def BackgroundRenderMode(self, BackgroundRenderMode):
|
|
4873
4878
|
self._BackgroundRenderMode = BackgroundRenderMode
|
|
4874
4879
|
|
|
4880
|
+
@property
|
|
4881
|
+
def TransparentUrl(self):
|
|
4882
|
+
return self._TransparentUrl
|
|
4883
|
+
|
|
4884
|
+
@TransparentUrl.setter
|
|
4885
|
+
def TransparentUrl(self, TransparentUrl):
|
|
4886
|
+
self._TransparentUrl = TransparentUrl
|
|
4887
|
+
|
|
4875
4888
|
|
|
4876
4889
|
def _deserialize(self, params):
|
|
4877
4890
|
if params.get("UserMediaStream") is not None:
|
|
@@ -4889,6 +4902,7 @@ class McuLayout(AbstractModel):
|
|
|
4889
4902
|
self._CustomCrop = McuCustomCrop()
|
|
4890
4903
|
self._CustomCrop._deserialize(params.get("CustomCrop"))
|
|
4891
4904
|
self._BackgroundRenderMode = params.get("BackgroundRenderMode")
|
|
4905
|
+
self._TransparentUrl = params.get("TransparentUrl")
|
|
4892
4906
|
memeber_set = set(params.keys())
|
|
4893
4907
|
for name, value in vars(self).items():
|
|
4894
4908
|
property_name = name[1:]
|
|
@@ -5145,7 +5159,8 @@ class McuPublishCdnParam(AbstractModel):
|
|
|
5145
5159
|
|
|
5146
5160
|
def __init__(self):
|
|
5147
5161
|
r"""
|
|
5148
|
-
:param _PublishCdnUrl: CDN转推URL
|
|
5162
|
+
:param _PublishCdnUrl: CDN转推URL,只支持rtmp链接。
|
|
5163
|
+
注:若更新转推时,URL有任何变化,都会断流重推。
|
|
5149
5164
|
:type PublishCdnUrl: str
|
|
5150
5165
|
:param _IsTencentCdn: 是否是腾讯云CDN,0为转推非腾讯云CDN,1为转推腾讯CDN,不携带该参数默认为1。注意:1,为避免误产生转推费用,该参数建议明确填写,转推非腾讯云CDN时会产生转推费用,详情参见接口文档说明;2,国内站默认只支持转推腾讯云CDN,如您有转推第三方CDN需求,请联系腾讯云技术支持。
|
|
5151
5166
|
:type IsTencentCdn: int
|
|
@@ -5287,7 +5302,8 @@ class McuVideoParams(AbstractModel):
|
|
|
5287
5302
|
白色:0xFFFFFF。
|
|
5288
5303
|
灰色:0x999999。
|
|
5289
5304
|
:type BackGroundColor: str
|
|
5290
|
-
:param _BackgroundImageUrl: 整个画布的背景图url,优先级高于BackGroundColor。
|
|
5305
|
+
:param _BackgroundImageUrl: 整个画布的背景图url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
|
|
5306
|
+
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图将不会生效。
|
|
5291
5307
|
:type BackgroundImageUrl: str
|
|
5292
5308
|
:param _WaterMarkList: 混流布局的水印参数。
|
|
5293
5309
|
:type WaterMarkList: list of McuWaterMarkParams
|
|
@@ -5384,6 +5400,7 @@ class McuWaterMarkImage(AbstractModel):
|
|
|
5384
5400
|
def __init__(self):
|
|
5385
5401
|
r"""
|
|
5386
5402
|
:param _WaterMarkUrl: 水印图片URL地址,支持png、jpg、jpeg格式。图片大小限制不超过5MB。
|
|
5403
|
+
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,水印图片将不会生效。
|
|
5387
5404
|
:type WaterMarkUrl: str
|
|
5388
5405
|
:param _WaterMarkWidth: 水印在输出时的宽。单位为像素值。
|
|
5389
5406
|
:type WaterMarkWidth: int
|
|
@@ -8241,7 +8258,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
8241
8258
|
|
|
8242
8259
|
def __init__(self):
|
|
8243
8260
|
r"""
|
|
8244
|
-
:param _SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid)
|
|
8261
|
+
:param _SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和TRTC的房间所对应的SdkAppId相同。
|
|
8245
8262
|
:type SdkAppId: int
|
|
8246
8263
|
:param _RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。
|
|
8247
8264
|
:type RoomId: str
|
|
@@ -8254,7 +8271,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
8254
8271
|
:type UserId: str
|
|
8255
8272
|
:param _UserSig: 拉流转推机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
8256
8273
|
:type UserSig: str
|
|
8257
|
-
:param _SourceUrl:
|
|
8274
|
+
:param _SourceUrl: 【本字段已废弃,请使用 StreamUrl 字段】源流URL,支持一个地址。
|
|
8258
8275
|
:type SourceUrl: list of str
|
|
8259
8276
|
:param _PrivateMapKey: TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey] 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。
|
|
8260
8277
|
:type PrivateMapKey: str
|
|
@@ -8262,6 +8279,8 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
8262
8279
|
:type VideoEncodeParams: :class:`tencentcloud.trtc.v20190722.models.VideoEncodeParams`
|
|
8263
8280
|
:param _AudioEncodeParams: 音频编码参数。可选,如果不填,保持原始流的参数。
|
|
8264
8281
|
:type AudioEncodeParams: :class:`tencentcloud.trtc.v20190722.models.AudioEncodeParams`
|
|
8282
|
+
:param _StreamUrl: 源流URL。历史原因本字段【必填】。
|
|
8283
|
+
:type StreamUrl: str
|
|
8265
8284
|
"""
|
|
8266
8285
|
self._SdkAppId = None
|
|
8267
8286
|
self._RoomId = None
|
|
@@ -8272,6 +8291,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
8272
8291
|
self._PrivateMapKey = None
|
|
8273
8292
|
self._VideoEncodeParams = None
|
|
8274
8293
|
self._AudioEncodeParams = None
|
|
8294
|
+
self._StreamUrl = None
|
|
8275
8295
|
|
|
8276
8296
|
@property
|
|
8277
8297
|
def SdkAppId(self):
|
|
@@ -8345,6 +8365,14 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
8345
8365
|
def AudioEncodeParams(self, AudioEncodeParams):
|
|
8346
8366
|
self._AudioEncodeParams = AudioEncodeParams
|
|
8347
8367
|
|
|
8368
|
+
@property
|
|
8369
|
+
def StreamUrl(self):
|
|
8370
|
+
return self._StreamUrl
|
|
8371
|
+
|
|
8372
|
+
@StreamUrl.setter
|
|
8373
|
+
def StreamUrl(self, StreamUrl):
|
|
8374
|
+
self._StreamUrl = StreamUrl
|
|
8375
|
+
|
|
8348
8376
|
|
|
8349
8377
|
def _deserialize(self, params):
|
|
8350
8378
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -8360,6 +8388,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
8360
8388
|
if params.get("AudioEncodeParams") is not None:
|
|
8361
8389
|
self._AudioEncodeParams = AudioEncodeParams()
|
|
8362
8390
|
self._AudioEncodeParams._deserialize(params.get("AudioEncodeParams"))
|
|
8391
|
+
self._StreamUrl = params.get("StreamUrl")
|
|
8363
8392
|
memeber_set = set(params.keys())
|
|
8364
8393
|
for name, value in vars(self).items():
|
|
8365
8394
|
property_name = name[1:]
|
|
@@ -1123,6 +1123,8 @@ class TrtcClient(AbstractClient):
|
|
|
1123
1123
|
|
|
1124
1124
|
def StartStreamIngest(self, request):
|
|
1125
1125
|
"""将一个在线媒体流推到TRTC房间。
|
|
1126
|
+
使用此接口的前提条件:需要购买 [尊享版或旗舰版套餐包](https://cloud.tencent.com/document/product/647/85386
|
|
1127
|
+
)
|
|
1126
1128
|
|
|
1127
1129
|
:param request: Request instance for StartStreamIngest.
|
|
1128
1130
|
:type request: :class:`tencentcloud.trtc.v20190722.models.StartStreamIngestRequest`
|