tencentcloud-sdk-python-live 3.0.900__tar.gz → 3.0.907__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.
Files changed (14) hide show
  1. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud/__init__.py +1 -1
  3. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud/live/v20180801/errorcodes.py +12 -0
  4. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud/live/v20180801/live_client.py +1 -2
  5. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud/live/v20180801/models.py +28 -4
  6. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +1 -1
  7. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/README.rst +0 -0
  8. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/setup.cfg +0 -0
  9. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/setup.py +0 -0
  10. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud/live/__init__.py +0 -0
  11. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud/live/v20180801/__init__.py +0 -0
  12. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
  13. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
  14. {tencentcloud-sdk-python-live-3.0.900 → tencentcloud-sdk-python-live-3.0.907}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.0.900
3
+ Version: 3.0.907
4
4
  Summary: Tencent Cloud Live SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.900'
17
+ __version__ = '3.0.907'
@@ -326,6 +326,12 @@ INVALIDPARAMETER_CLOUDCRTIDERROR = 'InvalidParameter.CloudCrtIdError'
326
326
  # 赠送的腾讯云域名已过期。
327
327
  INVALIDPARAMETER_CLOUDDOMAINISSTOP = 'InvalidParameter.CloudDomainIsStop'
328
328
 
329
+ # 模版使用中。
330
+ INVALIDPARAMETER_CONFINUSED = 'InvalidParameter.ConfInUsed'
331
+
332
+ # 配置没有找到。
333
+ INVALIDPARAMETER_CONFNOTFOUND = 'InvalidParameter.ConfNotFound'
334
+
329
335
  # 证书使用中。
330
336
  INVALIDPARAMETER_CRTDATEINUSING = 'InvalidParameter.CrtDateInUsing'
331
337
 
@@ -422,6 +428,12 @@ INVALIDPARAMETER_MPPLUGINNOUSE = 'InvalidParameter.MpPluginNoUse'
422
428
  # 其他错误。
423
429
  INVALIDPARAMETER_OTHERERROR = 'InvalidParameter.OtherError'
424
430
 
431
+ # 转码模板已存在。
432
+ INVALIDPARAMETER_PROCESSORALREADYEXIST = 'InvalidParameter.ProcessorAlreadyExist'
433
+
434
+ # 规则没有找到。
435
+ INVALIDPARAMETER_RULENOTFOUND = 'InvalidParameter.RuleNotFound'
436
+
425
437
  # 同一会话输出流发生变化。
426
438
  INVALIDPARAMETER_SESSIONOUTPUTSTREAMCHANGED = 'InvalidParameter.SessionOutputStreamChanged'
427
439
 
@@ -75,8 +75,7 @@ class LiveClient(AbstractClient):
75
75
 
76
76
 
77
77
  def AddLiveWatermark(self, request):
78
- """添加水印,成功返回水印 ID 后,需要调用[CreateLiveWatermarkRule](/document/product/267/32629)接口将水印 ID 绑定到流使用。
79
- 水印数量上限 100,超过后需要先删除,再添加。
78
+ """添加水印,成功返回水印 ID 后,需要调用[CreateLiveWatermarkRule](/document/product/267/32629)接口将水印 ID 绑定到流使用。 水印数量上限 100,超过后需要先删除,再添加。
80
79
 
81
80
  :param request: Request instance for AddLiveWatermark.
82
81
  :type request: :class:`tencentcloud.live.v20180801.models.AddLiveWatermarkRequest`
@@ -178,6 +178,10 @@ URL中禁止包含的字符:
178
178
  :type Width: int
179
179
  :param Height: 水印高度,占直播原始画面高度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
180
180
  :type Height: int
181
+ :param BackgroundWidth: 背景水印宽度。默认宽度1920。
182
+ :type BackgroundWidth: int
183
+ :param BackgroundHeight: 背景水印高度。默认高度1080。
184
+ :type BackgroundHeight: int
181
185
  """
182
186
  self.PictureUrl = None
183
187
  self.WatermarkName = None
@@ -185,6 +189,8 @@ URL中禁止包含的字符:
185
189
  self.YPosition = None
186
190
  self.Width = None
187
191
  self.Height = None
192
+ self.BackgroundWidth = None
193
+ self.BackgroundHeight = None
188
194
 
189
195
 
190
196
  def _deserialize(self, params):
@@ -194,6 +200,8 @@ URL中禁止包含的字符:
194
200
  self.YPosition = params.get("YPosition")
195
201
  self.Width = params.get("Width")
196
202
  self.Height = params.get("Height")
203
+ self.BackgroundWidth = params.get("BackgroundWidth")
204
+ self.BackgroundHeight = params.get("BackgroundHeight")
197
205
  memeber_set = set(params.keys())
198
206
  for name, value in vars(self).items():
199
207
  if name in memeber_set:
@@ -2179,10 +2187,10 @@ baseline/main/high。默认baseline
2179
2187
  :param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
2180
2188
  :type ShortEdgeAsHeight: int
2181
2189
  :param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
2182
- 不传递或着为空字符串,清空之前的DRM配置。
2190
+ 不传递或者为空字符串,清空之前的DRM配置。
2183
2191
  :type DRMType: str
2184
2192
  :param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
2185
- 不传递或着为空字符串,清空之前的DRM配置。
2193
+ 不传递或者为空字符串,清空之前的DRM配置。
2186
2194
  :type DRMTracks: str
2187
2195
  """
2188
2196
  self.TemplateName = None
@@ -9687,10 +9695,10 @@ baseline/main/high。
9687
9695
  :param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
9688
9696
  :type ShortEdgeAsHeight: int
9689
9697
  :param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
9690
- 不传递或着为空字符串,清空之前的DRM配置。
9698
+ 不传递或者为空字符串,清空之前的DRM配置。
9691
9699
  :type DRMType: str
9692
9700
  :param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
9693
- 不传递或着为空字符串,清空之前的DRM配置。
9701
+ 不传递或者为空字符串,清空之前的DRM配置。
9694
9702
  :type DRMTracks: str
9695
9703
  """
9696
9704
  self.TemplateId = None
@@ -12207,6 +12215,10 @@ URL中禁止包含的字符:
12207
12215
  :type Width: int
12208
12216
  :param Height: 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
12209
12217
  :type Height: int
12218
+ :param BackgroundWidth: 背景水印宽度。默认宽度1920。
12219
+ :type BackgroundWidth: int
12220
+ :param BackgroundHeight: 背景水印高度。默认高度1080。
12221
+ :type BackgroundHeight: int
12210
12222
  """
12211
12223
  self.WatermarkId = None
12212
12224
  self.PictureUrl = None
@@ -12215,6 +12227,8 @@ URL中禁止包含的字符:
12215
12227
  self.WatermarkName = None
12216
12228
  self.Width = None
12217
12229
  self.Height = None
12230
+ self.BackgroundWidth = None
12231
+ self.BackgroundHeight = None
12218
12232
 
12219
12233
 
12220
12234
  def _deserialize(self, params):
@@ -12225,6 +12239,8 @@ URL中禁止包含的字符:
12225
12239
  self.WatermarkName = params.get("WatermarkName")
12226
12240
  self.Width = params.get("Width")
12227
12241
  self.Height = params.get("Height")
12242
+ self.BackgroundWidth = params.get("BackgroundWidth")
12243
+ self.BackgroundHeight = params.get("BackgroundHeight")
12228
12244
  memeber_set = set(params.keys())
12229
12245
  for name, value in vars(self).items():
12230
12246
  if name in memeber_set:
@@ -12277,6 +12293,10 @@ class WatermarkInfo(AbstractModel):
12277
12293
  :type Width: int
12278
12294
  :param Height: 水印高。
12279
12295
  :type Height: int
12296
+ :param BackgroundWidth: 背景水印宽。
12297
+ :type BackgroundWidth: int
12298
+ :param BackgroundHeight: 背景水印高。
12299
+ :type BackgroundHeight: int
12280
12300
  """
12281
12301
  self.WatermarkId = None
12282
12302
  self.PictureUrl = None
@@ -12287,6 +12307,8 @@ class WatermarkInfo(AbstractModel):
12287
12307
  self.CreateTime = None
12288
12308
  self.Width = None
12289
12309
  self.Height = None
12310
+ self.BackgroundWidth = None
12311
+ self.BackgroundHeight = None
12290
12312
 
12291
12313
 
12292
12314
  def _deserialize(self, params):
@@ -12299,6 +12321,8 @@ class WatermarkInfo(AbstractModel):
12299
12321
  self.CreateTime = params.get("CreateTime")
12300
12322
  self.Width = params.get("Width")
12301
12323
  self.Height = params.get("Height")
12324
+ self.BackgroundWidth = params.get("BackgroundWidth")
12325
+ self.BackgroundHeight = params.get("BackgroundHeight")
12302
12326
  memeber_set = set(params.keys())
12303
12327
  for name, value in vars(self).items():
12304
12328
  if name in memeber_set:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.0.900
3
+ Version: 3.0.907
4
4
  Summary: Tencent Cloud Live SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud