tencentcloud-sdk-python-live 3.0.1127__tar.gz → 3.0.1137__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.
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/setup.py +1 -1
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud/live/v20180801/live_client.py +1 -1
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud/live/v20180801/models.py +53 -4
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-live-3.0.1137/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-live-3.0.1127/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/README.rst +0 -0
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/setup.cfg +0 -0
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-live-3.0.1127 → tencentcloud-sdk-python-live-3.0.1137}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1137"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Live SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -601,7 +601,7 @@ class LiveClient(AbstractClient):
|
|
|
601
601
|
"""创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。
|
|
602
602
|
- 使用前提
|
|
603
603
|
1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。
|
|
604
|
-
2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考
|
|
604
|
+
2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考[对应文档](https://cloud.tencent.com/document/product/266/2837)。
|
|
605
605
|
- 注意事项
|
|
606
606
|
1. 断流会结束当前录制并生成录制文件。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常录制,与是否多次推、断流无关。
|
|
607
607
|
2. 使用上避免创建时间段相互重叠的录制任务。若同一条流当前存在多个时段重叠的任务,为避免重复录制系统将启动最多3个录制任务。
|
|
@@ -4176,6 +4176,8 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
|
|
|
4176
4176
|
:type AllowMonitorReport: int
|
|
4177
4177
|
:param _AiFormatDiagnose: 是否开启格式诊断。
|
|
4178
4178
|
:type AiFormatDiagnose: int
|
|
4179
|
+
:param _AiQualityControl: 是否开启内容质检。
|
|
4180
|
+
:type AiQualityControl: int
|
|
4179
4181
|
"""
|
|
4180
4182
|
self._OutputInfo = None
|
|
4181
4183
|
self._InputList = None
|
|
@@ -4189,6 +4191,7 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
|
|
|
4189
4191
|
self._CheckStreamLowFrameRate = None
|
|
4190
4192
|
self._AllowMonitorReport = None
|
|
4191
4193
|
self._AiFormatDiagnose = None
|
|
4194
|
+
self._AiQualityControl = None
|
|
4192
4195
|
|
|
4193
4196
|
@property
|
|
4194
4197
|
def OutputInfo(self):
|
|
@@ -4286,6 +4289,14 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
|
|
|
4286
4289
|
def AiFormatDiagnose(self, AiFormatDiagnose):
|
|
4287
4290
|
self._AiFormatDiagnose = AiFormatDiagnose
|
|
4288
4291
|
|
|
4292
|
+
@property
|
|
4293
|
+
def AiQualityControl(self):
|
|
4294
|
+
return self._AiQualityControl
|
|
4295
|
+
|
|
4296
|
+
@AiQualityControl.setter
|
|
4297
|
+
def AiQualityControl(self, AiQualityControl):
|
|
4298
|
+
self._AiQualityControl = AiQualityControl
|
|
4299
|
+
|
|
4289
4300
|
|
|
4290
4301
|
def _deserialize(self, params):
|
|
4291
4302
|
if params.get("OutputInfo") is not None:
|
|
@@ -4309,6 +4320,7 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
|
|
|
4309
4320
|
self._CheckStreamLowFrameRate = params.get("CheckStreamLowFrameRate")
|
|
4310
4321
|
self._AllowMonitorReport = params.get("AllowMonitorReport")
|
|
4311
4322
|
self._AiFormatDiagnose = params.get("AiFormatDiagnose")
|
|
4323
|
+
self._AiQualityControl = params.get("AiQualityControl")
|
|
4312
4324
|
memeber_set = set(params.keys())
|
|
4313
4325
|
for name, value in vars(self).items():
|
|
4314
4326
|
property_name = name[1:]
|
|
@@ -5314,9 +5326,9 @@ class CreateRecordTaskRequest(AbstractModel):
|
|
|
5314
5326
|
:type DomainName: str
|
|
5315
5327
|
:param _AppName: 推流路径。
|
|
5316
5328
|
:type AppName: str
|
|
5317
|
-
:param _EndTime: 录制任务结束时间,Unix时间戳。设置时间必须大于StartTime
|
|
5329
|
+
:param _EndTime: 录制任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且小于当前时间+7天。
|
|
5318
5330
|
:type EndTime: int
|
|
5319
|
-
:param _StartTime: 录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。StartTime
|
|
5331
|
+
:param _StartTime: 录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。EndTime - StartTime不能超过24小时。
|
|
5320
5332
|
:type StartTime: int
|
|
5321
5333
|
:param _StreamType: 推流类型,默认0。取值:
|
|
5322
5334
|
0-直播推流。
|
|
@@ -5470,11 +5482,11 @@ class CreateScreenshotTaskRequest(AbstractModel):
|
|
|
5470
5482
|
:type DomainName: str
|
|
5471
5483
|
:param _AppName: 推流路径。
|
|
5472
5484
|
:type AppName: str
|
|
5473
|
-
:param _EndTime: 截图任务结束时间,Unix时间戳。设置时间必须大于StartTime
|
|
5485
|
+
:param _EndTime: 截图任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且小于当前时间+7天。
|
|
5474
5486
|
:type EndTime: int
|
|
5475
5487
|
:param _TemplateId: 截图模板ID,CreateLiveSnapshotTemplate 返回值。如果传入错误ID,则不拉起截图。
|
|
5476
5488
|
:type TemplateId: int
|
|
5477
|
-
:param _StartTime: 截图任务开始时间,Unix时间戳。如果不填表示立即启动截图。StartTime
|
|
5489
|
+
:param _StartTime: 截图任务开始时间,Unix时间戳。如果不填表示立即启动截图。EndTime - StartTime不能超过24小时。
|
|
5478
5490
|
:type StartTime: int
|
|
5479
5491
|
:param _StreamType: 推流类型,默认0。取值:
|
|
5480
5492
|
0-直播推流。
|
|
@@ -18133,6 +18145,9 @@ class LiveStreamMonitorInfo(AbstractModel):
|
|
|
18133
18145
|
:param _AiFormatDiagnose: 是否开启格式诊断
|
|
18134
18146
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18135
18147
|
:type AiFormatDiagnose: int
|
|
18148
|
+
:param _AiQualityControl: 是否开启内容质检。
|
|
18149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18150
|
+
:type AiQualityControl: int
|
|
18136
18151
|
"""
|
|
18137
18152
|
self._MonitorId = None
|
|
18138
18153
|
self._MonitorName = None
|
|
@@ -18153,6 +18168,7 @@ class LiveStreamMonitorInfo(AbstractModel):
|
|
|
18153
18168
|
self._AiOcrInputIndexList = None
|
|
18154
18169
|
self._AllowMonitorReport = None
|
|
18155
18170
|
self._AiFormatDiagnose = None
|
|
18171
|
+
self._AiQualityControl = None
|
|
18156
18172
|
|
|
18157
18173
|
@property
|
|
18158
18174
|
def MonitorId(self):
|
|
@@ -18306,6 +18322,14 @@ class LiveStreamMonitorInfo(AbstractModel):
|
|
|
18306
18322
|
def AiFormatDiagnose(self, AiFormatDiagnose):
|
|
18307
18323
|
self._AiFormatDiagnose = AiFormatDiagnose
|
|
18308
18324
|
|
|
18325
|
+
@property
|
|
18326
|
+
def AiQualityControl(self):
|
|
18327
|
+
return self._AiQualityControl
|
|
18328
|
+
|
|
18329
|
+
@AiQualityControl.setter
|
|
18330
|
+
def AiQualityControl(self, AiQualityControl):
|
|
18331
|
+
self._AiQualityControl = AiQualityControl
|
|
18332
|
+
|
|
18309
18333
|
|
|
18310
18334
|
def _deserialize(self, params):
|
|
18311
18335
|
self._MonitorId = params.get("MonitorId")
|
|
@@ -18336,6 +18360,7 @@ class LiveStreamMonitorInfo(AbstractModel):
|
|
|
18336
18360
|
self._AiOcrInputIndexList = params.get("AiOcrInputIndexList")
|
|
18337
18361
|
self._AllowMonitorReport = params.get("AllowMonitorReport")
|
|
18338
18362
|
self._AiFormatDiagnose = params.get("AiFormatDiagnose")
|
|
18363
|
+
self._AiQualityControl = params.get("AiQualityControl")
|
|
18339
18364
|
memeber_set = set(params.keys())
|
|
18340
18365
|
for name, value in vars(self).items():
|
|
18341
18366
|
property_name = name[1:]
|
|
@@ -19587,6 +19612,8 @@ PullVodPushLive -点播。
|
|
|
19587
19612
|
:param _BackupToUrl: 新的目标地址。传空值,则取消该地址的推流。
|
|
19588
19613
|
传入新值,则替换原有地址。
|
|
19589
19614
|
:type BackupToUrl: str
|
|
19615
|
+
:param _BackupVodUrl: 点播垫片文件地址。注意:用于在主源拉不到时自动兜底到垫片文件,切到垫片文件后,每次播完垫片会尝试拉主源,如果主源恢复则自动切回主源。可根据需要的轮询检查时长来传入对应时长的垫片文件。
|
|
19616
|
+
:type BackupVodUrl: str
|
|
19590
19617
|
"""
|
|
19591
19618
|
self._TaskId = None
|
|
19592
19619
|
self._Operator = None
|
|
@@ -19608,6 +19635,7 @@ PullVodPushLive -点播。
|
|
|
19608
19635
|
self._WatermarkList = None
|
|
19609
19636
|
self._VodLocalMode = None
|
|
19610
19637
|
self._BackupToUrl = None
|
|
19638
|
+
self._BackupVodUrl = None
|
|
19611
19639
|
|
|
19612
19640
|
@property
|
|
19613
19641
|
def TaskId(self):
|
|
@@ -19769,6 +19797,14 @@ PullVodPushLive -点播。
|
|
|
19769
19797
|
def BackupToUrl(self, BackupToUrl):
|
|
19770
19798
|
self._BackupToUrl = BackupToUrl
|
|
19771
19799
|
|
|
19800
|
+
@property
|
|
19801
|
+
def BackupVodUrl(self):
|
|
19802
|
+
return self._BackupVodUrl
|
|
19803
|
+
|
|
19804
|
+
@BackupVodUrl.setter
|
|
19805
|
+
def BackupVodUrl(self, BackupVodUrl):
|
|
19806
|
+
self._BackupVodUrl = BackupVodUrl
|
|
19807
|
+
|
|
19772
19808
|
|
|
19773
19809
|
def _deserialize(self, params):
|
|
19774
19810
|
self._TaskId = params.get("TaskId")
|
|
@@ -19796,6 +19832,7 @@ PullVodPushLive -点播。
|
|
|
19796
19832
|
self._WatermarkList.append(obj)
|
|
19797
19833
|
self._VodLocalMode = params.get("VodLocalMode")
|
|
19798
19834
|
self._BackupToUrl = params.get("BackupToUrl")
|
|
19835
|
+
self._BackupVodUrl = params.get("BackupVodUrl")
|
|
19799
19836
|
memeber_set = set(params.keys())
|
|
19800
19837
|
for name, value in vars(self).items():
|
|
19801
19838
|
property_name = name[1:]
|
|
@@ -20366,6 +20403,8 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
|
|
|
20366
20403
|
:type AllowMonitorReport: int
|
|
20367
20404
|
:param _AiFormatDiagnose: 是否开启格式诊断。
|
|
20368
20405
|
:type AiFormatDiagnose: int
|
|
20406
|
+
:param _AiQualityControl: 是否开启内容质检。
|
|
20407
|
+
:type AiQualityControl: int
|
|
20369
20408
|
"""
|
|
20370
20409
|
self._MonitorId = None
|
|
20371
20410
|
self._MonitorName = None
|
|
@@ -20380,6 +20419,7 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
|
|
|
20380
20419
|
self._CheckStreamLowFrameRate = None
|
|
20381
20420
|
self._AllowMonitorReport = None
|
|
20382
20421
|
self._AiFormatDiagnose = None
|
|
20422
|
+
self._AiQualityControl = None
|
|
20383
20423
|
|
|
20384
20424
|
@property
|
|
20385
20425
|
def MonitorId(self):
|
|
@@ -20485,6 +20525,14 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
|
|
|
20485
20525
|
def AiFormatDiagnose(self, AiFormatDiagnose):
|
|
20486
20526
|
self._AiFormatDiagnose = AiFormatDiagnose
|
|
20487
20527
|
|
|
20528
|
+
@property
|
|
20529
|
+
def AiQualityControl(self):
|
|
20530
|
+
return self._AiQualityControl
|
|
20531
|
+
|
|
20532
|
+
@AiQualityControl.setter
|
|
20533
|
+
def AiQualityControl(self, AiQualityControl):
|
|
20534
|
+
self._AiQualityControl = AiQualityControl
|
|
20535
|
+
|
|
20488
20536
|
|
|
20489
20537
|
def _deserialize(self, params):
|
|
20490
20538
|
self._MonitorId = params.get("MonitorId")
|
|
@@ -20509,6 +20557,7 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
|
|
|
20509
20557
|
self._CheckStreamLowFrameRate = params.get("CheckStreamLowFrameRate")
|
|
20510
20558
|
self._AllowMonitorReport = params.get("AllowMonitorReport")
|
|
20511
20559
|
self._AiFormatDiagnose = params.get("AiFormatDiagnose")
|
|
20560
|
+
self._AiQualityControl = params.get("AiQualityControl")
|
|
20512
20561
|
memeber_set = set(params.keys())
|
|
20513
20562
|
for name, value in vars(self).items():
|
|
20514
20563
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1137
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1127
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|