tencentcloud-sdk-python-live 3.0.874__py2.py3-none-any.whl → 3.0.897__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-live might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.874'
17
+ __version__ = '3.0.897'
@@ -2115,6 +2115,29 @@ class LiveClient(AbstractClient):
2115
2115
  raise TencentCloudSDKException(e.message, e.message)
2116
2116
 
2117
2117
 
2118
+ def DescribeLiveXP2PDetailInfoList(self, request):
2119
+ """P2P流数据查询接口,用来获取流量、卡播和起播信息。
2120
+
2121
+ :param request: Request instance for DescribeLiveXP2PDetailInfoList.
2122
+ :type request: :class:`tencentcloud.live.v20180801.models.DescribeLiveXP2PDetailInfoListRequest`
2123
+ :rtype: :class:`tencentcloud.live.v20180801.models.DescribeLiveXP2PDetailInfoListResponse`
2124
+
2125
+ """
2126
+ try:
2127
+ params = request._serialize()
2128
+ headers = request.headers
2129
+ body = self.call("DescribeLiveXP2PDetailInfoList", params, headers=headers)
2130
+ response = json.loads(body)
2131
+ model = models.DescribeLiveXP2PDetailInfoListResponse()
2132
+ model._deserialize(response["Response"])
2133
+ return model
2134
+ except Exception as e:
2135
+ if isinstance(e, TencentCloudSDKException):
2136
+ raise
2137
+ else:
2138
+ raise TencentCloudSDKException(e.message, e.message)
2139
+
2140
+
2118
2141
  def DescribeLogDownloadList(self, request):
2119
2142
  """批量获取日志URL。
2120
2143
 
@@ -2516,7 +2539,7 @@ class LiveClient(AbstractClient):
2516
2539
 
2517
2540
 
2518
2541
  def DescribeUploadStreamNums(self, request):
2519
- """直播上行路数查询
2542
+ """直播上行路数查询。
2520
2543
 
2521
2544
  :param request: Request instance for DescribeUploadStreamNums.
2522
2545
  :type request: :class:`tencentcloud.live.v20180801.models.DescribeUploadStreamNumsRequest`
@@ -297,7 +297,9 @@ class BandwidthInfo(AbstractModel):
297
297
  def __init__(self):
298
298
  r"""
299
299
  :param Time: 返回格式:
300
- yyyy-mm-dd HH:MM:SS
300
+ 使用UTC格式时间,
301
+ 例如:2019-01-08T10:00:00Z。
302
+ 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
301
303
  根据粒度会有不同程度的缩减。
302
304
  :type Time: str
303
305
  :param Bandwidth: 带宽。
@@ -424,13 +426,20 @@ class BillDataInfo(AbstractModel):
424
426
 
425
427
  def __init__(self):
426
428
  r"""
427
- :param Time: 时间点,格式: yyyy-mm-dd HH:MM:SS。
429
+ :param Time: 时间点,
430
+ 使用UTC格式时间,
431
+ 例如:2019-01-08T10:00:00Z。
432
+ 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
428
433
  :type Time: str
429
434
  :param Bandwidth: 带宽,单位是 Mbps。
430
435
  :type Bandwidth: float
431
436
  :param Flux: 流量,单位是 MB。
432
437
  :type Flux: float
433
- :param PeakTime: 峰值时间点,格式: yyyy-mm-dd HH:MM:SS,原始数据为5分钟粒度,如果查询小时和天粒度数据,则返回对应粒度内的带宽峰值时间点。
438
+ :param PeakTime: 峰值时间点,
439
+ 使用UTC格式时间,
440
+ 例如:2019-01-08T10:00:00Z。
441
+ 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
442
+ 原始数据为5分钟粒度,如果查询小时和天粒度数据,则返回对应粒度内的带宽峰值时间点。
434
443
  :type PeakTime: str
435
444
  """
436
445
  self.Time = None
@@ -525,6 +534,9 @@ class CallBackTemplateInfo(AbstractModel):
525
534
  :param PushExceptionNotifyUrl: 推流异常回调 URL。
526
535
  注意:此字段可能返回 null,表示取不到有效值。
527
536
  :type PushExceptionNotifyUrl: str
537
+ :param AudioAuditNotifyUrl: 音频审核回调 URL。
538
+ 注意:此字段可能返回 null,表示取不到有效值。
539
+ :type AudioAuditNotifyUrl: str
528
540
  """
529
541
  self.TemplateId = None
530
542
  self.TemplateName = None
@@ -537,6 +549,7 @@ class CallBackTemplateInfo(AbstractModel):
537
549
  self.PornCensorshipNotifyUrl = None
538
550
  self.CallbackKey = None
539
551
  self.PushExceptionNotifyUrl = None
552
+ self.AudioAuditNotifyUrl = None
540
553
 
541
554
 
542
555
  def _deserialize(self, params):
@@ -551,6 +564,7 @@ class CallBackTemplateInfo(AbstractModel):
551
564
  self.PornCensorshipNotifyUrl = params.get("PornCensorshipNotifyUrl")
552
565
  self.CallbackKey = params.get("CallbackKey")
553
566
  self.PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
567
+ self.AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
554
568
  memeber_set = set(params.keys())
555
569
  for name, value in vars(self).items():
556
570
  if name in memeber_set:
@@ -657,7 +671,10 @@ class CdnPlayStatData(AbstractModel):
657
671
 
658
672
  def __init__(self):
659
673
  r"""
660
- :param Time: 时间点,格式: yyyy-mm-dd HH:MM:SS。
674
+ :param Time: 时间点,
675
+ 使用UTC格式时间,
676
+ 例如:2019-01-08T10:00:00Z。
677
+ 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
661
678
  :type Time: str
662
679
  :param Bandwidth: 带宽,单位: Mbps。
663
680
  :type Bandwidth: float
@@ -1228,7 +1245,7 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1228
1245
  :param SnapshotNotifyUrl: 截图回调 URL,
1229
1246
  相关协议文档:[事件消息通知](/document/product/267/32744)。
1230
1247
  :type SnapshotNotifyUrl: str
1231
- :param PornCensorshipNotifyUrl: 鉴黄回调 URL,
1248
+ :param PornCensorshipNotifyUrl: 鉴黄回调 URL
1232
1249
  相关协议文档:[事件消息通知](/document/product/267/32741)。
1233
1250
  :type PornCensorshipNotifyUrl: str
1234
1251
  :param CallbackKey: 回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。
@@ -1238,6 +1255,8 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1238
1255
  :type StreamMixNotifyUrl: str
1239
1256
  :param PushExceptionNotifyUrl: 推流异常回调 URL。
1240
1257
  :type PushExceptionNotifyUrl: str
1258
+ :param AudioAuditNotifyUrl: 音频审核回调 URL。
1259
+ :type AudioAuditNotifyUrl: str
1241
1260
  """
1242
1261
  self.TemplateName = None
1243
1262
  self.Description = None
@@ -1249,6 +1268,7 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1249
1268
  self.CallbackKey = None
1250
1269
  self.StreamMixNotifyUrl = None
1251
1270
  self.PushExceptionNotifyUrl = None
1271
+ self.AudioAuditNotifyUrl = None
1252
1272
 
1253
1273
 
1254
1274
  def _deserialize(self, params):
@@ -1262,6 +1282,7 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1262
1282
  self.CallbackKey = params.get("CallbackKey")
1263
1283
  self.StreamMixNotifyUrl = params.get("StreamMixNotifyUrl")
1264
1284
  self.PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
1285
+ self.AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
1265
1286
  memeber_set = set(params.keys())
1266
1287
  for name, value in vars(self).items():
1267
1288
  if name in memeber_set:
@@ -3565,9 +3586,14 @@ class DescribeBillBandwidthAndFluxListRequest(AbstractModel):
3565
3586
 
3566
3587
  def __init__(self):
3567
3588
  r"""
3568
- :param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
3589
+ :param StartTime: 起始时间点,接口查询支持两种时间格式:
3590
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3591
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3569
3592
  :type StartTime: str
3570
- :param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
3593
+ :param EndTime: 结束时间点,接口查询支持两种时间格式:
3594
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3595
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3596
+ 起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
3571
3597
  :type EndTime: str
3572
3598
  :param PlayDomains: 直播播放域名,若不填,表示总体数据。
3573
3599
  :type PlayDomains: list of str
@@ -3630,11 +3656,15 @@ class DescribeBillBandwidthAndFluxListResponse(AbstractModel):
3630
3656
 
3631
3657
  def __init__(self):
3632
3658
  r"""
3633
- :param PeakBandwidthTime: 峰值带宽所在时间点,格式为yyyy-mm-dd HH:MM:SS。
3659
+ :param PeakBandwidthTime: 峰值带宽所在时间点,接口返回支持两种时间格式(与接口请求传递的时间格式一致):
3660
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3661
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3634
3662
  :type PeakBandwidthTime: str
3635
3663
  :param PeakBandwidth: 峰值带宽,单位是Mbps。
3636
3664
  :type PeakBandwidth: float
3637
- :param P95PeakBandwidthTime: 95峰值带宽所在时间点,格式为yyyy-mm-dd HH:MM:SS。
3665
+ :param P95PeakBandwidthTime: 95峰值带宽所在时间点,接口返回支持两种时间格式(与接口请求传递的时间格式一致):
3666
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3667
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3638
3668
  :type P95PeakBandwidthTime: str
3639
3669
  :param P95PeakBandwidth: 95峰值带宽,单位是Mbps。
3640
3670
  :type P95PeakBandwidth: float
@@ -3774,10 +3804,14 @@ class DescribeConcurrentRecordStreamNumRequest(AbstractModel):
3774
3804
  :param LiveType: 直播类型,SlowLive:慢直播。
3775
3805
  NormalLive:普通直播。
3776
3806
  :type LiveType: str
3777
- :param StartTime: 起始时间,格式:yyyy-mm-dd HH:MM:SS。
3807
+ :param StartTime: 起始时间点,接口查询支持两种时间格式:
3808
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3809
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3778
3810
  可以查询最近180天的数据。
3779
3811
  :type StartTime: str
3780
- :param EndTime: 结束时间,格式:yyyy-mm-dd HH:MM:SS。
3812
+ :param EndTime: 结束时间点,接口查询支持两种时间格式:
3813
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3814
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3781
3815
  时间跨度最大支持31天。
3782
3816
  :type EndTime: str
3783
3817
  :param MainlandOrOversea: 如果为空,查询所有地区数据;如果为“Mainland”,查询国内数据;如果为“Oversea”,则查询国外数据。
@@ -3840,9 +3874,14 @@ class DescribeDeliverBandwidthListRequest(AbstractModel):
3840
3874
 
3841
3875
  def __init__(self):
3842
3876
  r"""
3843
- :param StartTime: 起始时间,格式为%Y-%m-%d %H:%M:%S。
3877
+ :param StartTime: 起始时间点,接口查询支持两种时间格式:
3878
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3879
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3844
3880
  :type StartTime: str
3845
- :param EndTime: 结束时间,格式为%Y-%m-%d %H:%M:%S,支持最近三个月的数据查询,时间跨度最大是1个月。
3881
+ :param EndTime: 结束时间点,接口查询支持两种时间格式:
3882
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3883
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
3884
+ 支持最近三个月的数据查询,时间跨度最大是1个月。
3846
3885
  :type EndTime: str
3847
3886
  """
3848
3887
  self.StartTime = None
@@ -6040,11 +6079,14 @@ class DescribeLiveTranscodeTotalInfoRequest(AbstractModel):
6040
6079
 
6041
6080
  def __init__(self):
6042
6081
  r"""
6043
- :param StartTime: 开始时间,北京时间。
6044
- 格式:yyyy-mm-dd HH:MM:SS。
6082
+ :param StartTime: 结束时间点,接口查询支持两种时间格式:
6083
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
6084
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
6045
6085
  :type StartTime: str
6046
- :param EndTime: 结束时间,北京时间。
6047
- 格式:yyyy-mm-dd HH:MM:SS。
6086
+ :param EndTime: 结束时间,
6087
+ 使用UTC格式时间,
6088
+ 例如:2019-01-08T10:00:00Z。
6089
+ 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
6048
6090
  :type EndTime: str
6049
6091
  :param PushDomains: 推流域名列表,若不填,表示查询所有域名总体数据。
6050
6092
  指定域名时返回1小时粒度数据。
@@ -6217,6 +6259,71 @@ class DescribeLiveWatermarksResponse(AbstractModel):
6217
6259
  self.RequestId = params.get("RequestId")
6218
6260
 
6219
6261
 
6262
+ class DescribeLiveXP2PDetailInfoListRequest(AbstractModel):
6263
+ """DescribeLiveXP2PDetailInfoList请求参数结构体
6264
+
6265
+ """
6266
+
6267
+ def __init__(self):
6268
+ r"""
6269
+ :param QueryTime: utc分钟粒度查询时间,查询某一分钟的用量数据,格式为:yyyy-mm-ddTHH:MM:00Z,参考https://cloud.tencent.com/document/product/266/11732#I,
6270
+ 例如:北京时间2019-01-08 10:00:00,对应utc时间为:2019-01-08T10:00:00+08:00。
6271
+
6272
+ 支持最近六个月的查询。
6273
+ :type QueryTime: str
6274
+ :param Type: 类型数组,分直播live和点播vod,不传默认查全部。
6275
+ :type Type: list of str
6276
+ :param StreamNames: 查询流数组,不传默认查所有流。
6277
+ :type StreamNames: list of str
6278
+ :param Dimension: 查询维度,不传该参数则默认查询流维度的数据,传递该参数则只查对应维度的数据,和返回值的字段相关,目前支持AppId维度查询。
6279
+ :type Dimension: list of str
6280
+ """
6281
+ self.QueryTime = None
6282
+ self.Type = None
6283
+ self.StreamNames = None
6284
+ self.Dimension = None
6285
+
6286
+
6287
+ def _deserialize(self, params):
6288
+ self.QueryTime = params.get("QueryTime")
6289
+ self.Type = params.get("Type")
6290
+ self.StreamNames = params.get("StreamNames")
6291
+ self.Dimension = params.get("Dimension")
6292
+ memeber_set = set(params.keys())
6293
+ for name, value in vars(self).items():
6294
+ if name in memeber_set:
6295
+ memeber_set.remove(name)
6296
+ if len(memeber_set) > 0:
6297
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6298
+
6299
+
6300
+
6301
+ class DescribeLiveXP2PDetailInfoListResponse(AbstractModel):
6302
+ """DescribeLiveXP2PDetailInfoList返回参数结构体
6303
+
6304
+ """
6305
+
6306
+ def __init__(self):
6307
+ r"""
6308
+ :param DataInfoList: P2P流统计信息。
6309
+ :type DataInfoList: list of XP2PDetailInfo
6310
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6311
+ :type RequestId: str
6312
+ """
6313
+ self.DataInfoList = None
6314
+ self.RequestId = None
6315
+
6316
+
6317
+ def _deserialize(self, params):
6318
+ if params.get("DataInfoList") is not None:
6319
+ self.DataInfoList = []
6320
+ for item in params.get("DataInfoList"):
6321
+ obj = XP2PDetailInfo()
6322
+ obj._deserialize(item)
6323
+ self.DataInfoList.append(obj)
6324
+ self.RequestId = params.get("RequestId")
6325
+
6326
+
6220
6327
  class DescribeLogDownloadListRequest(AbstractModel):
6221
6328
  """DescribeLogDownloadList请求参数结构体
6222
6329
 
@@ -6945,9 +7052,14 @@ class DescribeScreenShotSheetNumListRequest(AbstractModel):
6945
7052
 
6946
7053
  def __init__(self):
6947
7054
  r"""
6948
- :param StartTime: utc起始时间,格式为yyyy-mm-ddTHH:MM:SSZ
7055
+ :param StartTime: 起始时间点,接口查询支持两种时间格式:
7056
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
7057
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
6949
7058
  :type StartTime: str
6950
- :param EndTime: utc结束时间,格式为yyyy-mm-ddTHH:MM:SSZ,支持查询最近1年数据。
7059
+ :param EndTime: 结束时间点,接口查询支持两种时间格式:
7060
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
7061
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
7062
+ 支持查询最近1年的数据。
6951
7063
  :type EndTime: str
6952
7064
  :param Zone: 地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
6953
7065
  :type Zone: str
@@ -7628,9 +7740,14 @@ class DescribeUploadStreamNumsRequest(AbstractModel):
7628
7740
 
7629
7741
  def __init__(self):
7630
7742
  r"""
7631
- :param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
7743
+ :param StartTime: 起始时间点,接口查询支持两种时间格式:
7744
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
7745
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
7632
7746
  :type StartTime: str
7633
- :param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过31天。支持最近31天的数据查询
7747
+ :param EndTime: 结束时间点,接口查询支持两种时间格式:
7748
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
7749
+ 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
7750
+ 起始和结束时间跨度不支持超过31天。支持最近31天的数据查询
7634
7751
  :type EndTime: str
7635
7752
  :param Domains: 直播域名,若不填,表示总体数据。
7636
7753
  :type Domains: list of str
@@ -8604,6 +8721,15 @@ class LivePackageInfo(AbstractModel):
8604
8721
  4: 已耗尽。
8605
8722
  5: 已退款
8606
8723
  :type Status: int
8724
+ :param WillRenew: 是否自动续购。
8725
+ 注意:此字段可能返回 null,表示取不到有效值。
8726
+ :type WillRenew: int
8727
+ :param RenewalResult: 续购状态。
8728
+ 1 :续购成功。
8729
+ 0 :尚未续购。
8730
+ <0 : 续购失败。
8731
+ 注意:此字段可能返回 null,表示取不到有效值。
8732
+ :type RenewalResult: int
8607
8733
  """
8608
8734
  self.Id = None
8609
8735
  self.Total = None
@@ -8613,6 +8739,8 @@ class LivePackageInfo(AbstractModel):
8613
8739
  self.ExpireTime = None
8614
8740
  self.Type = None
8615
8741
  self.Status = None
8742
+ self.WillRenew = None
8743
+ self.RenewalResult = None
8616
8744
 
8617
8745
 
8618
8746
  def _deserialize(self, params):
@@ -8624,6 +8752,8 @@ class LivePackageInfo(AbstractModel):
8624
8752
  self.ExpireTime = params.get("ExpireTime")
8625
8753
  self.Type = params.get("Type")
8626
8754
  self.Status = params.get("Status")
8755
+ self.WillRenew = params.get("WillRenew")
8756
+ self.RenewalResult = params.get("RenewalResult")
8627
8757
  memeber_set = set(params.keys())
8628
8758
  for name, value in vars(self).items():
8629
8759
  if name in memeber_set:
@@ -8698,6 +8828,8 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
8698
8828
  :type CallbackKey: str
8699
8829
  :param PushExceptionNotifyUrl: 推流异常回调 URL。
8700
8830
  :type PushExceptionNotifyUrl: str
8831
+ :param AudioAuditNotifyUrl: 音频审核回调 URL。
8832
+ :type AudioAuditNotifyUrl: str
8701
8833
  """
8702
8834
  self.TemplateId = None
8703
8835
  self.TemplateName = None
@@ -8709,6 +8841,7 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
8709
8841
  self.PornCensorshipNotifyUrl = None
8710
8842
  self.CallbackKey = None
8711
8843
  self.PushExceptionNotifyUrl = None
8844
+ self.AudioAuditNotifyUrl = None
8712
8845
 
8713
8846
 
8714
8847
  def _deserialize(self, params):
@@ -8722,6 +8855,7 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
8722
8855
  self.PornCensorshipNotifyUrl = params.get("PornCensorshipNotifyUrl")
8723
8856
  self.CallbackKey = params.get("CallbackKey")
8724
8857
  self.PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
8858
+ self.AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
8725
8859
  memeber_set = set(params.keys())
8726
8860
  for name, value in vars(self).items():
8727
8861
  if name in memeber_set:
@@ -11955,8 +12089,10 @@ class TranscodeTotalInfo(AbstractModel):
11955
12089
 
11956
12090
  def __init__(self):
11957
12091
  r"""
11958
- :param Time: 时间点,北京时间,
11959
- 示例:2019-03-01 00:00:00。
12092
+ :param Time: 时间点,
12093
+ 使用UTC格式时间,
12094
+ 例如:2019-01-08T10:00:00Z。
12095
+ 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
11960
12096
  :type Time: str
11961
12097
  :param Duration: 转码时长,单位:分钟。
11962
12098
  :type Duration: int
@@ -12163,4 +12299,71 @@ class WatermarkInfo(AbstractModel):
12163
12299
  memeber_set.remove(name)
12164
12300
  if len(memeber_set) > 0:
12165
12301
  warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12302
+
12303
+
12304
+
12305
+ class XP2PDetailInfo(AbstractModel):
12306
+ """央视P2P流信息。
12307
+
12308
+ """
12309
+
12310
+ def __init__(self):
12311
+ r"""
12312
+ :param CdnBytes: CDN流量。
12313
+ :type CdnBytes: int
12314
+ :param P2pBytes: P2P流量。
12315
+ :type P2pBytes: int
12316
+ :param StuckPeople: 卡播人数。
12317
+ :type StuckPeople: int
12318
+ :param StuckTimes: 卡播次数。
12319
+ :type StuckTimes: int
12320
+ :param OnlinePeople: 在线人数。
12321
+ :type OnlinePeople: int
12322
+ :param Request: 起播请求次数
12323
+ :type Request: int
12324
+ :param RequestSuccess: 起播成功次数
12325
+ :type RequestSuccess: int
12326
+ :param Time: 时间,一分钟粒度,utc格式:yyyy-mm-ddTHH:MM:SSZ,参考https://cloud.tencent.com/document/product/266/11732#I。。
12327
+ :type Time: str
12328
+ :param Type: 类型,分live和vod两种。
12329
+ 注意:此字段可能返回 null,表示取不到有效值。
12330
+ :type Type: str
12331
+ :param StreamName: 流ID。
12332
+ 注意:此字段可能返回 null,表示取不到有效值。
12333
+ :type StreamName: str
12334
+ :param AppId: AppId。
12335
+ 注意:此字段可能返回 null,表示取不到有效值。
12336
+ :type AppId: str
12337
+ """
12338
+ self.CdnBytes = None
12339
+ self.P2pBytes = None
12340
+ self.StuckPeople = None
12341
+ self.StuckTimes = None
12342
+ self.OnlinePeople = None
12343
+ self.Request = None
12344
+ self.RequestSuccess = None
12345
+ self.Time = None
12346
+ self.Type = None
12347
+ self.StreamName = None
12348
+ self.AppId = None
12349
+
12350
+
12351
+ def _deserialize(self, params):
12352
+ self.CdnBytes = params.get("CdnBytes")
12353
+ self.P2pBytes = params.get("P2pBytes")
12354
+ self.StuckPeople = params.get("StuckPeople")
12355
+ self.StuckTimes = params.get("StuckTimes")
12356
+ self.OnlinePeople = params.get("OnlinePeople")
12357
+ self.Request = params.get("Request")
12358
+ self.RequestSuccess = params.get("RequestSuccess")
12359
+ self.Time = params.get("Time")
12360
+ self.Type = params.get("Type")
12361
+ self.StreamName = params.get("StreamName")
12362
+ self.AppId = params.get("AppId")
12363
+ memeber_set = set(params.keys())
12364
+ for name, value in vars(self).items():
12365
+ if name in memeber_set:
12366
+ memeber_set.remove(name)
12367
+ if len(memeber_set) > 0:
12368
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12166
12369
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.0.874
3
+ Version: 3.0.897
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,10 @@
1
+ tencentcloud/__init__.py,sha256=E7Cq5QNkJWbCXcuqm8cChPYdgFtV_sK5FNPhMqc50ZY,630
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=JG_JyMv1CAEgfJ4OfMnFuAtiimX_YEUxJKE17mwV1-0,18117
5
+ tencentcloud/live/v20180801/live_client.py,sha256=tdKcVpNPzFhdyr_nmHC3xe24B5Gy2MVRcJabqfAUguo,137459
6
+ tencentcloud/live/v20180801/models.py,sha256=fYOunxR4_OjJ7gVRl06_YeVXnUIK1scDEb5_wQfXgbA,431326
7
+ tencentcloud_sdk_python_live-3.0.897.dist-info/METADATA,sha256=CNvhijxDw8ox1MMzEerOqtT-16LuskNEUyMoDwo6K0g,1437
8
+ tencentcloud_sdk_python_live-3.0.897.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_live-3.0.897.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_live-3.0.897.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=RuZqLssvAYzWAjHc5Y66zrbtkILwXIk6bFl_Ofgb7hM,630
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=JG_JyMv1CAEgfJ4OfMnFuAtiimX_YEUxJKE17mwV1-0,18117
5
- tencentcloud/live/v20180801/live_client.py,sha256=IwbXbTk5emkviHAWI6HnvslXwfBIREEYkTd6FmhqDXI,136457
6
- tencentcloud/live/v20180801/models.py,sha256=naQISQxXl2AHaEa0PzRsyTtCDPKPoP4j28ZgSAUAk-s,421069
7
- tencentcloud_sdk_python_live-3.0.874.dist-info/METADATA,sha256=mHYXbujg7QRSZBxNNUza_PF8P7tClONV12Z9caQRu3c,1437
8
- tencentcloud_sdk_python_live-3.0.874.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_live-3.0.874.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_live-3.0.874.dist-info/RECORD,,