tencentcloud-sdk-python-trtc 3.0.1126__tar.gz → 3.0.1128__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.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/setup.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud/trtc/v20190722/models.py +97 -2
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud/trtc/v20190722/trtc_client.py +3 -3
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-trtc-3.0.1128/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-trtc-3.0.1126/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/README.rst +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/setup.cfg +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1126 → tencentcloud-sdk-python-trtc-3.0.1128}/tencentcloud_sdk_python_trtc.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-trtc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1128"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Trtc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3905,8 +3905,14 @@ class DescribeWebRecordRequest(AbstractModel):
|
|
|
3905
3905
|
r"""
|
|
3906
3906
|
:param _TaskId: 开始页面录制时返回的任务id
|
|
3907
3907
|
:type TaskId: str
|
|
3908
|
+
:param _SdkAppId: 发起页面录制时传递的SdkAppId
|
|
3909
|
+
:type SdkAppId: int
|
|
3910
|
+
:param _RecordId: 发起录制时传递的RecordId, 传入此值时需要传递SdkAppId
|
|
3911
|
+
:type RecordId: str
|
|
3908
3912
|
"""
|
|
3909
3913
|
self._TaskId = None
|
|
3914
|
+
self._SdkAppId = None
|
|
3915
|
+
self._RecordId = None
|
|
3910
3916
|
|
|
3911
3917
|
@property
|
|
3912
3918
|
def TaskId(self):
|
|
@@ -3916,9 +3922,27 @@ class DescribeWebRecordRequest(AbstractModel):
|
|
|
3916
3922
|
def TaskId(self, TaskId):
|
|
3917
3923
|
self._TaskId = TaskId
|
|
3918
3924
|
|
|
3925
|
+
@property
|
|
3926
|
+
def SdkAppId(self):
|
|
3927
|
+
return self._SdkAppId
|
|
3928
|
+
|
|
3929
|
+
@SdkAppId.setter
|
|
3930
|
+
def SdkAppId(self, SdkAppId):
|
|
3931
|
+
self._SdkAppId = SdkAppId
|
|
3932
|
+
|
|
3933
|
+
@property
|
|
3934
|
+
def RecordId(self):
|
|
3935
|
+
return self._RecordId
|
|
3936
|
+
|
|
3937
|
+
@RecordId.setter
|
|
3938
|
+
def RecordId(self, RecordId):
|
|
3939
|
+
self._RecordId = RecordId
|
|
3940
|
+
|
|
3919
3941
|
|
|
3920
3942
|
def _deserialize(self, params):
|
|
3921
3943
|
self._TaskId = params.get("TaskId")
|
|
3944
|
+
self._SdkAppId = params.get("SdkAppId")
|
|
3945
|
+
self._RecordId = params.get("RecordId")
|
|
3922
3946
|
memeber_set = set(params.keys())
|
|
3923
3947
|
for name, value in vars(self).items():
|
|
3924
3948
|
property_name = name[1:]
|
|
@@ -4682,6 +4706,63 @@ class McuAudioParams(AbstractModel):
|
|
|
4682
4706
|
|
|
4683
4707
|
|
|
4684
4708
|
|
|
4709
|
+
class McuBackgroundCustomRender(AbstractModel):
|
|
4710
|
+
"""混流自定义渲染参数
|
|
4711
|
+
|
|
4712
|
+
"""
|
|
4713
|
+
|
|
4714
|
+
def __init__(self):
|
|
4715
|
+
r"""
|
|
4716
|
+
:param _Width: 自定义渲染画面的宽度,单位为像素值,需大于0,且不能超过子布局的宽。
|
|
4717
|
+
:type Width: int
|
|
4718
|
+
:param _Height: 自定义渲染画面的高度,单位为像素值,需大于0,且不能超过子布局的高。
|
|
4719
|
+
:type Height: int
|
|
4720
|
+
:param _Radius: 自定义渲染画面的圆角半径,单位为像素值,不能超过渲染画面Width和Height最小值的一半,不指定默认为0,表示直角。
|
|
4721
|
+
:type Radius: int
|
|
4722
|
+
"""
|
|
4723
|
+
self._Width = None
|
|
4724
|
+
self._Height = None
|
|
4725
|
+
self._Radius = None
|
|
4726
|
+
|
|
4727
|
+
@property
|
|
4728
|
+
def Width(self):
|
|
4729
|
+
return self._Width
|
|
4730
|
+
|
|
4731
|
+
@Width.setter
|
|
4732
|
+
def Width(self, Width):
|
|
4733
|
+
self._Width = Width
|
|
4734
|
+
|
|
4735
|
+
@property
|
|
4736
|
+
def Height(self):
|
|
4737
|
+
return self._Height
|
|
4738
|
+
|
|
4739
|
+
@Height.setter
|
|
4740
|
+
def Height(self, Height):
|
|
4741
|
+
self._Height = Height
|
|
4742
|
+
|
|
4743
|
+
@property
|
|
4744
|
+
def Radius(self):
|
|
4745
|
+
return self._Radius
|
|
4746
|
+
|
|
4747
|
+
@Radius.setter
|
|
4748
|
+
def Radius(self, Radius):
|
|
4749
|
+
self._Radius = Radius
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
def _deserialize(self, params):
|
|
4753
|
+
self._Width = params.get("Width")
|
|
4754
|
+
self._Height = params.get("Height")
|
|
4755
|
+
self._Radius = params.get("Radius")
|
|
4756
|
+
memeber_set = set(params.keys())
|
|
4757
|
+
for name, value in vars(self).items():
|
|
4758
|
+
property_name = name[1:]
|
|
4759
|
+
if property_name in memeber_set:
|
|
4760
|
+
memeber_set.remove(property_name)
|
|
4761
|
+
if len(memeber_set) > 0:
|
|
4762
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4763
|
+
|
|
4764
|
+
|
|
4765
|
+
|
|
4685
4766
|
class McuCustomCrop(AbstractModel):
|
|
4686
4767
|
"""混流自定义裁剪参数
|
|
4687
4768
|
|
|
@@ -4855,11 +4936,13 @@ class McuLayout(AbstractModel):
|
|
|
4855
4936
|
:type BackgroundImageUrl: str
|
|
4856
4937
|
:param _CustomCrop: 客户自定义裁剪,针对原始输入流裁剪
|
|
4857
4938
|
:type CustomCrop: :class:`tencentcloud.trtc.v20190722.models.McuCustomCrop`
|
|
4858
|
-
:param _BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3
|
|
4939
|
+
:param _BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
|
|
4859
4940
|
:type BackgroundRenderMode: int
|
|
4860
4941
|
:param _TransparentUrl: 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
|
|
4861
4942
|
注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
|
|
4862
4943
|
:type TransparentUrl: str
|
|
4944
|
+
:param _BackgroundCustomRender: 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。
|
|
4945
|
+
:type BackgroundCustomRender: :class:`tencentcloud.trtc.v20190722.models.McuBackgroundCustomRender`
|
|
4863
4946
|
"""
|
|
4864
4947
|
self._UserMediaStream = None
|
|
4865
4948
|
self._ImageWidth = None
|
|
@@ -4873,6 +4956,7 @@ class McuLayout(AbstractModel):
|
|
|
4873
4956
|
self._CustomCrop = None
|
|
4874
4957
|
self._BackgroundRenderMode = None
|
|
4875
4958
|
self._TransparentUrl = None
|
|
4959
|
+
self._BackgroundCustomRender = None
|
|
4876
4960
|
|
|
4877
4961
|
@property
|
|
4878
4962
|
def UserMediaStream(self):
|
|
@@ -4970,6 +5054,14 @@ class McuLayout(AbstractModel):
|
|
|
4970
5054
|
def TransparentUrl(self, TransparentUrl):
|
|
4971
5055
|
self._TransparentUrl = TransparentUrl
|
|
4972
5056
|
|
|
5057
|
+
@property
|
|
5058
|
+
def BackgroundCustomRender(self):
|
|
5059
|
+
return self._BackgroundCustomRender
|
|
5060
|
+
|
|
5061
|
+
@BackgroundCustomRender.setter
|
|
5062
|
+
def BackgroundCustomRender(self, BackgroundCustomRender):
|
|
5063
|
+
self._BackgroundCustomRender = BackgroundCustomRender
|
|
5064
|
+
|
|
4973
5065
|
|
|
4974
5066
|
def _deserialize(self, params):
|
|
4975
5067
|
if params.get("UserMediaStream") is not None:
|
|
@@ -4988,6 +5080,9 @@ class McuLayout(AbstractModel):
|
|
|
4988
5080
|
self._CustomCrop._deserialize(params.get("CustomCrop"))
|
|
4989
5081
|
self._BackgroundRenderMode = params.get("BackgroundRenderMode")
|
|
4990
5082
|
self._TransparentUrl = params.get("TransparentUrl")
|
|
5083
|
+
if params.get("BackgroundCustomRender") is not None:
|
|
5084
|
+
self._BackgroundCustomRender = McuBackgroundCustomRender()
|
|
5085
|
+
self._BackgroundCustomRender._deserialize(params.get("BackgroundCustomRender"))
|
|
4991
5086
|
memeber_set = set(params.keys())
|
|
4992
5087
|
for name, value in vars(self).items():
|
|
4993
5088
|
property_name = name[1:]
|
|
@@ -8543,7 +8638,7 @@ class StartWebRecordRequest(AbstractModel):
|
|
|
8543
8638
|
:param _RecordUrl: 需要录制的网页URL
|
|
8544
8639
|
|
|
8545
8640
|
:type RecordUrl: str
|
|
8546
|
-
:param _MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[
|
|
8641
|
+
:param _MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[1800, 36000], 默认 36000s(10 小时)
|
|
8547
8642
|
|
|
8548
8643
|
:type MaxDurationLimit: int
|
|
8549
8644
|
:param _StorageParams: 云存储相关的参数,目前支持腾讯云对象存储,不支持第三方云存储以及VOD
|
|
@@ -133,7 +133,7 @@ class TrtcClient(AbstractClient):
|
|
|
133
133
|
"""查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
|
|
134
134
|
**注意**:
|
|
135
135
|
1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
|
136
|
-
2
|
|
136
|
+
2.该接口自2024年4月1日起正式商业化,需订阅监控仪表盘商业套餐包获取此接口调用能力,[仪表盘商业化](https://cloud.tencent.com/document/product/647/81331)说明请见。另外也可通过订阅包月套餐尊享版和旗舰版解锁此接口调用能力,[包月套餐](https://cloud.tencent.com/document/product/647/85386)说明。
|
|
137
137
|
|
|
138
138
|
:param request: Request instance for DescribeCallDetailInfo.
|
|
139
139
|
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeCallDetailInfoRequest`
|
|
@@ -318,7 +318,7 @@ class TrtcClient(AbstractClient):
|
|
|
318
318
|
"""查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
|
|
319
319
|
**注意**:
|
|
320
320
|
1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
|
321
|
-
2
|
|
321
|
+
2.该接口自2024年4月1日起正式商业化,需订阅监控仪表盘商业套餐包获取此接口调用能力,[仪表盘商业化](https://cloud.tencent.com/document/product/647/81331)说明请见。另外也可通过订阅包月套餐尊享版和旗舰版解锁此接口调用能力,[包月套餐](https://cloud.tencent.com/document/product/647/85386)说明。
|
|
322
322
|
|
|
323
323
|
:param request: Request instance for DescribeRoomInfo.
|
|
324
324
|
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeRoomInfoRequest`
|
|
@@ -756,7 +756,7 @@ class TrtcClient(AbstractClient):
|
|
|
756
756
|
"""查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
|
|
757
757
|
**注意**:
|
|
758
758
|
1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
|
759
|
-
2
|
|
759
|
+
2.该接口自2024年4月1日起正式商业化,需订阅监控仪表盘商业套餐包获取此接口调用能力,[仪表盘商业化](https://cloud.tencent.com/document/product/647/81331)说明请见。另外也可通过订阅包月套餐尊享版和旗舰版解锁此接口调用能力,[包月套餐](https://cloud.tencent.com/document/product/647/85386)说明。
|
|
760
760
|
|
|
761
761
|
:param request: Request instance for DescribeUserInfo.
|
|
762
762
|
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeUserInfoRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1128
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1126
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|