tencentcloud-sdk-python-live 3.0.1135__tar.gz → 3.0.1151__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 (16) hide show
  1. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/setup.py +1 -1
  3. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud/live/v20180801/live_client.py +46 -0
  5. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud/live/v20180801/models.py +190 -0
  6. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-live-3.0.1151/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-live-3.0.1135/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/README.rst +0 -0
  10. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud/live/__init__.py +0 -0
  12. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud/live/v20180801/__init__.py +0 -0
  13. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud/live/v20180801/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-live-3.0.1135 → tencentcloud-sdk-python-live-3.0.1151}/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.1135
3
+ Version: 3.0.1151
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
@@ -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.0.1135"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1151"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Live SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1135'
17
+ __version__ = '3.0.1151'
@@ -1710,6 +1710,29 @@ class LiveClient(AbstractClient):
1710
1710
  raise TencentCloudSDKException(type(e).__name__, str(e))
1711
1711
 
1712
1712
 
1713
+ def DescribeLivePadProcessorList(self, request):
1714
+ """使用该接口查询垫片流。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
1715
+
1716
+ :param request: Request instance for DescribeLivePadProcessorList.
1717
+ :type request: :class:`tencentcloud.live.v20180801.models.DescribeLivePadProcessorListRequest`
1718
+ :rtype: :class:`tencentcloud.live.v20180801.models.DescribeLivePadProcessorListResponse`
1719
+
1720
+ """
1721
+ try:
1722
+ params = request._serialize()
1723
+ headers = request.headers
1724
+ body = self.call("DescribeLivePadProcessorList", params, headers=headers)
1725
+ response = json.loads(body)
1726
+ model = models.DescribeLivePadProcessorListResponse()
1727
+ model._deserialize(response["Response"])
1728
+ return model
1729
+ except Exception as e:
1730
+ if isinstance(e, TencentCloudSDKException):
1731
+ raise
1732
+ else:
1733
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1734
+
1735
+
1713
1736
  def DescribeLivePadRules(self, request):
1714
1737
  """获取直播垫片规则列表。
1715
1738
 
@@ -3532,6 +3555,29 @@ class LiveClient(AbstractClient):
3532
3555
  raise TencentCloudSDKException(type(e).__name__, str(e))
3533
3556
 
3534
3557
 
3558
+ def StopLivePadProcessor(self, request):
3559
+ """使用该接口停止垫片流。
3560
+
3561
+ :param request: Request instance for StopLivePadProcessor.
3562
+ :type request: :class:`tencentcloud.live.v20180801.models.StopLivePadProcessorRequest`
3563
+ :rtype: :class:`tencentcloud.live.v20180801.models.StopLivePadProcessorResponse`
3564
+
3565
+ """
3566
+ try:
3567
+ params = request._serialize()
3568
+ headers = request.headers
3569
+ body = self.call("StopLivePadProcessor", params, headers=headers)
3570
+ response = json.loads(body)
3571
+ model = models.StopLivePadProcessorResponse()
3572
+ model._deserialize(response["Response"])
3573
+ return model
3574
+ except Exception as e:
3575
+ if isinstance(e, TencentCloudSDKException):
3576
+ raise
3577
+ else:
3578
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3579
+
3580
+
3535
3581
  def StopLiveRecord(self, request):
3536
3582
  """说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
3537
3583
 
@@ -9898,6 +9898,89 @@ class DescribeLivePackageInfoResponse(AbstractModel):
9898
9898
  self._RequestId = params.get("RequestId")
9899
9899
 
9900
9900
 
9901
+ class DescribeLivePadProcessorListRequest(AbstractModel):
9902
+ """DescribeLivePadProcessorList请求参数结构体
9903
+
9904
+ """
9905
+
9906
+ def __init__(self):
9907
+ r"""
9908
+ :param _AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
9909
+ :type AppName: str
9910
+ :param _PushDomainName: 您的推流域名。
9911
+ :type PushDomainName: str
9912
+ """
9913
+ self._AppName = None
9914
+ self._PushDomainName = None
9915
+
9916
+ @property
9917
+ def AppName(self):
9918
+ return self._AppName
9919
+
9920
+ @AppName.setter
9921
+ def AppName(self, AppName):
9922
+ self._AppName = AppName
9923
+
9924
+ @property
9925
+ def PushDomainName(self):
9926
+ return self._PushDomainName
9927
+
9928
+ @PushDomainName.setter
9929
+ def PushDomainName(self, PushDomainName):
9930
+ self._PushDomainName = PushDomainName
9931
+
9932
+
9933
+ def _deserialize(self, params):
9934
+ self._AppName = params.get("AppName")
9935
+ self._PushDomainName = params.get("PushDomainName")
9936
+ memeber_set = set(params.keys())
9937
+ for name, value in vars(self).items():
9938
+ property_name = name[1:]
9939
+ if property_name in memeber_set:
9940
+ memeber_set.remove(property_name)
9941
+ if len(memeber_set) > 0:
9942
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9943
+
9944
+
9945
+
9946
+ class DescribeLivePadProcessorListResponse(AbstractModel):
9947
+ """DescribeLivePadProcessorList返回参数结构体
9948
+
9949
+ """
9950
+
9951
+ def __init__(self):
9952
+ r"""
9953
+ :param _StreamNameList: 当前正在拉取垫片的流名称列表。
9954
+ 注意:此字段可能返回 null,表示取不到有效值。
9955
+ :type StreamNameList: list of str
9956
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9957
+ :type RequestId: str
9958
+ """
9959
+ self._StreamNameList = None
9960
+ self._RequestId = None
9961
+
9962
+ @property
9963
+ def StreamNameList(self):
9964
+ return self._StreamNameList
9965
+
9966
+ @StreamNameList.setter
9967
+ def StreamNameList(self, StreamNameList):
9968
+ self._StreamNameList = StreamNameList
9969
+
9970
+ @property
9971
+ def RequestId(self):
9972
+ return self._RequestId
9973
+
9974
+ @RequestId.setter
9975
+ def RequestId(self, RequestId):
9976
+ self._RequestId = RequestId
9977
+
9978
+
9979
+ def _deserialize(self, params):
9980
+ self._StreamNameList = params.get("StreamNameList")
9981
+ self._RequestId = params.get("RequestId")
9982
+
9983
+
9901
9984
  class DescribeLivePadRulesRequest(AbstractModel):
9902
9985
  """DescribeLivePadRules请求参数结构体
9903
9986
 
@@ -24717,6 +24800,113 @@ class StartLiveStreamMonitorResponse(AbstractModel):
24717
24800
  self._RequestId = params.get("RequestId")
24718
24801
 
24719
24802
 
24803
+ class StopLivePadProcessorRequest(AbstractModel):
24804
+ """StopLivePadProcessor请求参数结构体
24805
+
24806
+ """
24807
+
24808
+ def __init__(self):
24809
+ r"""
24810
+ :param _AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
24811
+ :type AppName: str
24812
+ :param _PushDomainName: 您的推流域名。
24813
+ :type PushDomainName: str
24814
+ :param _StreamName: 流名称。
24815
+ :type StreamName: str
24816
+ :param _Operator: 操作人备注信息。
24817
+ :type Operator: str
24818
+ """
24819
+ self._AppName = None
24820
+ self._PushDomainName = None
24821
+ self._StreamName = None
24822
+ self._Operator = None
24823
+
24824
+ @property
24825
+ def AppName(self):
24826
+ return self._AppName
24827
+
24828
+ @AppName.setter
24829
+ def AppName(self, AppName):
24830
+ self._AppName = AppName
24831
+
24832
+ @property
24833
+ def PushDomainName(self):
24834
+ return self._PushDomainName
24835
+
24836
+ @PushDomainName.setter
24837
+ def PushDomainName(self, PushDomainName):
24838
+ self._PushDomainName = PushDomainName
24839
+
24840
+ @property
24841
+ def StreamName(self):
24842
+ return self._StreamName
24843
+
24844
+ @StreamName.setter
24845
+ def StreamName(self, StreamName):
24846
+ self._StreamName = StreamName
24847
+
24848
+ @property
24849
+ def Operator(self):
24850
+ return self._Operator
24851
+
24852
+ @Operator.setter
24853
+ def Operator(self, Operator):
24854
+ self._Operator = Operator
24855
+
24856
+
24857
+ def _deserialize(self, params):
24858
+ self._AppName = params.get("AppName")
24859
+ self._PushDomainName = params.get("PushDomainName")
24860
+ self._StreamName = params.get("StreamName")
24861
+ self._Operator = params.get("Operator")
24862
+ memeber_set = set(params.keys())
24863
+ for name, value in vars(self).items():
24864
+ property_name = name[1:]
24865
+ if property_name in memeber_set:
24866
+ memeber_set.remove(property_name)
24867
+ if len(memeber_set) > 0:
24868
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
24869
+
24870
+
24871
+
24872
+ class StopLivePadProcessorResponse(AbstractModel):
24873
+ """StopLivePadProcessor返回参数结构体
24874
+
24875
+ """
24876
+
24877
+ def __init__(self):
24878
+ r"""
24879
+ :param _ResultMessage: 处理结果信息。
24880
+ 注意:此字段可能返回 null,表示取不到有效值。
24881
+ :type ResultMessage: str
24882
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
24883
+ :type RequestId: str
24884
+ """
24885
+ self._ResultMessage = None
24886
+ self._RequestId = None
24887
+
24888
+ @property
24889
+ def ResultMessage(self):
24890
+ return self._ResultMessage
24891
+
24892
+ @ResultMessage.setter
24893
+ def ResultMessage(self, ResultMessage):
24894
+ self._ResultMessage = ResultMessage
24895
+
24896
+ @property
24897
+ def RequestId(self):
24898
+ return self._RequestId
24899
+
24900
+ @RequestId.setter
24901
+ def RequestId(self, RequestId):
24902
+ self._RequestId = RequestId
24903
+
24904
+
24905
+ def _deserialize(self, params):
24906
+ self._ResultMessage = params.get("ResultMessage")
24907
+ self._RequestId = params.get("RequestId")
24908
+
24909
+
24720
24910
  class StopLiveRecordRequest(AbstractModel):
24721
24911
  """StopLiveRecord请求参数结构体
24722
24912
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.0.1135
3
+ Version: 3.0.1151
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1151
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1135