tencentcloud-sdk-python-live 3.1.78__py2.py3-none-any.whl → 3.1.87__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 +1 -1
- tencentcloud/live/v20180801/errorcodes.py +3 -0
- tencentcloud/live/v20180801/live_client.py +69 -0
- tencentcloud/live/v20180801/live_client_async.py +54 -0
- tencentcloud/live/v20180801/models.py +211 -64
- {tencentcloud_sdk_python_live-3.1.78.dist-info → tencentcloud_sdk_python_live-3.1.87.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_live-3.1.87.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_live-3.1.78.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_live-3.1.78.dist-info → tencentcloud_sdk_python_live-3.1.87.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_live-3.1.78.dist-info → tencentcloud_sdk_python_live-3.1.87.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -584,6 +584,9 @@ INVALIDPARAMETER_INVALIDVODFILENAME = 'InvalidParameter.InvalidVodFileName'
|
|
|
584
584
|
# 水印参数有误。
|
|
585
585
|
INVALIDPARAMETER_INVALIDWATERMARK = 'InvalidParameter.InvalidWatermark'
|
|
586
586
|
|
|
587
|
+
# 匹配规则仅支持音视频格式后缀。
|
|
588
|
+
INVALIDPARAMETER_MATCHRULEONLYSUPPORTNORMALSUFFIX = 'InvalidParameter.MatchRuleOnlySupportNormalSuffix'
|
|
589
|
+
|
|
587
590
|
# 当月不允许添加已删除的小程序域名。
|
|
588
591
|
INVALIDPARAMETER_MPHOSTDELETE = 'InvalidParameter.MpHostDelete'
|
|
589
592
|
|
|
@@ -258,6 +258,29 @@ class LiveClient(AbstractClient):
|
|
|
258
258
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
259
259
|
|
|
260
260
|
|
|
261
|
+
def CloseSourceStream(self, request):
|
|
262
|
+
r"""用于关闭回源客户源站功能
|
|
263
|
+
|
|
264
|
+
:param request: Request instance for CloseSourceStream.
|
|
265
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CloseSourceStreamRequest`
|
|
266
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CloseSourceStreamResponse`
|
|
267
|
+
|
|
268
|
+
"""
|
|
269
|
+
try:
|
|
270
|
+
params = request._serialize()
|
|
271
|
+
headers = request.headers
|
|
272
|
+
body = self.call("CloseSourceStream", params, headers=headers)
|
|
273
|
+
response = json.loads(body)
|
|
274
|
+
model = models.CloseSourceStreamResponse()
|
|
275
|
+
model._deserialize(response["Response"])
|
|
276
|
+
return model
|
|
277
|
+
except Exception as e:
|
|
278
|
+
if isinstance(e, TencentCloudSDKException):
|
|
279
|
+
raise
|
|
280
|
+
else:
|
|
281
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
282
|
+
|
|
283
|
+
|
|
261
284
|
def CopyCaster(self, request):
|
|
262
285
|
r"""该接口用来复制导播台配置
|
|
263
286
|
|
|
@@ -3692,6 +3715,29 @@ class LiveClient(AbstractClient):
|
|
|
3692
3715
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3693
3716
|
|
|
3694
3717
|
|
|
3718
|
+
def DescribeOriginStreamInfo(self, request):
|
|
3719
|
+
r"""获取直播源站配置信息,支持直播原站格式。
|
|
3720
|
+
|
|
3721
|
+
:param request: Request instance for DescribeOriginStreamInfo.
|
|
3722
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeOriginStreamInfoRequest`
|
|
3723
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeOriginStreamInfoResponse`
|
|
3724
|
+
|
|
3725
|
+
"""
|
|
3726
|
+
try:
|
|
3727
|
+
params = request._serialize()
|
|
3728
|
+
headers = request.headers
|
|
3729
|
+
body = self.call("DescribeOriginStreamInfo", params, headers=headers)
|
|
3730
|
+
response = json.loads(body)
|
|
3731
|
+
model = models.DescribeOriginStreamInfoResponse()
|
|
3732
|
+
model._deserialize(response["Response"])
|
|
3733
|
+
return model
|
|
3734
|
+
except Exception as e:
|
|
3735
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3736
|
+
raise
|
|
3737
|
+
else:
|
|
3738
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3739
|
+
|
|
3740
|
+
|
|
3695
3741
|
def DescribePlayErrorCodeDetailInfoList(self, request):
|
|
3696
3742
|
r"""该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
3697
3743
|
查询下行播放错误码信息,某段时间内1分钟粒度的各http错误码出现的次数,包括4xx,5xx。
|
|
@@ -4826,6 +4872,29 @@ class LiveClient(AbstractClient):
|
|
|
4826
4872
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4827
4873
|
|
|
4828
4874
|
|
|
4875
|
+
def ModifyOriginStreamInfo(self, request):
|
|
4876
|
+
r"""变更直播源站配置,支持直播原站格式。
|
|
4877
|
+
|
|
4878
|
+
:param request: Request instance for ModifyOriginStreamInfo.
|
|
4879
|
+
:type request: :class:`tencentcloud.live.v20180801.models.ModifyOriginStreamInfoRequest`
|
|
4880
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.ModifyOriginStreamInfoResponse`
|
|
4881
|
+
|
|
4882
|
+
"""
|
|
4883
|
+
try:
|
|
4884
|
+
params = request._serialize()
|
|
4885
|
+
headers = request.headers
|
|
4886
|
+
body = self.call("ModifyOriginStreamInfo", params, headers=headers)
|
|
4887
|
+
response = json.loads(body)
|
|
4888
|
+
model = models.ModifyOriginStreamInfoResponse()
|
|
4889
|
+
model._deserialize(response["Response"])
|
|
4890
|
+
return model
|
|
4891
|
+
except Exception as e:
|
|
4892
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4893
|
+
raise
|
|
4894
|
+
else:
|
|
4895
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4896
|
+
|
|
4897
|
+
|
|
4829
4898
|
def ModifyPullStreamConfig(self, request):
|
|
4830
4899
|
r"""更新拉流配置。该接口为已下线接口,请使用新接口 ModifyLivePullStreamTask。
|
|
4831
4900
|
|
|
@@ -207,6 +207,24 @@ class LiveClient(AbstractClient):
|
|
|
207
207
|
|
|
208
208
|
return await self.call_and_deserialize(**kwargs)
|
|
209
209
|
|
|
210
|
+
async def CloseSourceStream(
|
|
211
|
+
self,
|
|
212
|
+
request: models.CloseSourceStreamRequest,
|
|
213
|
+
opts: Dict = None,
|
|
214
|
+
) -> models.CloseSourceStreamResponse:
|
|
215
|
+
"""
|
|
216
|
+
用于关闭回源客户源站功能
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
kwargs = {}
|
|
220
|
+
kwargs["action"] = "CloseSourceStream"
|
|
221
|
+
kwargs["params"] = request._serialize()
|
|
222
|
+
kwargs["resp_cls"] = models.CloseSourceStreamResponse
|
|
223
|
+
kwargs["headers"] = request.headers
|
|
224
|
+
kwargs["opts"] = opts or {}
|
|
225
|
+
|
|
226
|
+
return await self.call_and_deserialize(**kwargs)
|
|
227
|
+
|
|
210
228
|
async def CopyCaster(
|
|
211
229
|
self,
|
|
212
230
|
request: models.CopyCasterRequest,
|
|
@@ -2916,6 +2934,24 @@ class LiveClient(AbstractClient):
|
|
|
2916
2934
|
|
|
2917
2935
|
return await self.call_and_deserialize(**kwargs)
|
|
2918
2936
|
|
|
2937
|
+
async def DescribeOriginStreamInfo(
|
|
2938
|
+
self,
|
|
2939
|
+
request: models.DescribeOriginStreamInfoRequest,
|
|
2940
|
+
opts: Dict = None,
|
|
2941
|
+
) -> models.DescribeOriginStreamInfoResponse:
|
|
2942
|
+
"""
|
|
2943
|
+
获取直播源站配置信息,支持直播原站格式。
|
|
2944
|
+
"""
|
|
2945
|
+
|
|
2946
|
+
kwargs = {}
|
|
2947
|
+
kwargs["action"] = "DescribeOriginStreamInfo"
|
|
2948
|
+
kwargs["params"] = request._serialize()
|
|
2949
|
+
kwargs["resp_cls"] = models.DescribeOriginStreamInfoResponse
|
|
2950
|
+
kwargs["headers"] = request.headers
|
|
2951
|
+
kwargs["opts"] = opts or {}
|
|
2952
|
+
|
|
2953
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2954
|
+
|
|
2919
2955
|
async def DescribePlayErrorCodeDetailInfoList(
|
|
2920
2956
|
self,
|
|
2921
2957
|
request: models.DescribePlayErrorCodeDetailInfoListRequest,
|
|
@@ -3810,6 +3846,24 @@ class LiveClient(AbstractClient):
|
|
|
3810
3846
|
|
|
3811
3847
|
return await self.call_and_deserialize(**kwargs)
|
|
3812
3848
|
|
|
3849
|
+
async def ModifyOriginStreamInfo(
|
|
3850
|
+
self,
|
|
3851
|
+
request: models.ModifyOriginStreamInfoRequest,
|
|
3852
|
+
opts: Dict = None,
|
|
3853
|
+
) -> models.ModifyOriginStreamInfoResponse:
|
|
3854
|
+
"""
|
|
3855
|
+
变更直播源站配置,支持直播原站格式。
|
|
3856
|
+
"""
|
|
3857
|
+
|
|
3858
|
+
kwargs = {}
|
|
3859
|
+
kwargs["action"] = "ModifyOriginStreamInfo"
|
|
3860
|
+
kwargs["params"] = request._serialize()
|
|
3861
|
+
kwargs["resp_cls"] = models.ModifyOriginStreamInfoResponse
|
|
3862
|
+
kwargs["headers"] = request.headers
|
|
3863
|
+
kwargs["opts"] = opts or {}
|
|
3864
|
+
|
|
3865
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3866
|
+
|
|
3813
3867
|
async def ModifyPullStreamConfig(
|
|
3814
3868
|
self,
|
|
3815
3869
|
request: models.ModifyPullStreamConfigRequest,
|
|
@@ -5627,6 +5627,70 @@ class ClientIpPlaySumInfo(AbstractModel):
|
|
|
5627
5627
|
|
|
5628
5628
|
|
|
5629
5629
|
|
|
5630
|
+
class CloseSourceStreamRequest(AbstractModel):
|
|
5631
|
+
r"""CloseSourceStream请求参数结构体
|
|
5632
|
+
|
|
5633
|
+
"""
|
|
5634
|
+
|
|
5635
|
+
def __init__(self):
|
|
5636
|
+
r"""
|
|
5637
|
+
:param _DomainName: 播放域名。
|
|
5638
|
+
:type DomainName: str
|
|
5639
|
+
"""
|
|
5640
|
+
self._DomainName = None
|
|
5641
|
+
|
|
5642
|
+
@property
|
|
5643
|
+
def DomainName(self):
|
|
5644
|
+
r"""播放域名。
|
|
5645
|
+
:rtype: str
|
|
5646
|
+
"""
|
|
5647
|
+
return self._DomainName
|
|
5648
|
+
|
|
5649
|
+
@DomainName.setter
|
|
5650
|
+
def DomainName(self, DomainName):
|
|
5651
|
+
self._DomainName = DomainName
|
|
5652
|
+
|
|
5653
|
+
|
|
5654
|
+
def _deserialize(self, params):
|
|
5655
|
+
self._DomainName = params.get("DomainName")
|
|
5656
|
+
memeber_set = set(params.keys())
|
|
5657
|
+
for name, value in vars(self).items():
|
|
5658
|
+
property_name = name[1:]
|
|
5659
|
+
if property_name in memeber_set:
|
|
5660
|
+
memeber_set.remove(property_name)
|
|
5661
|
+
if len(memeber_set) > 0:
|
|
5662
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5663
|
+
|
|
5664
|
+
|
|
5665
|
+
|
|
5666
|
+
class CloseSourceStreamResponse(AbstractModel):
|
|
5667
|
+
r"""CloseSourceStream返回参数结构体
|
|
5668
|
+
|
|
5669
|
+
"""
|
|
5670
|
+
|
|
5671
|
+
def __init__(self):
|
|
5672
|
+
r"""
|
|
5673
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5674
|
+
:type RequestId: str
|
|
5675
|
+
"""
|
|
5676
|
+
self._RequestId = None
|
|
5677
|
+
|
|
5678
|
+
@property
|
|
5679
|
+
def RequestId(self):
|
|
5680
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5681
|
+
:rtype: str
|
|
5682
|
+
"""
|
|
5683
|
+
return self._RequestId
|
|
5684
|
+
|
|
5685
|
+
@RequestId.setter
|
|
5686
|
+
def RequestId(self, RequestId):
|
|
5687
|
+
self._RequestId = RequestId
|
|
5688
|
+
|
|
5689
|
+
|
|
5690
|
+
def _deserialize(self, params):
|
|
5691
|
+
self._RequestId = params.get("RequestId")
|
|
5692
|
+
|
|
5693
|
+
|
|
5630
5694
|
class CloudEffectInfo(AbstractModel):
|
|
5631
5695
|
r"""云端特效信息。
|
|
5632
5696
|
|
|
@@ -8843,28 +8907,20 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8843
8907
|
|
|
8844
8908
|
def __init__(self):
|
|
8845
8909
|
r"""
|
|
8846
|
-
:param _TemplateName:
|
|
8847
|
-
长度上限:255字节。
|
|
8848
|
-
仅支持中文、英文、数字、_、-。
|
|
8910
|
+
:param _TemplateName: <p>模板名称。<br>长度上限:255字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
8849
8911
|
:type TemplateName: str
|
|
8850
|
-
:param _Url:
|
|
8912
|
+
:param _Url: <p>垫片内容。</p>
|
|
8851
8913
|
:type Url: str
|
|
8852
|
-
:param _Description:
|
|
8853
|
-
长度上限:1024字节。
|
|
8854
|
-
仅支持中文、英文、数字、_、-。
|
|
8914
|
+
:param _Description: <p>描述信息。<br>长度上限:1024字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
8855
8915
|
:type Description: str
|
|
8856
|
-
:param _WaitDuration:
|
|
8857
|
-
取值范围:0-30000。
|
|
8858
|
-
单位:ms。
|
|
8916
|
+
:param _WaitDuration: <p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
|
|
8859
8917
|
:type WaitDuration: int
|
|
8860
|
-
:param _MaxDuration:
|
|
8861
|
-
取值范围:0 - 正无穷。
|
|
8862
|
-
单位:ms。
|
|
8918
|
+
:param _MaxDuration: <p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
|
|
8863
8919
|
:type MaxDuration: int
|
|
8864
|
-
:param _Type:
|
|
8865
|
-
1:图片,2:视频。
|
|
8866
|
-
默认值:1。
|
|
8920
|
+
:param _Type: <p>垫片内容类型:<br>1:图片,2:视频。<br>默认值:1。</p>
|
|
8867
8921
|
:type Type: int
|
|
8922
|
+
:param _TriggerCondition: <p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
|
|
8923
|
+
:type TriggerCondition: int
|
|
8868
8924
|
"""
|
|
8869
8925
|
self._TemplateName = None
|
|
8870
8926
|
self._Url = None
|
|
@@ -8872,12 +8928,11 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8872
8928
|
self._WaitDuration = None
|
|
8873
8929
|
self._MaxDuration = None
|
|
8874
8930
|
self._Type = None
|
|
8931
|
+
self._TriggerCondition = None
|
|
8875
8932
|
|
|
8876
8933
|
@property
|
|
8877
8934
|
def TemplateName(self):
|
|
8878
|
-
r"""
|
|
8879
|
-
长度上限:255字节。
|
|
8880
|
-
仅支持中文、英文、数字、_、-。
|
|
8935
|
+
r"""<p>模板名称。<br>长度上限:255字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
8881
8936
|
:rtype: str
|
|
8882
8937
|
"""
|
|
8883
8938
|
return self._TemplateName
|
|
@@ -8888,7 +8943,7 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8888
8943
|
|
|
8889
8944
|
@property
|
|
8890
8945
|
def Url(self):
|
|
8891
|
-
r"""
|
|
8946
|
+
r"""<p>垫片内容。</p>
|
|
8892
8947
|
:rtype: str
|
|
8893
8948
|
"""
|
|
8894
8949
|
return self._Url
|
|
@@ -8899,9 +8954,7 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8899
8954
|
|
|
8900
8955
|
@property
|
|
8901
8956
|
def Description(self):
|
|
8902
|
-
r"""
|
|
8903
|
-
长度上限:1024字节。
|
|
8904
|
-
仅支持中文、英文、数字、_、-。
|
|
8957
|
+
r"""<p>描述信息。<br>长度上限:1024字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
8905
8958
|
:rtype: str
|
|
8906
8959
|
"""
|
|
8907
8960
|
return self._Description
|
|
@@ -8912,9 +8965,7 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8912
8965
|
|
|
8913
8966
|
@property
|
|
8914
8967
|
def WaitDuration(self):
|
|
8915
|
-
r"""
|
|
8916
|
-
取值范围:0-30000。
|
|
8917
|
-
单位:ms。
|
|
8968
|
+
r"""<p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
|
|
8918
8969
|
:rtype: int
|
|
8919
8970
|
"""
|
|
8920
8971
|
return self._WaitDuration
|
|
@@ -8925,9 +8976,7 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8925
8976
|
|
|
8926
8977
|
@property
|
|
8927
8978
|
def MaxDuration(self):
|
|
8928
|
-
r"""
|
|
8929
|
-
取值范围:0 - 正无穷。
|
|
8930
|
-
单位:ms。
|
|
8979
|
+
r"""<p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
|
|
8931
8980
|
:rtype: int
|
|
8932
8981
|
"""
|
|
8933
8982
|
return self._MaxDuration
|
|
@@ -8938,9 +8987,7 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8938
8987
|
|
|
8939
8988
|
@property
|
|
8940
8989
|
def Type(self):
|
|
8941
|
-
r"""
|
|
8942
|
-
1:图片,2:视频。
|
|
8943
|
-
默认值:1。
|
|
8990
|
+
r"""<p>垫片内容类型:<br>1:图片,2:视频。<br>默认值:1。</p>
|
|
8944
8991
|
:rtype: int
|
|
8945
8992
|
"""
|
|
8946
8993
|
return self._Type
|
|
@@ -8949,6 +8996,17 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8949
8996
|
def Type(self, Type):
|
|
8950
8997
|
self._Type = Type
|
|
8951
8998
|
|
|
8999
|
+
@property
|
|
9000
|
+
def TriggerCondition(self):
|
|
9001
|
+
r"""<p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
|
|
9002
|
+
:rtype: int
|
|
9003
|
+
"""
|
|
9004
|
+
return self._TriggerCondition
|
|
9005
|
+
|
|
9006
|
+
@TriggerCondition.setter
|
|
9007
|
+
def TriggerCondition(self, TriggerCondition):
|
|
9008
|
+
self._TriggerCondition = TriggerCondition
|
|
9009
|
+
|
|
8952
9010
|
|
|
8953
9011
|
def _deserialize(self, params):
|
|
8954
9012
|
self._TemplateName = params.get("TemplateName")
|
|
@@ -8957,6 +9015,7 @@ class CreateLivePadTemplateRequest(AbstractModel):
|
|
|
8957
9015
|
self._WaitDuration = params.get("WaitDuration")
|
|
8958
9016
|
self._MaxDuration = params.get("MaxDuration")
|
|
8959
9017
|
self._Type = params.get("Type")
|
|
9018
|
+
self._TriggerCondition = params.get("TriggerCondition")
|
|
8960
9019
|
memeber_set = set(params.keys())
|
|
8961
9020
|
for name, value in vars(self).items():
|
|
8962
9021
|
property_name = name[1:]
|
|
@@ -8974,7 +9033,7 @@ class CreateLivePadTemplateResponse(AbstractModel):
|
|
|
8974
9033
|
|
|
8975
9034
|
def __init__(self):
|
|
8976
9035
|
r"""
|
|
8977
|
-
:param _TemplateId:
|
|
9036
|
+
:param _TemplateId: <p>模板Id。</p>
|
|
8978
9037
|
:type TemplateId: int
|
|
8979
9038
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8980
9039
|
:type RequestId: str
|
|
@@ -8984,7 +9043,7 @@ class CreateLivePadTemplateResponse(AbstractModel):
|
|
|
8984
9043
|
|
|
8985
9044
|
@property
|
|
8986
9045
|
def TemplateId(self):
|
|
8987
|
-
r"""
|
|
9046
|
+
r"""<p>模板Id。</p>
|
|
8988
9047
|
:rtype: int
|
|
8989
9048
|
"""
|
|
8990
9049
|
return self._TemplateId
|
|
@@ -24882,6 +24941,61 @@ class DescribeMonitorReportResponse(AbstractModel):
|
|
|
24882
24941
|
self._RequestId = params.get("RequestId")
|
|
24883
24942
|
|
|
24884
24943
|
|
|
24944
|
+
class DescribeOriginStreamInfoRequest(AbstractModel):
|
|
24945
|
+
r"""DescribeOriginStreamInfo请求参数结构体
|
|
24946
|
+
|
|
24947
|
+
"""
|
|
24948
|
+
|
|
24949
|
+
|
|
24950
|
+
class DescribeOriginStreamInfoResponse(AbstractModel):
|
|
24951
|
+
r"""DescribeOriginStreamInfo返回参数结构体
|
|
24952
|
+
|
|
24953
|
+
"""
|
|
24954
|
+
|
|
24955
|
+
def __init__(self):
|
|
24956
|
+
r"""
|
|
24957
|
+
:param _CacheFormatRule: 缓存格式规则。
|
|
24958
|
+
0:默认格式。
|
|
24959
|
+
1:云直播源站格式。
|
|
24960
|
+
当 OriginStreamPlayType 为 customization 时候生效。
|
|
24961
|
+
:type CacheFormatRule: int
|
|
24962
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24963
|
+
:type RequestId: str
|
|
24964
|
+
"""
|
|
24965
|
+
self._CacheFormatRule = None
|
|
24966
|
+
self._RequestId = None
|
|
24967
|
+
|
|
24968
|
+
@property
|
|
24969
|
+
def CacheFormatRule(self):
|
|
24970
|
+
r"""缓存格式规则。
|
|
24971
|
+
0:默认格式。
|
|
24972
|
+
1:云直播源站格式。
|
|
24973
|
+
当 OriginStreamPlayType 为 customization 时候生效。
|
|
24974
|
+
:rtype: int
|
|
24975
|
+
"""
|
|
24976
|
+
return self._CacheFormatRule
|
|
24977
|
+
|
|
24978
|
+
@CacheFormatRule.setter
|
|
24979
|
+
def CacheFormatRule(self, CacheFormatRule):
|
|
24980
|
+
self._CacheFormatRule = CacheFormatRule
|
|
24981
|
+
|
|
24982
|
+
@property
|
|
24983
|
+
def RequestId(self):
|
|
24984
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24985
|
+
:rtype: str
|
|
24986
|
+
"""
|
|
24987
|
+
return self._RequestId
|
|
24988
|
+
|
|
24989
|
+
@RequestId.setter
|
|
24990
|
+
def RequestId(self, RequestId):
|
|
24991
|
+
self._RequestId = RequestId
|
|
24992
|
+
|
|
24993
|
+
|
|
24994
|
+
def _deserialize(self, params):
|
|
24995
|
+
self._CacheFormatRule = params.get("CacheFormatRule")
|
|
24996
|
+
self._RequestId = params.get("RequestId")
|
|
24997
|
+
|
|
24998
|
+
|
|
24885
24999
|
class DescribePlayErrorCodeDetailInfoListRequest(AbstractModel):
|
|
24886
25000
|
r"""DescribePlayErrorCodeDetailInfoList请求参数结构体
|
|
24887
25001
|
|
|
@@ -33734,28 +33848,22 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33734
33848
|
|
|
33735
33849
|
def __init__(self):
|
|
33736
33850
|
r"""
|
|
33737
|
-
:param _TemplateId:
|
|
33851
|
+
:param _TemplateId: <p>模板id。</p>
|
|
33738
33852
|
:type TemplateId: int
|
|
33739
|
-
:param _Url:
|
|
33853
|
+
:param _Url: <p>垫片内容。</p>
|
|
33740
33854
|
:type Url: str
|
|
33741
|
-
:param _WaitDuration:
|
|
33742
|
-
取值范围:0-30000。
|
|
33743
|
-
单位:ms。
|
|
33855
|
+
:param _WaitDuration: <p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
|
|
33744
33856
|
:type WaitDuration: int
|
|
33745
|
-
:param _MaxDuration:
|
|
33746
|
-
取值范围:0 - 正无穷。
|
|
33747
|
-
单位:ms。
|
|
33857
|
+
:param _MaxDuration: <p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
|
|
33748
33858
|
:type MaxDuration: int
|
|
33749
|
-
:param _TemplateName:
|
|
33750
|
-
长度上限:255字节。
|
|
33751
|
-
仅支持中文、英文、数字、_、-。
|
|
33859
|
+
:param _TemplateName: <p>模板名称。<br>长度上限:255字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
33752
33860
|
:type TemplateName: str
|
|
33753
|
-
:param _Description:
|
|
33754
|
-
长度上限:1024字节。
|
|
33755
|
-
仅支持中文、英文、数字、_、-。
|
|
33861
|
+
:param _Description: <p>描述信息。<br>长度上限:1024字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
33756
33862
|
:type Description: str
|
|
33757
|
-
:param _Type:
|
|
33863
|
+
:param _Type: <p>垫片内容类型: 1:图片,2:视频。 默认值:1。</p>
|
|
33758
33864
|
:type Type: int
|
|
33865
|
+
:param _TriggerCondition: <p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
|
|
33866
|
+
:type TriggerCondition: int
|
|
33759
33867
|
"""
|
|
33760
33868
|
self._TemplateId = None
|
|
33761
33869
|
self._Url = None
|
|
@@ -33764,10 +33872,11 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33764
33872
|
self._TemplateName = None
|
|
33765
33873
|
self._Description = None
|
|
33766
33874
|
self._Type = None
|
|
33875
|
+
self._TriggerCondition = None
|
|
33767
33876
|
|
|
33768
33877
|
@property
|
|
33769
33878
|
def TemplateId(self):
|
|
33770
|
-
r"""
|
|
33879
|
+
r"""<p>模板id。</p>
|
|
33771
33880
|
:rtype: int
|
|
33772
33881
|
"""
|
|
33773
33882
|
return self._TemplateId
|
|
@@ -33778,7 +33887,7 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33778
33887
|
|
|
33779
33888
|
@property
|
|
33780
33889
|
def Url(self):
|
|
33781
|
-
r"""
|
|
33890
|
+
r"""<p>垫片内容。</p>
|
|
33782
33891
|
:rtype: str
|
|
33783
33892
|
"""
|
|
33784
33893
|
return self._Url
|
|
@@ -33789,9 +33898,7 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33789
33898
|
|
|
33790
33899
|
@property
|
|
33791
33900
|
def WaitDuration(self):
|
|
33792
|
-
r"""
|
|
33793
|
-
取值范围:0-30000。
|
|
33794
|
-
单位:ms。
|
|
33901
|
+
r"""<p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
|
|
33795
33902
|
:rtype: int
|
|
33796
33903
|
"""
|
|
33797
33904
|
return self._WaitDuration
|
|
@@ -33802,9 +33909,7 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33802
33909
|
|
|
33803
33910
|
@property
|
|
33804
33911
|
def MaxDuration(self):
|
|
33805
|
-
r"""
|
|
33806
|
-
取值范围:0 - 正无穷。
|
|
33807
|
-
单位:ms。
|
|
33912
|
+
r"""<p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
|
|
33808
33913
|
:rtype: int
|
|
33809
33914
|
"""
|
|
33810
33915
|
return self._MaxDuration
|
|
@@ -33815,9 +33920,7 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33815
33920
|
|
|
33816
33921
|
@property
|
|
33817
33922
|
def TemplateName(self):
|
|
33818
|
-
r"""
|
|
33819
|
-
长度上限:255字节。
|
|
33820
|
-
仅支持中文、英文、数字、_、-。
|
|
33923
|
+
r"""<p>模板名称。<br>长度上限:255字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
33821
33924
|
:rtype: str
|
|
33822
33925
|
"""
|
|
33823
33926
|
return self._TemplateName
|
|
@@ -33828,9 +33931,7 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33828
33931
|
|
|
33829
33932
|
@property
|
|
33830
33933
|
def Description(self):
|
|
33831
|
-
r"""
|
|
33832
|
-
长度上限:1024字节。
|
|
33833
|
-
仅支持中文、英文、数字、_、-。
|
|
33934
|
+
r"""<p>描述信息。<br>长度上限:1024字节。<br>仅支持中文、英文、数字、_、-。</p>
|
|
33834
33935
|
:rtype: str
|
|
33835
33936
|
"""
|
|
33836
33937
|
return self._Description
|
|
@@ -33841,7 +33942,7 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33841
33942
|
|
|
33842
33943
|
@property
|
|
33843
33944
|
def Type(self):
|
|
33844
|
-
r"""
|
|
33945
|
+
r"""<p>垫片内容类型: 1:图片,2:视频。 默认值:1。</p>
|
|
33845
33946
|
:rtype: int
|
|
33846
33947
|
"""
|
|
33847
33948
|
return self._Type
|
|
@@ -33850,6 +33951,17 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33850
33951
|
def Type(self, Type):
|
|
33851
33952
|
self._Type = Type
|
|
33852
33953
|
|
|
33954
|
+
@property
|
|
33955
|
+
def TriggerCondition(self):
|
|
33956
|
+
r"""<p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
|
|
33957
|
+
:rtype: int
|
|
33958
|
+
"""
|
|
33959
|
+
return self._TriggerCondition
|
|
33960
|
+
|
|
33961
|
+
@TriggerCondition.setter
|
|
33962
|
+
def TriggerCondition(self, TriggerCondition):
|
|
33963
|
+
self._TriggerCondition = TriggerCondition
|
|
33964
|
+
|
|
33853
33965
|
|
|
33854
33966
|
def _deserialize(self, params):
|
|
33855
33967
|
self._TemplateId = params.get("TemplateId")
|
|
@@ -33859,6 +33971,7 @@ class ModifyLivePadTemplateRequest(AbstractModel):
|
|
|
33859
33971
|
self._TemplateName = params.get("TemplateName")
|
|
33860
33972
|
self._Description = params.get("Description")
|
|
33861
33973
|
self._Type = params.get("Type")
|
|
33974
|
+
self._TriggerCondition = params.get("TriggerCondition")
|
|
33862
33975
|
memeber_set = set(params.keys())
|
|
33863
33976
|
for name, value in vars(self).items():
|
|
33864
33977
|
property_name = name[1:]
|
|
@@ -36104,6 +36217,40 @@ class ModifyLiveTranscodeTemplateResponse(AbstractModel):
|
|
|
36104
36217
|
self._RequestId = params.get("RequestId")
|
|
36105
36218
|
|
|
36106
36219
|
|
|
36220
|
+
class ModifyOriginStreamInfoRequest(AbstractModel):
|
|
36221
|
+
r"""ModifyOriginStreamInfo请求参数结构体
|
|
36222
|
+
|
|
36223
|
+
"""
|
|
36224
|
+
|
|
36225
|
+
|
|
36226
|
+
class ModifyOriginStreamInfoResponse(AbstractModel):
|
|
36227
|
+
r"""ModifyOriginStreamInfo返回参数结构体
|
|
36228
|
+
|
|
36229
|
+
"""
|
|
36230
|
+
|
|
36231
|
+
def __init__(self):
|
|
36232
|
+
r"""
|
|
36233
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36234
|
+
:type RequestId: str
|
|
36235
|
+
"""
|
|
36236
|
+
self._RequestId = None
|
|
36237
|
+
|
|
36238
|
+
@property
|
|
36239
|
+
def RequestId(self):
|
|
36240
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36241
|
+
:rtype: str
|
|
36242
|
+
"""
|
|
36243
|
+
return self._RequestId
|
|
36244
|
+
|
|
36245
|
+
@RequestId.setter
|
|
36246
|
+
def RequestId(self, RequestId):
|
|
36247
|
+
self._RequestId = RequestId
|
|
36248
|
+
|
|
36249
|
+
|
|
36250
|
+
def _deserialize(self, params):
|
|
36251
|
+
self._RequestId = params.get("RequestId")
|
|
36252
|
+
|
|
36253
|
+
|
|
36107
36254
|
class ModifyPullStreamConfigRequest(AbstractModel):
|
|
36108
36255
|
r"""ModifyPullStreamConfig请求参数结构体
|
|
36109
36256
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-live
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.87
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.87
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=Pur0G5XjrNOy4M3OrvCuMBdvm_9aqR5BTDGHSGOdaXM,629
|
|
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=RFVBgHApsM4yt65uwVTyYoPvZCySPXnaSaC07FEcB58,25014
|
|
5
|
+
tencentcloud/live/v20180801/live_client.py,sha256=Vdg6JgSSwDj61v2IGfW8zRZ5qx6Cd47uQFi90Xux950,234572
|
|
6
|
+
tencentcloud/live/v20180801/live_client_async.py,sha256=SbIyfX3xInOQAc4DVJ4SGOKoNw4uGl7eKqP6oBsy_es,164116
|
|
7
|
+
tencentcloud/live/v20180801/models.py,sha256=jUq3lJE6YLL6H05XkzXFbpHJSIIhWynv4S6jIHl-OOA,1431348
|
|
8
|
+
tencentcloud_sdk_python_live-3.1.87.dist-info/METADATA,sha256=UBgbygP0-KG22gXUbGxy9BR4C4xnruFr2vcyacMMJMM,1500
|
|
9
|
+
tencentcloud_sdk_python_live-3.1.87.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_live-3.1.87.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_live-3.1.87.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=iWEe0JW7BkO87vz_mMjdpW6AjcGb-xr0Sj8S9orjSQg,629
|
|
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=5-NJAgGBXD0E71Ow7pkfD9_sc1oW_lihRR5m2sqpzi8,24861
|
|
5
|
-
tencentcloud/live/v20180801/live_client.py,sha256=Sdgf3w1FyqYdS0lZUXd6TIxhGDb03G9fVrSwcYuWchE,231788
|
|
6
|
-
tencentcloud/live/v20180801/live_client_async.py,sha256=848oxsafokrMvSaWtyid55FDzQrmYC9U0Dfq-yElykc,162247
|
|
7
|
-
tencentcloud/live/v20180801/models.py,sha256=B9OOmb9kOaMpWECSUXOvpCrhF04WB1bSSHp_uu_YUXE,1424856
|
|
8
|
-
tencentcloud_sdk_python_live-3.1.78.dist-info/METADATA,sha256=xf1u3k2CNkPUPxWxykyLY6afEW9NPFNlA23OcT2WoWc,1500
|
|
9
|
-
tencentcloud_sdk_python_live-3.1.78.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_live-3.1.78.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_live-3.1.78.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|