tencentcloud-sdk-python-trtc 3.1.45__tar.gz → 3.1.48__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.
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/setup.py +1 -1
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud/trtc/v20190722/models.py +38 -132
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud/trtc/v20190722/trtc_client.py +0 -32
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud/trtc/v20190722/trtc_client_async.py +0 -27
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_trtc-3.1.48/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_trtc-3.1.45/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/README.rst +0 -0
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/setup.cfg +0 -0
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_trtc-3.1.45 → tencentcloud_sdk_python_trtc-3.1.48}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.48
|
|
4
4
|
Summary: Tencent Cloud Trtc 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.48
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-trtc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.48,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Trtc SDK for Python',
|
|
@@ -5840,134 +5840,6 @@ class DescribeTRTCRealTimeScaleDataResponse(AbstractModel):
|
|
|
5840
5840
|
self._RequestId = params.get("RequestId")
|
|
5841
5841
|
|
|
5842
5842
|
|
|
5843
|
-
class DescribeTRTCRealTimeScaleMetricDataRequest(AbstractModel):
|
|
5844
|
-
r"""DescribeTRTCRealTimeScaleMetricData请求参数结构体
|
|
5845
|
-
|
|
5846
|
-
"""
|
|
5847
|
-
|
|
5848
|
-
def __init__(self):
|
|
5849
|
-
r"""
|
|
5850
|
-
:param _SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
|
5851
|
-
:type SdkAppId: str
|
|
5852
|
-
:param _StartTime: 开始时间,unix时间戳,单位:秒(查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时)
|
|
5853
|
-
:type StartTime: int
|
|
5854
|
-
:param _EndTime: 结束时间,unix时间戳,单位:秒
|
|
5855
|
-
:type EndTime: int
|
|
5856
|
-
:param _RoomId: 房间ID
|
|
5857
|
-
:type RoomId: str
|
|
5858
|
-
"""
|
|
5859
|
-
self._SdkAppId = None
|
|
5860
|
-
self._StartTime = None
|
|
5861
|
-
self._EndTime = None
|
|
5862
|
-
self._RoomId = None
|
|
5863
|
-
|
|
5864
|
-
@property
|
|
5865
|
-
def SdkAppId(self):
|
|
5866
|
-
r"""用户SdkAppId(如:1400xxxxxx)
|
|
5867
|
-
:rtype: str
|
|
5868
|
-
"""
|
|
5869
|
-
return self._SdkAppId
|
|
5870
|
-
|
|
5871
|
-
@SdkAppId.setter
|
|
5872
|
-
def SdkAppId(self, SdkAppId):
|
|
5873
|
-
self._SdkAppId = SdkAppId
|
|
5874
|
-
|
|
5875
|
-
@property
|
|
5876
|
-
def StartTime(self):
|
|
5877
|
-
r"""开始时间,unix时间戳,单位:秒(查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时)
|
|
5878
|
-
:rtype: int
|
|
5879
|
-
"""
|
|
5880
|
-
return self._StartTime
|
|
5881
|
-
|
|
5882
|
-
@StartTime.setter
|
|
5883
|
-
def StartTime(self, StartTime):
|
|
5884
|
-
self._StartTime = StartTime
|
|
5885
|
-
|
|
5886
|
-
@property
|
|
5887
|
-
def EndTime(self):
|
|
5888
|
-
r"""结束时间,unix时间戳,单位:秒
|
|
5889
|
-
:rtype: int
|
|
5890
|
-
"""
|
|
5891
|
-
return self._EndTime
|
|
5892
|
-
|
|
5893
|
-
@EndTime.setter
|
|
5894
|
-
def EndTime(self, EndTime):
|
|
5895
|
-
self._EndTime = EndTime
|
|
5896
|
-
|
|
5897
|
-
@property
|
|
5898
|
-
def RoomId(self):
|
|
5899
|
-
r"""房间ID
|
|
5900
|
-
:rtype: str
|
|
5901
|
-
"""
|
|
5902
|
-
return self._RoomId
|
|
5903
|
-
|
|
5904
|
-
@RoomId.setter
|
|
5905
|
-
def RoomId(self, RoomId):
|
|
5906
|
-
self._RoomId = RoomId
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
def _deserialize(self, params):
|
|
5910
|
-
self._SdkAppId = params.get("SdkAppId")
|
|
5911
|
-
self._StartTime = params.get("StartTime")
|
|
5912
|
-
self._EndTime = params.get("EndTime")
|
|
5913
|
-
self._RoomId = params.get("RoomId")
|
|
5914
|
-
memeber_set = set(params.keys())
|
|
5915
|
-
for name, value in vars(self).items():
|
|
5916
|
-
property_name = name[1:]
|
|
5917
|
-
if property_name in memeber_set:
|
|
5918
|
-
memeber_set.remove(property_name)
|
|
5919
|
-
if len(memeber_set) > 0:
|
|
5920
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
class DescribeTRTCRealTimeScaleMetricDataResponse(AbstractModel):
|
|
5925
|
-
r"""DescribeTRTCRealTimeScaleMetricData返回参数结构体
|
|
5926
|
-
|
|
5927
|
-
"""
|
|
5928
|
-
|
|
5929
|
-
def __init__(self):
|
|
5930
|
-
r"""
|
|
5931
|
-
:param _Data: TRTC监控数据出参
|
|
5932
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5933
|
-
:type Data: :class:`tencentcloud.trtc.v20190722.models.TRTCDataResp`
|
|
5934
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5935
|
-
:type RequestId: str
|
|
5936
|
-
"""
|
|
5937
|
-
self._Data = None
|
|
5938
|
-
self._RequestId = None
|
|
5939
|
-
|
|
5940
|
-
@property
|
|
5941
|
-
def Data(self):
|
|
5942
|
-
r"""TRTC监控数据出参
|
|
5943
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5944
|
-
:rtype: :class:`tencentcloud.trtc.v20190722.models.TRTCDataResp`
|
|
5945
|
-
"""
|
|
5946
|
-
return self._Data
|
|
5947
|
-
|
|
5948
|
-
@Data.setter
|
|
5949
|
-
def Data(self, Data):
|
|
5950
|
-
self._Data = Data
|
|
5951
|
-
|
|
5952
|
-
@property
|
|
5953
|
-
def RequestId(self):
|
|
5954
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5955
|
-
:rtype: str
|
|
5956
|
-
"""
|
|
5957
|
-
return self._RequestId
|
|
5958
|
-
|
|
5959
|
-
@RequestId.setter
|
|
5960
|
-
def RequestId(self, RequestId):
|
|
5961
|
-
self._RequestId = RequestId
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
def _deserialize(self, params):
|
|
5965
|
-
if params.get("Data") is not None:
|
|
5966
|
-
self._Data = TRTCDataResp()
|
|
5967
|
-
self._Data._deserialize(params.get("Data"))
|
|
5968
|
-
self._RequestId = params.get("RequestId")
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
5843
|
class DescribeTrtcMcuTranscodeTimeRequest(AbstractModel):
|
|
5972
5844
|
r"""DescribeTrtcMcuTranscodeTime请求参数结构体
|
|
5973
5845
|
|
|
@@ -16834,7 +16706,15 @@ class TextToSpeechRequest(AbstractModel):
|
|
|
16834
16706
|
:type APIKey: str
|
|
16835
16707
|
:param _Model: TTS的模型,当前固定为:flow_01_turbo
|
|
16836
16708
|
:type Model: str
|
|
16837
|
-
:param _Language: 需要合成的语言(ISO 639-1
|
|
16709
|
+
:param _Language: 需要合成的语言(ISO 639-1),默认自动识别,支持的语言如下:
|
|
16710
|
+
- zh(中文)
|
|
16711
|
+
- en(英文)
|
|
16712
|
+
- yue(粤语)
|
|
16713
|
+
- ja(日语)
|
|
16714
|
+
- ko(韩语)
|
|
16715
|
+
- ar(阿拉伯语)
|
|
16716
|
+
- id(印尼语)
|
|
16717
|
+
- th(泰语)
|
|
16838
16718
|
:type Language: str
|
|
16839
16719
|
"""
|
|
16840
16720
|
self._Text = None
|
|
@@ -16917,7 +16797,15 @@ class TextToSpeechRequest(AbstractModel):
|
|
|
16917
16797
|
|
|
16918
16798
|
@property
|
|
16919
16799
|
def Language(self):
|
|
16920
|
-
r""" 需要合成的语言(ISO 639-1
|
|
16800
|
+
r""" 需要合成的语言(ISO 639-1),默认自动识别,支持的语言如下:
|
|
16801
|
+
- zh(中文)
|
|
16802
|
+
- en(英文)
|
|
16803
|
+
- yue(粤语)
|
|
16804
|
+
- ja(日语)
|
|
16805
|
+
- ko(韩语)
|
|
16806
|
+
- ar(阿拉伯语)
|
|
16807
|
+
- id(印尼语)
|
|
16808
|
+
- th(泰语)
|
|
16921
16809
|
:rtype: str
|
|
16922
16810
|
"""
|
|
16923
16811
|
return self._Language
|
|
@@ -17011,7 +16899,16 @@ class TextToSpeechSSERequest(AbstractModel):
|
|
|
17011
16899
|
:type APIKey: str
|
|
17012
16900
|
:param _Model: TTS的模型,当前固定为:flow_01_turbo
|
|
17013
16901
|
:type Model: str
|
|
17014
|
-
:param _Language: 需要合成的语言(ISO 639-1
|
|
16902
|
+
:param _Language: 需要合成的语言(ISO 639-1),默认自动识别,支持如下语言:
|
|
16903
|
+
- zh(中文)
|
|
16904
|
+
- en(英文)
|
|
16905
|
+
- yue(粤语)
|
|
16906
|
+
- ja(日语)
|
|
16907
|
+
- ko(韩语)
|
|
16908
|
+
- ar(阿拉伯语)
|
|
16909
|
+
- id(印尼语)
|
|
16910
|
+
- th(泰语)
|
|
16911
|
+
|
|
17015
16912
|
:type Language: str
|
|
17016
16913
|
"""
|
|
17017
16914
|
self._Text = None
|
|
@@ -17094,7 +16991,16 @@ class TextToSpeechSSERequest(AbstractModel):
|
|
|
17094
16991
|
|
|
17095
16992
|
@property
|
|
17096
16993
|
def Language(self):
|
|
17097
|
-
r""" 需要合成的语言(ISO 639-1
|
|
16994
|
+
r""" 需要合成的语言(ISO 639-1),默认自动识别,支持如下语言:
|
|
16995
|
+
- zh(中文)
|
|
16996
|
+
- en(英文)
|
|
16997
|
+
- yue(粤语)
|
|
16998
|
+
- ja(日语)
|
|
16999
|
+
- ko(韩语)
|
|
17000
|
+
- ar(阿拉伯语)
|
|
17001
|
+
- id(印尼语)
|
|
17002
|
+
- th(泰语)
|
|
17003
|
+
|
|
17098
17004
|
:rtype: str
|
|
17099
17005
|
"""
|
|
17100
17006
|
return self._Language
|
|
@@ -827,38 +827,6 @@ class TrtcClient(AbstractClient):
|
|
|
827
827
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
828
828
|
|
|
829
829
|
|
|
830
|
-
def DescribeTRTCRealTimeScaleMetricData(self, request):
|
|
831
|
-
r"""腾讯云可观测平台monitor接口已下线,TRTC同步下线接口
|
|
832
|
-
|
|
833
|
-
查询TRTC监控仪表盘-实时监控规模指标(会返回下列指标)
|
|
834
|
-
-userCount(在线用户数)
|
|
835
|
-
-roomCount(在线房间数)
|
|
836
|
-
注意:
|
|
837
|
-
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,监控仪表盘版本功能和计费说明:https://cloud.tencent.com/document/product/647/81331。
|
|
838
|
-
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
839
|
-
xa0
|
|
840
|
-
3.除此之外您也可以通过订阅TRTC包月套餐(https://buy.cloud.tencent.com/trtc)尊享版或旗舰版解锁此接口(DescribeTRTCRealTimeScaleMetricData)的调用能力,请在开通包月套餐后,请提交工单联系售后解锁调用能力https://console.cloud.tencent.com/workorder/category
|
|
841
|
-
|
|
842
|
-
:param request: Request instance for DescribeTRTCRealTimeScaleMetricData.
|
|
843
|
-
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeTRTCRealTimeScaleMetricDataRequest`
|
|
844
|
-
:rtype: :class:`tencentcloud.trtc.v20190722.models.DescribeTRTCRealTimeScaleMetricDataResponse`
|
|
845
|
-
|
|
846
|
-
"""
|
|
847
|
-
try:
|
|
848
|
-
params = request._serialize()
|
|
849
|
-
headers = request.headers
|
|
850
|
-
body = self.call("DescribeTRTCRealTimeScaleMetricData", params, headers=headers)
|
|
851
|
-
response = json.loads(body)
|
|
852
|
-
model = models.DescribeTRTCRealTimeScaleMetricDataResponse()
|
|
853
|
-
model._deserialize(response["Response"])
|
|
854
|
-
return model
|
|
855
|
-
except Exception as e:
|
|
856
|
-
if isinstance(e, TencentCloudSDKException):
|
|
857
|
-
raise
|
|
858
|
-
else:
|
|
859
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
860
|
-
|
|
861
|
-
|
|
862
830
|
def DescribeTrtcMcuTranscodeTime(self, request):
|
|
863
831
|
r"""查询旁路转码计费时长。
|
|
864
832
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -671,33 +671,6 @@ class TrtcClient(AbstractClient):
|
|
|
671
671
|
|
|
672
672
|
return await self.call_and_deserialize(**kwargs)
|
|
673
673
|
|
|
674
|
-
async def DescribeTRTCRealTimeScaleMetricData(
|
|
675
|
-
self,
|
|
676
|
-
request: models.DescribeTRTCRealTimeScaleMetricDataRequest,
|
|
677
|
-
opts: Dict = None,
|
|
678
|
-
) -> models.DescribeTRTCRealTimeScaleMetricDataResponse:
|
|
679
|
-
"""
|
|
680
|
-
腾讯云可观测平台monitor接口已下线,TRTC同步下线接口
|
|
681
|
-
|
|
682
|
-
查询TRTC监控仪表盘-实时监控规模指标(会返回下列指标)
|
|
683
|
-
-userCount(在线用户数)
|
|
684
|
-
-roomCount(在线房间数)
|
|
685
|
-
注意:
|
|
686
|
-
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,监控仪表盘版本功能和计费说明:https://cloud.tencent.com/document/product/647/81331。
|
|
687
|
-
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
688
|
-
xa0
|
|
689
|
-
3.除此之外您也可以通过订阅TRTC包月套餐(https://buy.cloud.tencent.com/trtc)尊享版或旗舰版解锁此接口(DescribeTRTCRealTimeScaleMetricData)的调用能力,请在开通包月套餐后,请提交工单联系售后解锁调用能力https://console.cloud.tencent.com/workorder/category
|
|
690
|
-
"""
|
|
691
|
-
|
|
692
|
-
kwargs = {}
|
|
693
|
-
kwargs["action"] = "DescribeTRTCRealTimeScaleMetricData"
|
|
694
|
-
kwargs["params"] = request._serialize()
|
|
695
|
-
kwargs["resp_cls"] = models.DescribeTRTCRealTimeScaleMetricDataResponse
|
|
696
|
-
kwargs["headers"] = request.headers
|
|
697
|
-
kwargs["opts"] = opts or {}
|
|
698
|
-
|
|
699
|
-
return await self.call_and_deserialize(**kwargs)
|
|
700
|
-
|
|
701
674
|
async def DescribeTrtcMcuTranscodeTime(
|
|
702
675
|
self,
|
|
703
676
|
request: models.DescribeTrtcMcuTranscodeTimeRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.48
|
|
4
4
|
Summary: Tencent Cloud Trtc 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.48
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.48
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.45
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|