tencentcloud-sdk-python-vod 3.0.1040__tar.gz → 3.0.1042__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-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/setup.py +1 -1
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud/vod/v20180717/models.py +125 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud/vod/v20180717/vod_client.py +23 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vod-3.0.1042/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vod-3.0.1040/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/README.rst +0 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud/vod/__init__.py +0 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud/vod/v20180717/__init__.py +0 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vod-3.0.1040 → tencentcloud-sdk-python-vod-3.0.1042}/tencentcloud_sdk_python_vod.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-vod',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1042"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vod SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -26086,6 +26086,15 @@ class EditMediaVideoStream(AbstractModel):
|
|
|
26086
26086
|
|
|
26087
26087
|
def __init__(self):
|
|
26088
26088
|
r"""
|
|
26089
|
+
:param _Codec: 视频流的编码格式,可选值:
|
|
26090
|
+
<li>libx264:H.264 编码;</li>
|
|
26091
|
+
<li>libx265:H.265 编码;</li>
|
|
26092
|
+
<li>av1:AOMedia Video 1 编码;</li>
|
|
26093
|
+
<li>H.266:H.266 编码。</li>
|
|
26094
|
+
:type Codec: str
|
|
26095
|
+
:param _Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
|
|
26096
|
+
当取值为 0 或不填时,表示自动选择最佳视频码率。
|
|
26097
|
+
:type Bitrate: int
|
|
26089
26098
|
:param _ResolutionAdaptive: 分辨率自适应,可选值:
|
|
26090
26099
|
<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
|
26091
26100
|
<li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
|
@@ -26110,11 +26119,29 @@ class EditMediaVideoStream(AbstractModel):
|
|
|
26110
26119
|
默认值为 0。
|
|
26111
26120
|
:type Fps: int
|
|
26112
26121
|
"""
|
|
26122
|
+
self._Codec = None
|
|
26123
|
+
self._Bitrate = None
|
|
26113
26124
|
self._ResolutionAdaptive = None
|
|
26114
26125
|
self._Width = None
|
|
26115
26126
|
self._Height = None
|
|
26116
26127
|
self._Fps = None
|
|
26117
26128
|
|
|
26129
|
+
@property
|
|
26130
|
+
def Codec(self):
|
|
26131
|
+
return self._Codec
|
|
26132
|
+
|
|
26133
|
+
@Codec.setter
|
|
26134
|
+
def Codec(self, Codec):
|
|
26135
|
+
self._Codec = Codec
|
|
26136
|
+
|
|
26137
|
+
@property
|
|
26138
|
+
def Bitrate(self):
|
|
26139
|
+
return self._Bitrate
|
|
26140
|
+
|
|
26141
|
+
@Bitrate.setter
|
|
26142
|
+
def Bitrate(self, Bitrate):
|
|
26143
|
+
self._Bitrate = Bitrate
|
|
26144
|
+
|
|
26118
26145
|
@property
|
|
26119
26146
|
def ResolutionAdaptive(self):
|
|
26120
26147
|
return self._ResolutionAdaptive
|
|
@@ -26149,6 +26176,8 @@ class EditMediaVideoStream(AbstractModel):
|
|
|
26149
26176
|
|
|
26150
26177
|
|
|
26151
26178
|
def _deserialize(self, params):
|
|
26179
|
+
self._Codec = params.get("Codec")
|
|
26180
|
+
self._Bitrate = params.get("Bitrate")
|
|
26152
26181
|
self._ResolutionAdaptive = params.get("ResolutionAdaptive")
|
|
26153
26182
|
self._Width = params.get("Width")
|
|
26154
26183
|
self._Height = params.get("Height")
|
|
@@ -51668,6 +51697,102 @@ class SetDrmKeyProviderInfoResponse(AbstractModel):
|
|
|
51668
51697
|
self._RequestId = params.get("RequestId")
|
|
51669
51698
|
|
|
51670
51699
|
|
|
51700
|
+
class SetVodDomainCertificateRequest(AbstractModel):
|
|
51701
|
+
"""SetVodDomainCertificate请求参数结构体
|
|
51702
|
+
|
|
51703
|
+
"""
|
|
51704
|
+
|
|
51705
|
+
def __init__(self):
|
|
51706
|
+
r"""
|
|
51707
|
+
:param _Domain: 域名。
|
|
51708
|
+
:type Domain: str
|
|
51709
|
+
:param _Operation: 本次接口调用的操作类型,可选值:
|
|
51710
|
+
<li>Set:设置域名的 HTTPS 所需证书;</li>
|
|
51711
|
+
<li>Clear: 清空域名 HTTPS 配置,清空后该域名无法支持 HTTPS 访问。</li>
|
|
51712
|
+
:type Operation: str
|
|
51713
|
+
:param _SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
51714
|
+
:type SubAppId: int
|
|
51715
|
+
:param _CertID: [腾讯云SSL](/document/product/400/7572) 上传的证书 ID。清空域名 HTTPS 配置时无需填写该字段。
|
|
51716
|
+
:type CertID: str
|
|
51717
|
+
"""
|
|
51718
|
+
self._Domain = None
|
|
51719
|
+
self._Operation = None
|
|
51720
|
+
self._SubAppId = None
|
|
51721
|
+
self._CertID = None
|
|
51722
|
+
|
|
51723
|
+
@property
|
|
51724
|
+
def Domain(self):
|
|
51725
|
+
return self._Domain
|
|
51726
|
+
|
|
51727
|
+
@Domain.setter
|
|
51728
|
+
def Domain(self, Domain):
|
|
51729
|
+
self._Domain = Domain
|
|
51730
|
+
|
|
51731
|
+
@property
|
|
51732
|
+
def Operation(self):
|
|
51733
|
+
return self._Operation
|
|
51734
|
+
|
|
51735
|
+
@Operation.setter
|
|
51736
|
+
def Operation(self, Operation):
|
|
51737
|
+
self._Operation = Operation
|
|
51738
|
+
|
|
51739
|
+
@property
|
|
51740
|
+
def SubAppId(self):
|
|
51741
|
+
return self._SubAppId
|
|
51742
|
+
|
|
51743
|
+
@SubAppId.setter
|
|
51744
|
+
def SubAppId(self, SubAppId):
|
|
51745
|
+
self._SubAppId = SubAppId
|
|
51746
|
+
|
|
51747
|
+
@property
|
|
51748
|
+
def CertID(self):
|
|
51749
|
+
return self._CertID
|
|
51750
|
+
|
|
51751
|
+
@CertID.setter
|
|
51752
|
+
def CertID(self, CertID):
|
|
51753
|
+
self._CertID = CertID
|
|
51754
|
+
|
|
51755
|
+
|
|
51756
|
+
def _deserialize(self, params):
|
|
51757
|
+
self._Domain = params.get("Domain")
|
|
51758
|
+
self._Operation = params.get("Operation")
|
|
51759
|
+
self._SubAppId = params.get("SubAppId")
|
|
51760
|
+
self._CertID = params.get("CertID")
|
|
51761
|
+
memeber_set = set(params.keys())
|
|
51762
|
+
for name, value in vars(self).items():
|
|
51763
|
+
property_name = name[1:]
|
|
51764
|
+
if property_name in memeber_set:
|
|
51765
|
+
memeber_set.remove(property_name)
|
|
51766
|
+
if len(memeber_set) > 0:
|
|
51767
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
51768
|
+
|
|
51769
|
+
|
|
51770
|
+
|
|
51771
|
+
class SetVodDomainCertificateResponse(AbstractModel):
|
|
51772
|
+
"""SetVodDomainCertificate返回参数结构体
|
|
51773
|
+
|
|
51774
|
+
"""
|
|
51775
|
+
|
|
51776
|
+
def __init__(self):
|
|
51777
|
+
r"""
|
|
51778
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
51779
|
+
:type RequestId: str
|
|
51780
|
+
"""
|
|
51781
|
+
self._RequestId = None
|
|
51782
|
+
|
|
51783
|
+
@property
|
|
51784
|
+
def RequestId(self):
|
|
51785
|
+
return self._RequestId
|
|
51786
|
+
|
|
51787
|
+
@RequestId.setter
|
|
51788
|
+
def RequestId(self, RequestId):
|
|
51789
|
+
self._RequestId = RequestId
|
|
51790
|
+
|
|
51791
|
+
|
|
51792
|
+
def _deserialize(self, params):
|
|
51793
|
+
self._RequestId = params.get("RequestId")
|
|
51794
|
+
|
|
51795
|
+
|
|
51671
51796
|
class SharpEnhanceInfo(AbstractModel):
|
|
51672
51797
|
"""细节增强控制
|
|
51673
51798
|
|
|
@@ -4008,6 +4008,29 @@ class VodClient(AbstractClient):
|
|
|
4008
4008
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4009
4009
|
|
|
4010
4010
|
|
|
4011
|
+
def SetVodDomainCertificate(self, request):
|
|
4012
|
+
"""设置点播域名 HTTPS 证书。
|
|
4013
|
+
|
|
4014
|
+
:param request: Request instance for SetVodDomainCertificate.
|
|
4015
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.SetVodDomainCertificateRequest`
|
|
4016
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.SetVodDomainCertificateResponse`
|
|
4017
|
+
|
|
4018
|
+
"""
|
|
4019
|
+
try:
|
|
4020
|
+
params = request._serialize()
|
|
4021
|
+
headers = request.headers
|
|
4022
|
+
body = self.call("SetVodDomainCertificate", params, headers=headers)
|
|
4023
|
+
response = json.loads(body)
|
|
4024
|
+
model = models.SetVodDomainCertificateResponse()
|
|
4025
|
+
model._deserialize(response["Response"])
|
|
4026
|
+
return model
|
|
4027
|
+
except Exception as e:
|
|
4028
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4029
|
+
raise
|
|
4030
|
+
else:
|
|
4031
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4032
|
+
|
|
4033
|
+
|
|
4011
4034
|
def SimpleHlsClip(self, request):
|
|
4012
4035
|
"""对 HLS 视频进行按时间段裁剪,实时生成一个新的视频(HLS 格式),开发者可以将其立即分享出去,或者长久保存起来。
|
|
4013
4036
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1042
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1040
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|