tencentcloud-sdk-python-live 3.1.33__tar.gz → 3.1.36__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 (17) hide show
  1. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/setup.py +1 -1
  3. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud/live/v20180801/live_client.py +23 -0
  5. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud/live/v20180801/live_client_async.py +18 -0
  6. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud/live/v20180801/models.py +174 -40
  7. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_live-3.1.36/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_live-3.1.33/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/README.rst +0 -0
  11. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud/live/__init__.py +0 -0
  13. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud/live/v20180801/__init__.py +0 -0
  14. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud/live/v20180801/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_live-3.1.33 → tencentcloud_sdk_python_live-3.1.36}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.1.33
3
+ Version: 3.1.36
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<4.0.0,>=3.1.33
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.36
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-live',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.33,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.36,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Live SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.33'
17
+ __version__ = '3.1.36'
@@ -2285,6 +2285,29 @@ class LiveClient(AbstractClient):
2285
2285
  raise TencentCloudSDKException(type(e).__name__, str(e))
2286
2286
 
2287
2287
 
2288
+ def DescribeLiveCloudEffectConfig(self, request):
2289
+ r"""使用该接口查询云端特效配置信息。
2290
+
2291
+ :param request: Request instance for DescribeLiveCloudEffectConfig.
2292
+ :type request: :class:`tencentcloud.live.v20180801.models.DescribeLiveCloudEffectConfigRequest`
2293
+ :rtype: :class:`tencentcloud.live.v20180801.models.DescribeLiveCloudEffectConfigResponse`
2294
+
2295
+ """
2296
+ try:
2297
+ params = request._serialize()
2298
+ headers = request.headers
2299
+ body = self.call("DescribeLiveCloudEffectConfig", params, headers=headers)
2300
+ response = json.loads(body)
2301
+ model = models.DescribeLiveCloudEffectConfigResponse()
2302
+ model._deserialize(response["Response"])
2303
+ return model
2304
+ except Exception as e:
2305
+ if isinstance(e, TencentCloudSDKException):
2306
+ raise
2307
+ else:
2308
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2309
+
2310
+
2288
2311
  def DescribeLiveCloudEffectList(self, request):
2289
2312
  r"""使用该接口查询云端特效列表,特效列表中包含一部分官方精品特效,同时包含用户自定义生成的特效。
2290
2313
 
@@ -1809,6 +1809,24 @@ class LiveClient(AbstractClient):
1809
1809
 
1810
1810
  return await self.call_and_deserialize(**kwargs)
1811
1811
 
1812
+ async def DescribeLiveCloudEffectConfig(
1813
+ self,
1814
+ request: models.DescribeLiveCloudEffectConfigRequest,
1815
+ opts: Dict = None,
1816
+ ) -> models.DescribeLiveCloudEffectConfigResponse:
1817
+ """
1818
+ 使用该接口查询云端特效配置信息。
1819
+ """
1820
+
1821
+ kwargs = {}
1822
+ kwargs["action"] = "DescribeLiveCloudEffectConfig"
1823
+ kwargs["params"] = request._serialize()
1824
+ kwargs["resp_cls"] = models.DescribeLiveCloudEffectConfigResponse
1825
+ kwargs["headers"] = request.headers
1826
+ kwargs["opts"] = opts or {}
1827
+
1828
+ return await self.call_and_deserialize(**kwargs)
1829
+
1812
1830
  async def DescribeLiveCloudEffectList(
1813
1831
  self,
1814
1832
  request: models.DescribeLiveCloudEffectListRequest,
@@ -4860,6 +4860,102 @@ UGC : 用户上传特效。
4860
4860
 
4861
4861
 
4862
4862
 
4863
+ class CloudEffectTemplateInfo(AbstractModel):
4864
+ r"""云端特效模板信息。
4865
+
4866
+ """
4867
+
4868
+ def __init__(self):
4869
+ r"""
4870
+ :param _TemplateId: <p>特效模板ID。</p>
4871
+ :type TemplateId: str
4872
+ :param _TemplateName: <p>特效模板名称。</p>
4873
+ :type TemplateName: str
4874
+ :param _VideoUrl: <p>模板预览URL。</p>
4875
+ :type VideoUrl: str
4876
+ :param _CoverImageUrl: <p>模板封面图片URL。</p>
4877
+ :type CoverImageUrl: str
4878
+ :param _VideoRatio: <p>模板视频宽高比。</p>
4879
+ :type VideoRatio: str
4880
+ """
4881
+ self._TemplateId = None
4882
+ self._TemplateName = None
4883
+ self._VideoUrl = None
4884
+ self._CoverImageUrl = None
4885
+ self._VideoRatio = None
4886
+
4887
+ @property
4888
+ def TemplateId(self):
4889
+ r"""<p>特效模板ID。</p>
4890
+ :rtype: str
4891
+ """
4892
+ return self._TemplateId
4893
+
4894
+ @TemplateId.setter
4895
+ def TemplateId(self, TemplateId):
4896
+ self._TemplateId = TemplateId
4897
+
4898
+ @property
4899
+ def TemplateName(self):
4900
+ r"""<p>特效模板名称。</p>
4901
+ :rtype: str
4902
+ """
4903
+ return self._TemplateName
4904
+
4905
+ @TemplateName.setter
4906
+ def TemplateName(self, TemplateName):
4907
+ self._TemplateName = TemplateName
4908
+
4909
+ @property
4910
+ def VideoUrl(self):
4911
+ r"""<p>模板预览URL。</p>
4912
+ :rtype: str
4913
+ """
4914
+ return self._VideoUrl
4915
+
4916
+ @VideoUrl.setter
4917
+ def VideoUrl(self, VideoUrl):
4918
+ self._VideoUrl = VideoUrl
4919
+
4920
+ @property
4921
+ def CoverImageUrl(self):
4922
+ r"""<p>模板封面图片URL。</p>
4923
+ :rtype: str
4924
+ """
4925
+ return self._CoverImageUrl
4926
+
4927
+ @CoverImageUrl.setter
4928
+ def CoverImageUrl(self, CoverImageUrl):
4929
+ self._CoverImageUrl = CoverImageUrl
4930
+
4931
+ @property
4932
+ def VideoRatio(self):
4933
+ r"""<p>模板视频宽高比。</p>
4934
+ :rtype: str
4935
+ """
4936
+ return self._VideoRatio
4937
+
4938
+ @VideoRatio.setter
4939
+ def VideoRatio(self, VideoRatio):
4940
+ self._VideoRatio = VideoRatio
4941
+
4942
+
4943
+ def _deserialize(self, params):
4944
+ self._TemplateId = params.get("TemplateId")
4945
+ self._TemplateName = params.get("TemplateName")
4946
+ self._VideoUrl = params.get("VideoUrl")
4947
+ self._CoverImageUrl = params.get("CoverImageUrl")
4948
+ self._VideoRatio = params.get("VideoRatio")
4949
+ memeber_set = set(params.keys())
4950
+ for name, value in vars(self).items():
4951
+ property_name = name[1:]
4952
+ if property_name in memeber_set:
4953
+ memeber_set.remove(property_name)
4954
+ if len(memeber_set) > 0:
4955
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4956
+
4957
+
4958
+
4863
4959
  class CommonMixControlParams(AbstractModel):
4864
4960
  r"""通用混流控制参数
4865
4961
 
@@ -16607,6 +16703,60 @@ class DescribeLiveCertsResponse(AbstractModel):
16607
16703
  self._RequestId = params.get("RequestId")
16608
16704
 
16609
16705
 
16706
+ class DescribeLiveCloudEffectConfigRequest(AbstractModel):
16707
+ r"""DescribeLiveCloudEffectConfig请求参数结构体
16708
+
16709
+ """
16710
+
16711
+
16712
+ class DescribeLiveCloudEffectConfigResponse(AbstractModel):
16713
+ r"""DescribeLiveCloudEffectConfig返回参数结构体
16714
+
16715
+ """
16716
+
16717
+ def __init__(self):
16718
+ r"""
16719
+ :param _EffectTemplateList: <p>模板生礼物的模板信息列表。</p>
16720
+ :type EffectTemplateList: list of CloudEffectTemplateInfo
16721
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16722
+ :type RequestId: str
16723
+ """
16724
+ self._EffectTemplateList = None
16725
+ self._RequestId = None
16726
+
16727
+ @property
16728
+ def EffectTemplateList(self):
16729
+ r"""<p>模板生礼物的模板信息列表。</p>
16730
+ :rtype: list of CloudEffectTemplateInfo
16731
+ """
16732
+ return self._EffectTemplateList
16733
+
16734
+ @EffectTemplateList.setter
16735
+ def EffectTemplateList(self, EffectTemplateList):
16736
+ self._EffectTemplateList = EffectTemplateList
16737
+
16738
+ @property
16739
+ def RequestId(self):
16740
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16741
+ :rtype: str
16742
+ """
16743
+ return self._RequestId
16744
+
16745
+ @RequestId.setter
16746
+ def RequestId(self, RequestId):
16747
+ self._RequestId = RequestId
16748
+
16749
+
16750
+ def _deserialize(self, params):
16751
+ if params.get("EffectTemplateList") is not None:
16752
+ self._EffectTemplateList = []
16753
+ for item in params.get("EffectTemplateList"):
16754
+ obj = CloudEffectTemplateInfo()
16755
+ obj._deserialize(item)
16756
+ self._EffectTemplateList.append(obj)
16757
+ self._RequestId = params.get("RequestId")
16758
+
16759
+
16610
16760
  class DescribeLiveCloudEffectListRequest(AbstractModel):
16611
16761
  r"""DescribeLiveCloudEffectList请求参数结构体
16612
16762
 
@@ -21028,27 +21178,19 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21028
21178
 
21029
21179
  def __init__(self):
21030
21180
  r"""
21031
- :param _PushDomain: 推流域名。
21181
+ :param _PushDomain: <p>推流域名。</p>
21032
21182
  :type PushDomain: str
21033
- :param _StreamName: 流名称。
21183
+ :param _StreamName: <p>流名称。</p>
21034
21184
  :type StreamName: str
21035
- :param _DayTime: 查询时间,北京时间,
21036
- 格式:yyyymmdd。
21037
- 注意:支持查询近1个月内某天的详细数据,截止到昨天。
21185
+ :param _DayTime: <p>查询时间,北京时间,<br>格式:yyyymmdd。<br>注意:支持查询近1个月内某天的详细数据,截止到昨天。</p>
21038
21186
  :type DayTime: str
21039
- :param _PageNum: 页数,默认1
21040
- 不超过100页。
21187
+ :param _PageNum: <p>页数,默认1,<br>不超过100页。</p>
21041
21188
  :type PageNum: int
21042
- :param _PageSize: 每页个数,默认20
21043
- 范围:[10,1000]。
21189
+ :param _PageSize: <p>每页个数,默认20,<br>范围:[10,1000]。</p>
21044
21190
  :type PageSize: int
21045
- :param _StartDayTime: 起始天时间,北京时间,
21046
- 格式:yyyymmdd。
21047
- 注意:支持查询近1个月内的详细数据。
21191
+ :param _StartDayTime: <p>起始天时间,北京时间,<br>格式:yyyymmdd。<br>注意:支持查询近1个月内的详细数据。</p>
21048
21192
  :type StartDayTime: str
21049
- :param _EndDayTime: 结束天时间,北京时间,
21050
- 格式:yyyymmdd。
21051
- 注意:支持查询近1个月内的详细数据,截止到昨天,注意DayTime 与(StartDayTime,EndDayTime)必须要传一个,如果都传,会以DayTime为准 。
21193
+ :param _EndDayTime: <p>结束天时间,北京时间,<br>格式:yyyymmdd。<br>注意:支持查询近1个月内的详细数据,截止到昨天,注意DayTime 与(StartDayTime,EndDayTime)必须要传一个,如果都传,会以DayTime为准 。</p>
21052
21194
  :type EndDayTime: str
21053
21195
  """
21054
21196
  self._PushDomain = None
@@ -21061,7 +21203,7 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21061
21203
 
21062
21204
  @property
21063
21205
  def PushDomain(self):
21064
- r"""推流域名。
21206
+ r"""<p>推流域名。</p>
21065
21207
  :rtype: str
21066
21208
  """
21067
21209
  return self._PushDomain
@@ -21072,7 +21214,7 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21072
21214
 
21073
21215
  @property
21074
21216
  def StreamName(self):
21075
- r"""流名称。
21217
+ r"""<p>流名称。</p>
21076
21218
  :rtype: str
21077
21219
  """
21078
21220
  return self._StreamName
@@ -21083,9 +21225,7 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21083
21225
 
21084
21226
  @property
21085
21227
  def DayTime(self):
21086
- r"""查询时间,北京时间,
21087
- 格式:yyyymmdd。
21088
- 注意:支持查询近1个月内某天的详细数据,截止到昨天。
21228
+ r"""<p>查询时间,北京时间,<br>格式:yyyymmdd。<br>注意:支持查询近1个月内某天的详细数据,截止到昨天。</p>
21089
21229
  :rtype: str
21090
21230
  """
21091
21231
  return self._DayTime
@@ -21096,8 +21236,7 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21096
21236
 
21097
21237
  @property
21098
21238
  def PageNum(self):
21099
- r"""页数,默认1
21100
- 不超过100页。
21239
+ r"""<p>页数,默认1,<br>不超过100页。</p>
21101
21240
  :rtype: int
21102
21241
  """
21103
21242
  return self._PageNum
@@ -21108,8 +21247,7 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21108
21247
 
21109
21248
  @property
21110
21249
  def PageSize(self):
21111
- r"""每页个数,默认20
21112
- 范围:[10,1000]。
21250
+ r"""<p>每页个数,默认20,<br>范围:[10,1000]。</p>
21113
21251
  :rtype: int
21114
21252
  """
21115
21253
  return self._PageSize
@@ -21120,9 +21258,7 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21120
21258
 
21121
21259
  @property
21122
21260
  def StartDayTime(self):
21123
- r"""起始天时间,北京时间,
21124
- 格式:yyyymmdd。
21125
- 注意:支持查询近1个月内的详细数据。
21261
+ r"""<p>起始天时间,北京时间,<br>格式:yyyymmdd。<br>注意:支持查询近1个月内的详细数据。</p>
21126
21262
  :rtype: str
21127
21263
  """
21128
21264
  return self._StartDayTime
@@ -21133,9 +21269,7 @@ class DescribeLiveTranscodeDetailInfoRequest(AbstractModel):
21133
21269
 
21134
21270
  @property
21135
21271
  def EndDayTime(self):
21136
- r"""结束天时间,北京时间,
21137
- 格式:yyyymmdd。
21138
- 注意:支持查询近1个月内的详细数据,截止到昨天,注意DayTime 与(StartDayTime,EndDayTime)必须要传一个,如果都传,会以DayTime为准 。
21272
+ r"""<p>结束天时间,北京时间,<br>格式:yyyymmdd。<br>注意:支持查询近1个月内的详细数据,截止到昨天,注意DayTime 与(StartDayTime,EndDayTime)必须要传一个,如果都传,会以DayTime为准 。</p>
21139
21273
  :rtype: str
21140
21274
  """
21141
21275
  return self._EndDayTime
@@ -21170,15 +21304,15 @@ class DescribeLiveTranscodeDetailInfoResponse(AbstractModel):
21170
21304
 
21171
21305
  def __init__(self):
21172
21306
  r"""
21173
- :param _DataInfoList: 统计数据列表。
21307
+ :param _DataInfoList: <p>统计数据列表。</p>
21174
21308
  :type DataInfoList: list of TranscodeDetailInfo
21175
- :param _PageNum: 页码。
21309
+ :param _PageNum: <p>页码。</p>
21176
21310
  :type PageNum: int
21177
- :param _PageSize: 每页个数。
21311
+ :param _PageSize: <p>每页个数。</p>
21178
21312
  :type PageSize: int
21179
- :param _TotalNum: 总个数。
21313
+ :param _TotalNum: <p>总个数。</p>
21180
21314
  :type TotalNum: int
21181
- :param _TotalPage: 总页数。
21315
+ :param _TotalPage: <p>总页数。</p>
21182
21316
  :type TotalPage: int
21183
21317
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21184
21318
  :type RequestId: str
@@ -21192,7 +21326,7 @@ class DescribeLiveTranscodeDetailInfoResponse(AbstractModel):
21192
21326
 
21193
21327
  @property
21194
21328
  def DataInfoList(self):
21195
- r"""统计数据列表。
21329
+ r"""<p>统计数据列表。</p>
21196
21330
  :rtype: list of TranscodeDetailInfo
21197
21331
  """
21198
21332
  return self._DataInfoList
@@ -21203,7 +21337,7 @@ class DescribeLiveTranscodeDetailInfoResponse(AbstractModel):
21203
21337
 
21204
21338
  @property
21205
21339
  def PageNum(self):
21206
- r"""页码。
21340
+ r"""<p>页码。</p>
21207
21341
  :rtype: int
21208
21342
  """
21209
21343
  return self._PageNum
@@ -21214,7 +21348,7 @@ class DescribeLiveTranscodeDetailInfoResponse(AbstractModel):
21214
21348
 
21215
21349
  @property
21216
21350
  def PageSize(self):
21217
- r"""每页个数。
21351
+ r"""<p>每页个数。</p>
21218
21352
  :rtype: int
21219
21353
  """
21220
21354
  return self._PageSize
@@ -21225,7 +21359,7 @@ class DescribeLiveTranscodeDetailInfoResponse(AbstractModel):
21225
21359
 
21226
21360
  @property
21227
21361
  def TotalNum(self):
21228
- r"""总个数。
21362
+ r"""<p>总个数。</p>
21229
21363
  :rtype: int
21230
21364
  """
21231
21365
  return self._TotalNum
@@ -21236,7 +21370,7 @@ class DescribeLiveTranscodeDetailInfoResponse(AbstractModel):
21236
21370
 
21237
21371
  @property
21238
21372
  def TotalPage(self):
21239
- r"""总页数。
21373
+ r"""<p>总页数。</p>
21240
21374
  :rtype: int
21241
21375
  """
21242
21376
  return self._TotalPage
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.1.33
3
+ Version: 3.1.36
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<4.0.0,>=3.1.33
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.36
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.36
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.33