tencentcloud-sdk-python-live 3.0.897__tar.gz → 3.0.906__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-live might be problematic. Click here for more details.

Files changed (14) hide show
  1. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud/__init__.py +1 -1
  3. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud/live/v20180801/live_client.py +1 -2
  4. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud/live/v20180801/models.py +36 -6
  5. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +1 -1
  6. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/README.rst +0 -0
  7. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/setup.cfg +0 -0
  8. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/setup.py +0 -0
  9. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud/live/__init__.py +0 -0
  10. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud/live/v20180801/__init__.py +0 -0
  11. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud/live/v20180801/errorcodes.py +0 -0
  12. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
  13. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
  14. {tencentcloud-sdk-python-live-3.0.897 → tencentcloud-sdk-python-live-3.0.906}/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.897
3
+ Version: 3.0.906
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.897'
17
+ __version__ = '3.0.906'
@@ -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
@@ -3706,9 +3714,15 @@ class DescribeCallbackRecordsListRequest(AbstractModel):
3706
3714
 
3707
3715
  def __init__(self):
3708
3716
  r"""
3709
- :param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
3717
+ :param StartTime: 起始时间点,接口查询支持两种时间格式:
3718
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3719
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3710
3720
  :type StartTime: str
3711
- :param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过1天。
3721
+ :param EndTime: 结束时间点,接口查询支持两种时间格式:
3722
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3723
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3724
+
3725
+ 查询的起始和结束时间跨度不支持超过1天。仅支持查询最近14天的数据。
3712
3726
  :type EndTime: str
3713
3727
  :param StreamName: 流名称,精确匹配。
3714
3728
  :type StreamName: str
@@ -9681,10 +9695,10 @@ baseline/main/high。
9681
9695
  :param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
9682
9696
  :type ShortEdgeAsHeight: int
9683
9697
  :param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
9684
- 不传递或着为空字符串,清空之前的DRM配置。
9698
+ 不传递或者为空字符串,清空之前的DRM配置。
9685
9699
  :type DRMType: str
9686
9700
  :param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
9687
- 不传递或着为空字符串,清空之前的DRM配置。
9701
+ 不传递或者为空字符串,清空之前的DRM配置。
9688
9702
  :type DRMTracks: str
9689
9703
  """
9690
9704
  self.TemplateId = None
@@ -12201,6 +12215,10 @@ URL中禁止包含的字符:
12201
12215
  :type Width: int
12202
12216
  :param Height: 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
12203
12217
  :type Height: int
12218
+ :param BackgroundWidth: 背景水印宽度。默认宽度1920。
12219
+ :type BackgroundWidth: int
12220
+ :param BackgroundHeight: 背景水印高度。默认高度1080。
12221
+ :type BackgroundHeight: int
12204
12222
  """
12205
12223
  self.WatermarkId = None
12206
12224
  self.PictureUrl = None
@@ -12209,6 +12227,8 @@ URL中禁止包含的字符:
12209
12227
  self.WatermarkName = None
12210
12228
  self.Width = None
12211
12229
  self.Height = None
12230
+ self.BackgroundWidth = None
12231
+ self.BackgroundHeight = None
12212
12232
 
12213
12233
 
12214
12234
  def _deserialize(self, params):
@@ -12219,6 +12239,8 @@ URL中禁止包含的字符:
12219
12239
  self.WatermarkName = params.get("WatermarkName")
12220
12240
  self.Width = params.get("Width")
12221
12241
  self.Height = params.get("Height")
12242
+ self.BackgroundWidth = params.get("BackgroundWidth")
12243
+ self.BackgroundHeight = params.get("BackgroundHeight")
12222
12244
  memeber_set = set(params.keys())
12223
12245
  for name, value in vars(self).items():
12224
12246
  if name in memeber_set:
@@ -12271,6 +12293,10 @@ class WatermarkInfo(AbstractModel):
12271
12293
  :type Width: int
12272
12294
  :param Height: 水印高。
12273
12295
  :type Height: int
12296
+ :param BackgroundWidth: 背景水印宽。
12297
+ :type BackgroundWidth: int
12298
+ :param BackgroundHeight: 背景水印高。
12299
+ :type BackgroundHeight: int
12274
12300
  """
12275
12301
  self.WatermarkId = None
12276
12302
  self.PictureUrl = None
@@ -12281,6 +12307,8 @@ class WatermarkInfo(AbstractModel):
12281
12307
  self.CreateTime = None
12282
12308
  self.Width = None
12283
12309
  self.Height = None
12310
+ self.BackgroundWidth = None
12311
+ self.BackgroundHeight = None
12284
12312
 
12285
12313
 
12286
12314
  def _deserialize(self, params):
@@ -12293,6 +12321,8 @@ class WatermarkInfo(AbstractModel):
12293
12321
  self.CreateTime = params.get("CreateTime")
12294
12322
  self.Width = params.get("Width")
12295
12323
  self.Height = params.get("Height")
12324
+ self.BackgroundWidth = params.get("BackgroundWidth")
12325
+ self.BackgroundHeight = params.get("BackgroundHeight")
12296
12326
  memeber_set = set(params.keys())
12297
12327
  for name, value in vars(self).items():
12298
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.897
3
+ Version: 3.0.906
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