tencentcloud-sdk-python-live 3.0.1111__py2.py3-none-any.whl → 3.0.1127__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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1111'
17
+ __version__ = '3.0.1127'
@@ -3649,6 +3649,8 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
3649
3649
  :type HlsSpecialParam: :class:`tencentcloud.live.v20180801.models.HlsSpecialParam`
3650
3650
  :param _Mp3Param: Mp3录制参数,开启Mp3录制时设置。
3651
3651
  :type Mp3Param: :class:`tencentcloud.live.v20180801.models.RecordParam`
3652
+ :param _CosStore: 是否存储至 cos,值为 1 时表示存储至 cos。
3653
+ :type CosStore: int
3652
3654
  :param _RemoveWatermark: 是否去除水印,类型为慢直播时此参数无效。
3653
3655
  如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3654
3656
  :type RemoveWatermark: bool
@@ -3664,6 +3666,7 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
3664
3666
  self._IsDelayLive = None
3665
3667
  self._HlsSpecialParam = None
3666
3668
  self._Mp3Param = None
3669
+ self._CosStore = None
3667
3670
  self._RemoveWatermark = None
3668
3671
  self._FlvSpecialParam = None
3669
3672
 
@@ -3739,6 +3742,14 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
3739
3742
  def Mp3Param(self, Mp3Param):
3740
3743
  self._Mp3Param = Mp3Param
3741
3744
 
3745
+ @property
3746
+ def CosStore(self):
3747
+ return self._CosStore
3748
+
3749
+ @CosStore.setter
3750
+ def CosStore(self, CosStore):
3751
+ self._CosStore = CosStore
3752
+
3742
3753
  @property
3743
3754
  def RemoveWatermark(self):
3744
3755
  return self._RemoveWatermark
@@ -3778,6 +3789,7 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
3778
3789
  if params.get("Mp3Param") is not None:
3779
3790
  self._Mp3Param = RecordParam()
3780
3791
  self._Mp3Param._deserialize(params.get("Mp3Param"))
3792
+ self._CosStore = params.get("CosStore")
3781
3793
  self._RemoveWatermark = params.get("RemoveWatermark")
3782
3794
  if params.get("FlvSpecialParam") is not None:
3783
3795
  self._FlvSpecialParam = FlvSpecialParam()
@@ -12734,6 +12746,57 @@ class DescribeLiveWatermarksRequest(AbstractModel):
12734
12746
 
12735
12747
  """
12736
12748
 
12749
+ def __init__(self):
12750
+ r"""
12751
+ :param _Name: 水印名称
12752
+ :type Name: str
12753
+ :param _PageNo: 分页的索引参数,从1开始
12754
+ :type PageNo: int
12755
+ :param _PageSize: 分页的大小参数,默认值500
12756
+ :type PageSize: int
12757
+ """
12758
+ self._Name = None
12759
+ self._PageNo = None
12760
+ self._PageSize = None
12761
+
12762
+ @property
12763
+ def Name(self):
12764
+ return self._Name
12765
+
12766
+ @Name.setter
12767
+ def Name(self, Name):
12768
+ self._Name = Name
12769
+
12770
+ @property
12771
+ def PageNo(self):
12772
+ return self._PageNo
12773
+
12774
+ @PageNo.setter
12775
+ def PageNo(self, PageNo):
12776
+ self._PageNo = PageNo
12777
+
12778
+ @property
12779
+ def PageSize(self):
12780
+ return self._PageSize
12781
+
12782
+ @PageSize.setter
12783
+ def PageSize(self, PageSize):
12784
+ self._PageSize = PageSize
12785
+
12786
+
12787
+ def _deserialize(self, params):
12788
+ self._Name = params.get("Name")
12789
+ self._PageNo = params.get("PageNo")
12790
+ self._PageSize = params.get("PageSize")
12791
+ memeber_set = set(params.keys())
12792
+ for name, value in vars(self).items():
12793
+ property_name = name[1:]
12794
+ if property_name in memeber_set:
12795
+ memeber_set.remove(property_name)
12796
+ if len(memeber_set) > 0:
12797
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12798
+
12799
+
12737
12800
 
12738
12801
  class DescribeLiveWatermarksResponse(AbstractModel):
12739
12802
  """DescribeLiveWatermarks返回参数结构体
@@ -23392,6 +23455,15 @@ cold:低频存储。
23392
23455
  :param _ClassId: 点播应用分类
23393
23456
  注意:此字段可能返回 null,表示取不到有效值。
23394
23457
  :type ClassId: int
23458
+ :param _CosBucketName: 存储至 cos 的 bucket 桶名称。
23459
+ 注意:此字段可能返回 null,表示取不到有效值。
23460
+ :type CosBucketName: str
23461
+ :param _CosBucketRegion: 存储至 cos 的 bucket 区域。
23462
+ 注意:此字段可能返回 null,表示取不到有效值。
23463
+ :type CosBucketRegion: str
23464
+ :param _CosBucketPath: 存储至 cos 的 bucket 路径。
23465
+ 注意:此字段可能返回 null,表示取不到有效值。
23466
+ :type CosBucketPath: str
23395
23467
  """
23396
23468
  self._RecordInterval = None
23397
23469
  self._StorageTime = None
@@ -23401,6 +23473,9 @@ cold:低频存储。
23401
23473
  self._Procedure = None
23402
23474
  self._StorageMode = None
23403
23475
  self._ClassId = None
23476
+ self._CosBucketName = None
23477
+ self._CosBucketRegion = None
23478
+ self._CosBucketPath = None
23404
23479
 
23405
23480
  @property
23406
23481
  def RecordInterval(self):
@@ -23466,6 +23541,30 @@ cold:低频存储。
23466
23541
  def ClassId(self, ClassId):
23467
23542
  self._ClassId = ClassId
23468
23543
 
23544
+ @property
23545
+ def CosBucketName(self):
23546
+ return self._CosBucketName
23547
+
23548
+ @CosBucketName.setter
23549
+ def CosBucketName(self, CosBucketName):
23550
+ self._CosBucketName = CosBucketName
23551
+
23552
+ @property
23553
+ def CosBucketRegion(self):
23554
+ return self._CosBucketRegion
23555
+
23556
+ @CosBucketRegion.setter
23557
+ def CosBucketRegion(self, CosBucketRegion):
23558
+ self._CosBucketRegion = CosBucketRegion
23559
+
23560
+ @property
23561
+ def CosBucketPath(self):
23562
+ return self._CosBucketPath
23563
+
23564
+ @CosBucketPath.setter
23565
+ def CosBucketPath(self, CosBucketPath):
23566
+ self._CosBucketPath = CosBucketPath
23567
+
23469
23568
 
23470
23569
  def _deserialize(self, params):
23471
23570
  self._RecordInterval = params.get("RecordInterval")
@@ -23476,6 +23575,9 @@ cold:低频存储。
23476
23575
  self._Procedure = params.get("Procedure")
23477
23576
  self._StorageMode = params.get("StorageMode")
23478
23577
  self._ClassId = params.get("ClassId")
23578
+ self._CosBucketName = params.get("CosBucketName")
23579
+ self._CosBucketRegion = params.get("CosBucketRegion")
23580
+ self._CosBucketPath = params.get("CosBucketPath")
23479
23581
  memeber_set = set(params.keys())
23480
23582
  for name, value in vars(self).items():
23481
23583
  property_name = name[1:]
@@ -23634,6 +23736,9 @@ class RecordTemplateInfo(AbstractModel):
23634
23736
  :param _RemoveWatermark: 是否去除水印。
23635
23737
  注意:此字段可能返回 null,表示取不到有效值。
23636
23738
  :type RemoveWatermark: bool
23739
+ :param _CosStore: 是否存储至cos
23740
+ 注意:此字段可能返回 null,表示取不到有效值。
23741
+ :type CosStore: int
23637
23742
  :param _FlvSpecialParam: FLV 录制定制参数。
23638
23743
  注意:此字段可能返回 null,表示取不到有效值。
23639
23744
  :type FlvSpecialParam: :class:`tencentcloud.live.v20180801.models.FlvSpecialParam`
@@ -23649,6 +23754,7 @@ class RecordTemplateInfo(AbstractModel):
23649
23754
  self._HlsSpecialParam = None
23650
23755
  self._Mp3Param = None
23651
23756
  self._RemoveWatermark = None
23757
+ self._CosStore = None
23652
23758
  self._FlvSpecialParam = None
23653
23759
 
23654
23760
  @property
@@ -23739,6 +23845,14 @@ class RecordTemplateInfo(AbstractModel):
23739
23845
  def RemoveWatermark(self, RemoveWatermark):
23740
23846
  self._RemoveWatermark = RemoveWatermark
23741
23847
 
23848
+ @property
23849
+ def CosStore(self):
23850
+ return self._CosStore
23851
+
23852
+ @CosStore.setter
23853
+ def CosStore(self, CosStore):
23854
+ self._CosStore = CosStore
23855
+
23742
23856
  @property
23743
23857
  def FlvSpecialParam(self):
23744
23858
  return self._FlvSpecialParam
@@ -23772,6 +23886,7 @@ class RecordTemplateInfo(AbstractModel):
23772
23886
  self._Mp3Param = RecordParam()
23773
23887
  self._Mp3Param._deserialize(params.get("Mp3Param"))
23774
23888
  self._RemoveWatermark = params.get("RemoveWatermark")
23889
+ self._CosStore = params.get("CosStore")
23775
23890
  if params.get("FlvSpecialParam") is not None:
23776
23891
  self._FlvSpecialParam = FlvSpecialParam()
23777
23892
  self._FlvSpecialParam._deserialize(params.get("FlvSpecialParam"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.0.1111
3
+ Version: 3.0.1127
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
@@ -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.1111)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1127)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=p6K7vDkWoW4yjl3yVNeqjBmfYSlcsWm0BWSTgd3cjBI,631
2
+ tencentcloud/live/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/live/v20180801/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/live/v20180801/errorcodes.py,sha256=zUVXfM5AXka1kCY4cQTVHMa5YlWugx3l2A5yXMC9Ifc,20253
5
+ tencentcloud/live/v20180801/live_client.py,sha256=BeNtM1tD4jukSHiEEER6JPsOKpJS7-manhBZLTRGIQY,161959
6
+ tencentcloud/live/v20180801/models.py,sha256=XNxBbasaXf8Dp-rGGfg0OXPZ66TXLj0M6KD-3yjX1mI,812168
7
+ tencentcloud_sdk_python_live-3.0.1127.dist-info/METADATA,sha256=sFSWw-TK6MDh435k0Evp-ewWxB4GK7np8Mpyp1Lajcc,1497
8
+ tencentcloud_sdk_python_live-3.0.1127.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_live-3.0.1127.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_live-3.0.1127.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=_zVrKeE9dAFUTYWZ3NAMavFKzeQJ3UGnXXn0eeeNwUQ,631
2
- tencentcloud/live/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/live/v20180801/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/live/v20180801/errorcodes.py,sha256=zUVXfM5AXka1kCY4cQTVHMa5YlWugx3l2A5yXMC9Ifc,20253
5
- tencentcloud/live/v20180801/live_client.py,sha256=BeNtM1tD4jukSHiEEER6JPsOKpJS7-manhBZLTRGIQY,161959
6
- tencentcloud/live/v20180801/models.py,sha256=61ak0E9Wbbzdhhchnqt7tk-Y5d0QMWkL5jGa4dcMUiw,808749
7
- tencentcloud_sdk_python_live-3.0.1111.dist-info/METADATA,sha256=JAcYiJ1HcKjoRHrUEJ2QhgF9bD46TlkOU0EiqQcRsro,1497
8
- tencentcloud_sdk_python_live-3.0.1111.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_live-3.0.1111.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_live-3.0.1111.dist-info/RECORD,,