tencentcloud-sdk-python-live 3.0.876__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.876'
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
@@ -662,7 +671,10 @@ class CdnPlayStatData(AbstractModel):
662
671
 
663
672
  def __init__(self):
664
673
  r"""
665
- :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)。
666
678
  :type Time: str
667
679
  :param Bandwidth: 带宽,单位: Mbps。
668
680
  :type Bandwidth: float
@@ -1233,7 +1245,7 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1233
1245
  :param SnapshotNotifyUrl: 截图回调 URL,
1234
1246
  相关协议文档:[事件消息通知](/document/product/267/32744)。
1235
1247
  :type SnapshotNotifyUrl: str
1236
- :param PornCensorshipNotifyUrl: 鉴黄回调 URL,
1248
+ :param PornCensorshipNotifyUrl: 鉴黄回调 URL
1237
1249
  相关协议文档:[事件消息通知](/document/product/267/32741)。
1238
1250
  :type PornCensorshipNotifyUrl: str
1239
1251
  :param CallbackKey: 回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。
@@ -1243,6 +1255,8 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1243
1255
  :type StreamMixNotifyUrl: str
1244
1256
  :param PushExceptionNotifyUrl: 推流异常回调 URL。
1245
1257
  :type PushExceptionNotifyUrl: str
1258
+ :param AudioAuditNotifyUrl: 音频审核回调 URL。
1259
+ :type AudioAuditNotifyUrl: str
1246
1260
  """
1247
1261
  self.TemplateName = None
1248
1262
  self.Description = None
@@ -1254,6 +1268,7 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1254
1268
  self.CallbackKey = None
1255
1269
  self.StreamMixNotifyUrl = None
1256
1270
  self.PushExceptionNotifyUrl = None
1271
+ self.AudioAuditNotifyUrl = None
1257
1272
 
1258
1273
 
1259
1274
  def _deserialize(self, params):
@@ -1267,6 +1282,7 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
1267
1282
  self.CallbackKey = params.get("CallbackKey")
1268
1283
  self.StreamMixNotifyUrl = params.get("StreamMixNotifyUrl")
1269
1284
  self.PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
1285
+ self.AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
1270
1286
  memeber_set = set(params.keys())
1271
1287
  for name, value in vars(self).items():
1272
1288
  if name in memeber_set:
@@ -3570,9 +3586,14 @@ class DescribeBillBandwidthAndFluxListRequest(AbstractModel):
3570
3586
 
3571
3587
  def __init__(self):
3572
3588
  r"""
3573
- :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:使用此格式时,默认代表北京时间。
3574
3592
  :type StartTime: str
3575
- :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年的数据查询
3576
3597
  :type EndTime: str
3577
3598
  :param PlayDomains: 直播播放域名,若不填,表示总体数据。
3578
3599
  :type PlayDomains: list of str
@@ -3635,11 +3656,15 @@ class DescribeBillBandwidthAndFluxListResponse(AbstractModel):
3635
3656
 
3636
3657
  def __init__(self):
3637
3658
  r"""
3638
- :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:使用此格式时,默认代表北京时间。
3639
3662
  :type PeakBandwidthTime: str
3640
3663
  :param PeakBandwidth: 峰值带宽,单位是Mbps。
3641
3664
  :type PeakBandwidth: float
3642
- :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:使用此格式时,默认代表北京时间。
3643
3668
  :type P95PeakBandwidthTime: str
3644
3669
  :param P95PeakBandwidth: 95峰值带宽,单位是Mbps。
3645
3670
  :type P95PeakBandwidth: float
@@ -3779,10 +3804,14 @@ class DescribeConcurrentRecordStreamNumRequest(AbstractModel):
3779
3804
  :param LiveType: 直播类型,SlowLive:慢直播。
3780
3805
  NormalLive:普通直播。
3781
3806
  :type LiveType: str
3782
- :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:使用此格式时,默认代表北京时间。
3783
3810
  可以查询最近180天的数据。
3784
3811
  :type StartTime: str
3785
- :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:使用此格式时,默认代表北京时间。
3786
3815
  时间跨度最大支持31天。
3787
3816
  :type EndTime: str
3788
3817
  :param MainlandOrOversea: 如果为空,查询所有地区数据;如果为“Mainland”,查询国内数据;如果为“Oversea”,则查询国外数据。
@@ -3845,9 +3874,14 @@ class DescribeDeliverBandwidthListRequest(AbstractModel):
3845
3874
 
3846
3875
  def __init__(self):
3847
3876
  r"""
3848
- :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:使用此格式时,默认代表北京时间。
3849
3880
  :type StartTime: str
3850
- :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个月。
3851
3885
  :type EndTime: str
3852
3886
  """
3853
3887
  self.StartTime = None
@@ -6045,11 +6079,14 @@ class DescribeLiveTranscodeTotalInfoRequest(AbstractModel):
6045
6079
 
6046
6080
  def __init__(self):
6047
6081
  r"""
6048
- :param StartTime: 开始时间,北京时间。
6049
- 格式: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:使用此格式时,默认代表北京时间。
6050
6085
  :type StartTime: str
6051
- :param EndTime: 结束时间,北京时间。
6052
- 格式: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)。
6053
6090
  :type EndTime: str
6054
6091
  :param PushDomains: 推流域名列表,若不填,表示查询所有域名总体数据。
6055
6092
  指定域名时返回1小时粒度数据。
@@ -6222,6 +6259,71 @@ class DescribeLiveWatermarksResponse(AbstractModel):
6222
6259
  self.RequestId = params.get("RequestId")
6223
6260
 
6224
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
+
6225
6327
  class DescribeLogDownloadListRequest(AbstractModel):
6226
6328
  """DescribeLogDownloadList请求参数结构体
6227
6329
 
@@ -6950,9 +7052,14 @@ class DescribeScreenShotSheetNumListRequest(AbstractModel):
6950
7052
 
6951
7053
  def __init__(self):
6952
7054
  r"""
6953
- :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:使用此格式时,默认代表北京时间。
6954
7058
  :type StartTime: str
6955
- :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年的数据。
6956
7063
  :type EndTime: str
6957
7064
  :param Zone: 地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
6958
7065
  :type Zone: str
@@ -7633,9 +7740,14 @@ class DescribeUploadStreamNumsRequest(AbstractModel):
7633
7740
 
7634
7741
  def __init__(self):
7635
7742
  r"""
7636
- :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:使用此格式时,默认代表北京时间。
7637
7746
  :type StartTime: str
7638
- :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天的数据查询
7639
7751
  :type EndTime: str
7640
7752
  :param Domains: 直播域名,若不填,表示总体数据。
7641
7753
  :type Domains: list of str
@@ -8716,6 +8828,8 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
8716
8828
  :type CallbackKey: str
8717
8829
  :param PushExceptionNotifyUrl: 推流异常回调 URL。
8718
8830
  :type PushExceptionNotifyUrl: str
8831
+ :param AudioAuditNotifyUrl: 音频审核回调 URL。
8832
+ :type AudioAuditNotifyUrl: str
8719
8833
  """
8720
8834
  self.TemplateId = None
8721
8835
  self.TemplateName = None
@@ -8727,6 +8841,7 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
8727
8841
  self.PornCensorshipNotifyUrl = None
8728
8842
  self.CallbackKey = None
8729
8843
  self.PushExceptionNotifyUrl = None
8844
+ self.AudioAuditNotifyUrl = None
8730
8845
 
8731
8846
 
8732
8847
  def _deserialize(self, params):
@@ -8740,6 +8855,7 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
8740
8855
  self.PornCensorshipNotifyUrl = params.get("PornCensorshipNotifyUrl")
8741
8856
  self.CallbackKey = params.get("CallbackKey")
8742
8857
  self.PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
8858
+ self.AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
8743
8859
  memeber_set = set(params.keys())
8744
8860
  for name, value in vars(self).items():
8745
8861
  if name in memeber_set:
@@ -11973,8 +12089,10 @@ class TranscodeTotalInfo(AbstractModel):
11973
12089
 
11974
12090
  def __init__(self):
11975
12091
  r"""
11976
- :param Time: 时间点,北京时间,
11977
- 示例: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)。
11978
12096
  :type Time: str
11979
12097
  :param Duration: 转码时长,单位:分钟。
11980
12098
  :type Duration: int
@@ -12181,4 +12299,71 @@ class WatermarkInfo(AbstractModel):
12181
12299
  memeber_set.remove(name)
12182
12300
  if len(memeber_set) > 0:
12183
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))
12184
12369
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.0.876
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=yY5ZBdqbWwzsOiun2wGX2ud2cNz7tjAq2a2NXW6Z8qY,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=3YKF2jCSJjbotykuOFcDD2LSkA0lKSvWHJuTEAt0SUM,421867
7
- tencentcloud_sdk_python_live-3.0.876.dist-info/METADATA,sha256=P9tP_gIYbOxLYqpjZTtUBc4ABaCREi0ZNDV4WwEoKf8,1437
8
- tencentcloud_sdk_python_live-3.0.876.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_live-3.0.876.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_live-3.0.876.dist-info/RECORD,,