tencentcloud-sdk-python-mps 3.0.1263__tar.gz → 3.0.1271__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/PKG-INFO +3 -3
  2. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/setup.cfg +0 -1
  3. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/setup.py +1 -1
  4. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud/__init__.py +1 -1
  5. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud/mps/v20190612/models.py +816 -8
  6. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud/mps/v20190612/mps_client.py +25 -0
  7. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +3 -3
  8. tencentcloud-sdk-python-mps-3.0.1271/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-mps-3.0.1263/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/README.rst +0 -0
  11. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud/mps/__init__.py +0 -0
  12. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud/mps/v20190612/__init__.py +0 -0
  13. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-mps-3.0.1263 → tencentcloud-sdk-python-mps-3.0.1271}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.1263
3
+ Version: 3.0.1271
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -4,5 +4,4 @@ universal = 1
4
4
  [egg_info]
5
5
  tag_build =
6
6
  tag_date = 0
7
- tag_svn_revision = 0
8
7
 
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-mps',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1263"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1271"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Mps SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1263'
17
+ __version__ = '3.0.1271'
@@ -15956,7 +15956,7 @@ class CreateInput(AbstractModel):
15956
15956
  r"""
15957
15957
  :param _InputName: 输入名称,可填大小写、数字和下划线,长度为[1, 32]。
15958
15958
  :type InputName: str
15959
- :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
15959
+ :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
15960
15960
  :type Protocol: str
15961
15961
  :param _Description: 输入描述,长度为[0, 255]。
15962
15962
  :type Description: str
@@ -15980,6 +15980,10 @@ class CreateInput(AbstractModel):
15980
15980
  :type SecurityGroupIds: list of str
15981
15981
  :param _Zones: 可用区,非必填,如果开启容灾必须输入两个不同的可用区,否则最多只允许输入一个可用区。
15982
15982
  :type Zones: list of str
15983
+ :param _RISTSettings: 输入的RIST配置信息。
15984
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
15985
+ :param _InputRegion: 输入节点的地区
15986
+ :type InputRegion: str
15983
15987
  """
15984
15988
  self._InputName = None
15985
15989
  self._Protocol = None
@@ -15994,6 +15998,8 @@ class CreateInput(AbstractModel):
15994
15998
  self._ResilientStream = None
15995
15999
  self._SecurityGroupIds = None
15996
16000
  self._Zones = None
16001
+ self._RISTSettings = None
16002
+ self._InputRegion = None
15997
16003
 
15998
16004
  @property
15999
16005
  def InputName(self):
@@ -16008,7 +16014,7 @@ class CreateInput(AbstractModel):
16008
16014
 
16009
16015
  @property
16010
16016
  def Protocol(self):
16011
- """输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
16017
+ """输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
16012
16018
  :rtype: str
16013
16019
  """
16014
16020
  return self._Protocol
@@ -16138,6 +16144,28 @@ class CreateInput(AbstractModel):
16138
16144
  def Zones(self, Zones):
16139
16145
  self._Zones = Zones
16140
16146
 
16147
+ @property
16148
+ def RISTSettings(self):
16149
+ """输入的RIST配置信息。
16150
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
16151
+ """
16152
+ return self._RISTSettings
16153
+
16154
+ @RISTSettings.setter
16155
+ def RISTSettings(self, RISTSettings):
16156
+ self._RISTSettings = RISTSettings
16157
+
16158
+ @property
16159
+ def InputRegion(self):
16160
+ """输入节点的地区
16161
+ :rtype: str
16162
+ """
16163
+ return self._InputRegion
16164
+
16165
+ @InputRegion.setter
16166
+ def InputRegion(self, InputRegion):
16167
+ self._InputRegion = InputRegion
16168
+
16141
16169
 
16142
16170
  def _deserialize(self, params):
16143
16171
  self._InputName = params.get("InputName")
@@ -16165,6 +16193,10 @@ class CreateInput(AbstractModel):
16165
16193
  self._ResilientStream._deserialize(params.get("ResilientStream"))
16166
16194
  self._SecurityGroupIds = params.get("SecurityGroupIds")
16167
16195
  self._Zones = params.get("Zones")
16196
+ if params.get("RISTSettings") is not None:
16197
+ self._RISTSettings = CreateInputRISTSettings()
16198
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
16199
+ self._InputRegion = params.get("InputRegion")
16168
16200
  memeber_set = set(params.keys())
16169
16201
  for name, value in vars(self).items():
16170
16202
  property_name = name[1:]
@@ -16216,6 +16248,72 @@ class CreateInputHLSPullSettings(AbstractModel):
16216
16248
 
16217
16249
 
16218
16250
 
16251
+ class CreateInputRISTSettings(AbstractModel):
16252
+ """创建的输入RIST的配置信息。
16253
+
16254
+ """
16255
+
16256
+ def __init__(self):
16257
+ r"""
16258
+ :param _Mode: RIST模式,可选[LISTENER],默认为LISTENER。
16259
+ :type Mode: str
16260
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
16261
+ :type Profile: str
16262
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
16263
+ :type Buffer: int
16264
+ """
16265
+ self._Mode = None
16266
+ self._Profile = None
16267
+ self._Buffer = None
16268
+
16269
+ @property
16270
+ def Mode(self):
16271
+ """RIST模式,可选[LISTENER],默认为LISTENER。
16272
+ :rtype: str
16273
+ """
16274
+ return self._Mode
16275
+
16276
+ @Mode.setter
16277
+ def Mode(self, Mode):
16278
+ self._Mode = Mode
16279
+
16280
+ @property
16281
+ def Profile(self):
16282
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
16283
+ :rtype: str
16284
+ """
16285
+ return self._Profile
16286
+
16287
+ @Profile.setter
16288
+ def Profile(self, Profile):
16289
+ self._Profile = Profile
16290
+
16291
+ @property
16292
+ def Buffer(self):
16293
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
16294
+ :rtype: int
16295
+ """
16296
+ return self._Buffer
16297
+
16298
+ @Buffer.setter
16299
+ def Buffer(self, Buffer):
16300
+ self._Buffer = Buffer
16301
+
16302
+
16303
+ def _deserialize(self, params):
16304
+ self._Mode = params.get("Mode")
16305
+ self._Profile = params.get("Profile")
16306
+ self._Buffer = params.get("Buffer")
16307
+ memeber_set = set(params.keys())
16308
+ for name, value in vars(self).items():
16309
+ property_name = name[1:]
16310
+ if property_name in memeber_set:
16311
+ memeber_set.remove(property_name)
16312
+ if len(memeber_set) > 0:
16313
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16314
+
16315
+
16316
+
16219
16317
  class CreateInputRTMPPullSettings(AbstractModel):
16220
16318
  """创建的输入RTMP拉流的配置信息。
16221
16319
 
@@ -16521,7 +16619,7 @@ class CreateOutputInfo(AbstractModel):
16521
16619
  :type OutputName: str
16522
16620
  :param _Description: 输出描述。
16523
16621
  :type Description: str
16524
- :param _Protocol: 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]
16622
+ :param _Protocol: 输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
16525
16623
  :type Protocol: str
16526
16624
  :param _OutputRegion: 输出地区。
16527
16625
  :type OutputRegion: str
@@ -16540,6 +16638,10 @@ class CreateOutputInfo(AbstractModel):
16540
16638
  :type SecurityGroupIds: list of str
16541
16639
  :param _Zones: 可用区,output最多只支持输入一个可用区。
16542
16640
  :type Zones: list of str
16641
+ :param _OutputType: 输出类型:Internet/TencentCSS/StreamLive
16642
+ :type OutputType: str
16643
+ :param _RISTSettings: 输出的RIST的配置。
16644
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
16543
16645
  """
16544
16646
  self._OutputName = None
16545
16647
  self._Description = None
@@ -16552,6 +16654,8 @@ class CreateOutputInfo(AbstractModel):
16552
16654
  self._MaxConcurrent = None
16553
16655
  self._SecurityGroupIds = None
16554
16656
  self._Zones = None
16657
+ self._OutputType = None
16658
+ self._RISTSettings = None
16555
16659
 
16556
16660
  @property
16557
16661
  def OutputName(self):
@@ -16577,7 +16681,7 @@ class CreateOutputInfo(AbstractModel):
16577
16681
 
16578
16682
  @property
16579
16683
  def Protocol(self):
16580
- """输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]
16684
+ """输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
16581
16685
  :rtype: str
16582
16686
  """
16583
16687
  return self._Protocol
@@ -16675,6 +16779,28 @@ class CreateOutputInfo(AbstractModel):
16675
16779
  def Zones(self, Zones):
16676
16780
  self._Zones = Zones
16677
16781
 
16782
+ @property
16783
+ def OutputType(self):
16784
+ """输出类型:Internet/TencentCSS/StreamLive
16785
+ :rtype: str
16786
+ """
16787
+ return self._OutputType
16788
+
16789
+ @OutputType.setter
16790
+ def OutputType(self, OutputType):
16791
+ self._OutputType = OutputType
16792
+
16793
+ @property
16794
+ def RISTSettings(self):
16795
+ """输出的RIST的配置。
16796
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
16797
+ """
16798
+ return self._RISTSettings
16799
+
16800
+ @RISTSettings.setter
16801
+ def RISTSettings(self, RISTSettings):
16802
+ self._RISTSettings = RISTSettings
16803
+
16678
16804
 
16679
16805
  def _deserialize(self, params):
16680
16806
  self._OutputName = params.get("OutputName")
@@ -16694,6 +16820,10 @@ class CreateOutputInfo(AbstractModel):
16694
16820
  self._MaxConcurrent = params.get("MaxConcurrent")
16695
16821
  self._SecurityGroupIds = params.get("SecurityGroupIds")
16696
16822
  self._Zones = params.get("Zones")
16823
+ self._OutputType = params.get("OutputType")
16824
+ if params.get("RISTSettings") is not None:
16825
+ self._RISTSettings = CreateOutputRistSettings()
16826
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
16697
16827
  memeber_set = set(params.keys())
16698
16828
  for name, value in vars(self).items():
16699
16829
  property_name = name[1:]
@@ -16882,6 +17012,72 @@ class CreateOutputRTPSettingsDestinations(AbstractModel):
16882
17012
 
16883
17013
 
16884
17014
 
17015
+ class CreateOutputRistSettings(AbstractModel):
17016
+ """创建媒体传输流的输出的RIST配置。
17017
+
17018
+ """
17019
+
17020
+ def __init__(self):
17021
+ r"""
17022
+ :param _Mode: RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
17023
+ :type Mode: str
17024
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
17025
+ :type Profile: str
17026
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
17027
+ :type Buffer: int
17028
+ """
17029
+ self._Mode = None
17030
+ self._Profile = None
17031
+ self._Buffer = None
17032
+
17033
+ @property
17034
+ def Mode(self):
17035
+ """RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
17036
+ :rtype: str
17037
+ """
17038
+ return self._Mode
17039
+
17040
+ @Mode.setter
17041
+ def Mode(self, Mode):
17042
+ self._Mode = Mode
17043
+
17044
+ @property
17045
+ def Profile(self):
17046
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
17047
+ :rtype: str
17048
+ """
17049
+ return self._Profile
17050
+
17051
+ @Profile.setter
17052
+ def Profile(self, Profile):
17053
+ self._Profile = Profile
17054
+
17055
+ @property
17056
+ def Buffer(self):
17057
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
17058
+ :rtype: int
17059
+ """
17060
+ return self._Buffer
17061
+
17062
+ @Buffer.setter
17063
+ def Buffer(self, Buffer):
17064
+ self._Buffer = Buffer
17065
+
17066
+
17067
+ def _deserialize(self, params):
17068
+ self._Mode = params.get("Mode")
17069
+ self._Profile = params.get("Profile")
17070
+ self._Buffer = params.get("Buffer")
17071
+ memeber_set = set(params.keys())
17072
+ for name, value in vars(self).items():
17073
+ property_name = name[1:]
17074
+ if property_name in memeber_set:
17075
+ memeber_set.remove(property_name)
17076
+ if len(memeber_set) > 0:
17077
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17078
+
17079
+
17080
+
16885
17081
  class CreateOutputRtmpSettingsDestinations(AbstractModel):
16886
17082
  """创建媒体传输流的输出的RTMP的目标地址。
16887
17083
 
@@ -22074,6 +22270,9 @@ class DescribeInput(AbstractModel):
22074
22270
  :type SecurityGroupIds: list of str
22075
22271
  :param _Zones: 可用区配置,开启容灾情况下最多有两个,顺序和pipeline 0、1对应,否则最多只有一个可用区。
22076
22272
  :type Zones: list of str
22273
+ :param _RISTSettings: 输入的RIST配置信息。
22274
+ 注意:此字段可能返回 null,表示取不到有效值。
22275
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeInputRISTSettings`
22077
22276
  """
22078
22277
  self._InputId = None
22079
22278
  self._InputName = None
@@ -22092,6 +22291,7 @@ class DescribeInput(AbstractModel):
22092
22291
  self._ResilientStream = None
22093
22292
  self._SecurityGroupIds = None
22094
22293
  self._Zones = None
22294
+ self._RISTSettings = None
22095
22295
 
22096
22296
  @property
22097
22297
  def InputId(self):
@@ -22289,6 +22489,18 @@ class DescribeInput(AbstractModel):
22289
22489
  def Zones(self, Zones):
22290
22490
  self._Zones = Zones
22291
22491
 
22492
+ @property
22493
+ def RISTSettings(self):
22494
+ """输入的RIST配置信息。
22495
+ 注意:此字段可能返回 null,表示取不到有效值。
22496
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeInputRISTSettings`
22497
+ """
22498
+ return self._RISTSettings
22499
+
22500
+ @RISTSettings.setter
22501
+ def RISTSettings(self, RISTSettings):
22502
+ self._RISTSettings = RISTSettings
22503
+
22292
22504
 
22293
22505
  def _deserialize(self, params):
22294
22506
  self._InputId = params.get("InputId")
@@ -22327,6 +22539,9 @@ class DescribeInput(AbstractModel):
22327
22539
  self._ResilientStream._deserialize(params.get("ResilientStream"))
22328
22540
  self._SecurityGroupIds = params.get("SecurityGroupIds")
22329
22541
  self._Zones = params.get("Zones")
22542
+ if params.get("RISTSettings") is not None:
22543
+ self._RISTSettings = DescribeInputRISTSettings()
22544
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
22330
22545
  memeber_set = set(params.keys())
22331
22546
  for name, value in vars(self).items():
22332
22547
  property_name = name[1:]
@@ -22378,6 +22593,72 @@ class DescribeInputHLSPullSettings(AbstractModel):
22378
22593
 
22379
22594
 
22380
22595
 
22596
+ class DescribeInputRISTSettings(AbstractModel):
22597
+ """查询输入的RIST配置信息。
22598
+
22599
+ """
22600
+
22601
+ def __init__(self):
22602
+ r"""
22603
+ :param _Mode: RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
22604
+ :type Mode: str
22605
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
22606
+ :type Profile: str
22607
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
22608
+ :type Buffer: int
22609
+ """
22610
+ self._Mode = None
22611
+ self._Profile = None
22612
+ self._Buffer = None
22613
+
22614
+ @property
22615
+ def Mode(self):
22616
+ """RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
22617
+ :rtype: str
22618
+ """
22619
+ return self._Mode
22620
+
22621
+ @Mode.setter
22622
+ def Mode(self, Mode):
22623
+ self._Mode = Mode
22624
+
22625
+ @property
22626
+ def Profile(self):
22627
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
22628
+ :rtype: str
22629
+ """
22630
+ return self._Profile
22631
+
22632
+ @Profile.setter
22633
+ def Profile(self, Profile):
22634
+ self._Profile = Profile
22635
+
22636
+ @property
22637
+ def Buffer(self):
22638
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
22639
+ :rtype: int
22640
+ """
22641
+ return self._Buffer
22642
+
22643
+ @Buffer.setter
22644
+ def Buffer(self, Buffer):
22645
+ self._Buffer = Buffer
22646
+
22647
+
22648
+ def _deserialize(self, params):
22649
+ self._Mode = params.get("Mode")
22650
+ self._Profile = params.get("Profile")
22651
+ self._Buffer = params.get("Buffer")
22652
+ memeber_set = set(params.keys())
22653
+ for name, value in vars(self).items():
22654
+ property_name = name[1:]
22655
+ if property_name in memeber_set:
22656
+ memeber_set.remove(property_name)
22657
+ if len(memeber_set) > 0:
22658
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22659
+
22660
+
22661
+
22381
22662
  class DescribeInputRTMPPullSettings(AbstractModel):
22382
22663
  """查询输入的RTMP配置信息。
22383
22664
 
@@ -22866,6 +23147,9 @@ class DescribeOutput(AbstractModel):
22866
23147
  :type SecurityGroupIds: list of str
22867
23148
  :param _Zones: 可用区,output目前最多只支持一个。
22868
23149
  :type Zones: list of str
23150
+ :param _RISTSettings: 输出的RIST配置信息。
23151
+ 注意:此字段可能返回 null,表示取不到有效值。
23152
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeOutputRISTSettings`
22869
23153
  """
22870
23154
  self._OutputId = None
22871
23155
  self._OutputName = None
@@ -22884,6 +23168,7 @@ class DescribeOutput(AbstractModel):
22884
23168
  self._MaxConcurrent = None
22885
23169
  self._SecurityGroupIds = None
22886
23170
  self._Zones = None
23171
+ self._RISTSettings = None
22887
23172
 
22888
23173
  @property
22889
23174
  def OutputId(self):
@@ -23083,6 +23368,18 @@ class DescribeOutput(AbstractModel):
23083
23368
  def Zones(self, Zones):
23084
23369
  self._Zones = Zones
23085
23370
 
23371
+ @property
23372
+ def RISTSettings(self):
23373
+ """输出的RIST配置信息。
23374
+ 注意:此字段可能返回 null,表示取不到有效值。
23375
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeOutputRISTSettings`
23376
+ """
23377
+ return self._RISTSettings
23378
+
23379
+ @RISTSettings.setter
23380
+ def RISTSettings(self, RISTSettings):
23381
+ self._RISTSettings = RISTSettings
23382
+
23086
23383
 
23087
23384
  def _deserialize(self, params):
23088
23385
  self._OutputId = params.get("OutputId")
@@ -23119,6 +23416,9 @@ class DescribeOutput(AbstractModel):
23119
23416
  self._MaxConcurrent = params.get("MaxConcurrent")
23120
23417
  self._SecurityGroupIds = params.get("SecurityGroupIds")
23121
23418
  self._Zones = params.get("Zones")
23419
+ if params.get("RISTSettings") is not None:
23420
+ self._RISTSettings = DescribeOutputRISTSettings()
23421
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
23122
23422
  memeber_set = set(params.keys())
23123
23423
  for name, value in vars(self).items():
23124
23424
  property_name = name[1:]
@@ -23208,6 +23508,94 @@ class DescribeOutputHLSPullSettings(AbstractModel):
23208
23508
 
23209
23509
 
23210
23510
 
23511
+ class DescribeOutputRISTSettings(AbstractModel):
23512
+ """查询输出的RIST拉流配置信息。
23513
+
23514
+ """
23515
+
23516
+ def __init__(self):
23517
+ r"""
23518
+ :param _Mode: RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
23519
+ :type Mode: str
23520
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
23521
+ :type Profile: str
23522
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
23523
+ :type Buffer: int
23524
+ :param _SourceAddresses: 服务器监听地址,RIST模式为LISTENER时使用。
23525
+ 注意:此字段可能返回 null,表示取不到有效值。
23526
+ :type SourceAddresses: list of OutputRISTSourceAddressResp
23527
+ """
23528
+ self._Mode = None
23529
+ self._Profile = None
23530
+ self._Buffer = None
23531
+ self._SourceAddresses = None
23532
+
23533
+ @property
23534
+ def Mode(self):
23535
+ """RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
23536
+ :rtype: str
23537
+ """
23538
+ return self._Mode
23539
+
23540
+ @Mode.setter
23541
+ def Mode(self, Mode):
23542
+ self._Mode = Mode
23543
+
23544
+ @property
23545
+ def Profile(self):
23546
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
23547
+ :rtype: str
23548
+ """
23549
+ return self._Profile
23550
+
23551
+ @Profile.setter
23552
+ def Profile(self, Profile):
23553
+ self._Profile = Profile
23554
+
23555
+ @property
23556
+ def Buffer(self):
23557
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
23558
+ :rtype: int
23559
+ """
23560
+ return self._Buffer
23561
+
23562
+ @Buffer.setter
23563
+ def Buffer(self, Buffer):
23564
+ self._Buffer = Buffer
23565
+
23566
+ @property
23567
+ def SourceAddresses(self):
23568
+ """服务器监听地址,RIST模式为LISTENER时使用。
23569
+ 注意:此字段可能返回 null,表示取不到有效值。
23570
+ :rtype: list of OutputRISTSourceAddressResp
23571
+ """
23572
+ return self._SourceAddresses
23573
+
23574
+ @SourceAddresses.setter
23575
+ def SourceAddresses(self, SourceAddresses):
23576
+ self._SourceAddresses = SourceAddresses
23577
+
23578
+
23579
+ def _deserialize(self, params):
23580
+ self._Mode = params.get("Mode")
23581
+ self._Profile = params.get("Profile")
23582
+ self._Buffer = params.get("Buffer")
23583
+ if params.get("SourceAddresses") is not None:
23584
+ self._SourceAddresses = []
23585
+ for item in params.get("SourceAddresses"):
23586
+ obj = OutputRISTSourceAddressResp()
23587
+ obj._deserialize(item)
23588
+ self._SourceAddresses.append(obj)
23589
+ memeber_set = set(params.keys())
23590
+ for name, value in vars(self).items():
23591
+ property_name = name[1:]
23592
+ if property_name in memeber_set:
23593
+ memeber_set.remove(property_name)
23594
+ if len(memeber_set) > 0:
23595
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23596
+
23597
+
23598
+
23211
23599
  class DescribeOutputRTMPPullServerUrl(AbstractModel):
23212
23600
  """查询输出的RTMP拉流URL信息。
23213
23601
 
@@ -31175,6 +31563,101 @@ class HighlightSegmentItem(AbstractModel):
31175
31563
 
31176
31564
 
31177
31565
 
31566
+ class ImageEncodeConfig(AbstractModel):
31567
+ """图片编码格式参数
31568
+
31569
+ """
31570
+
31571
+ def __init__(self):
31572
+ r"""
31573
+ :param _Format: 图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。
31574
+ 注意:此字段可能返回 null,表示取不到有效值。
31575
+ :type Format: str
31576
+ :param _Quality: 图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。
31577
+ 注意:此字段可能返回 null,表示取不到有效值。
31578
+ :type Quality: int
31579
+ """
31580
+ self._Format = None
31581
+ self._Quality = None
31582
+
31583
+ @property
31584
+ def Format(self):
31585
+ """图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。
31586
+ 注意:此字段可能返回 null,表示取不到有效值。
31587
+ :rtype: str
31588
+ """
31589
+ return self._Format
31590
+
31591
+ @Format.setter
31592
+ def Format(self, Format):
31593
+ self._Format = Format
31594
+
31595
+ @property
31596
+ def Quality(self):
31597
+ """图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。
31598
+ 注意:此字段可能返回 null,表示取不到有效值。
31599
+ :rtype: int
31600
+ """
31601
+ return self._Quality
31602
+
31603
+ @Quality.setter
31604
+ def Quality(self, Quality):
31605
+ self._Quality = Quality
31606
+
31607
+
31608
+ def _deserialize(self, params):
31609
+ self._Format = params.get("Format")
31610
+ self._Quality = params.get("Quality")
31611
+ memeber_set = set(params.keys())
31612
+ for name, value in vars(self).items():
31613
+ property_name = name[1:]
31614
+ if property_name in memeber_set:
31615
+ memeber_set.remove(property_name)
31616
+ if len(memeber_set) > 0:
31617
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31618
+
31619
+
31620
+
31621
+ class ImageEnhanceConfig(AbstractModel):
31622
+ """图片增强参数
31623
+
31624
+ """
31625
+
31626
+ def __init__(self):
31627
+ r"""
31628
+ :param _SuperResolution: 超分配置。
31629
+ 注意:此字段可能返回 null,表示取不到有效值。
31630
+ :type SuperResolution: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
31631
+ """
31632
+ self._SuperResolution = None
31633
+
31634
+ @property
31635
+ def SuperResolution(self):
31636
+ """超分配置。
31637
+ 注意:此字段可能返回 null,表示取不到有效值。
31638
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
31639
+ """
31640
+ return self._SuperResolution
31641
+
31642
+ @SuperResolution.setter
31643
+ def SuperResolution(self, SuperResolution):
31644
+ self._SuperResolution = SuperResolution
31645
+
31646
+
31647
+ def _deserialize(self, params):
31648
+ if params.get("SuperResolution") is not None:
31649
+ self._SuperResolution = SuperResolutionConfig()
31650
+ self._SuperResolution._deserialize(params.get("SuperResolution"))
31651
+ memeber_set = set(params.keys())
31652
+ for name, value in vars(self).items():
31653
+ property_name = name[1:]
31654
+ if property_name in memeber_set:
31655
+ memeber_set.remove(property_name)
31656
+ if len(memeber_set) > 0:
31657
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31658
+
31659
+
31660
+
31178
31661
  class ImageQualityEnhanceConfig(AbstractModel):
31179
31662
  """综合增强配置
31180
31663
 
@@ -31642,6 +32125,65 @@ class ImageSpriteTemplate(AbstractModel):
31642
32125
 
31643
32126
 
31644
32127
 
32128
+ class ImageTaskInput(AbstractModel):
32129
+ """图片任务输入参数
32130
+
32131
+ """
32132
+
32133
+ def __init__(self):
32134
+ r"""
32135
+ :param _EncodeConfig: 图片编码配置。
32136
+ 注意:此字段可能返回 null,表示取不到有效值。
32137
+ :type EncodeConfig: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
32138
+ :param _EnhanceConfig: 图片增强配置。
32139
+ 注意:此字段可能返回 null,表示取不到有效值。
32140
+ :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
32141
+ """
32142
+ self._EncodeConfig = None
32143
+ self._EnhanceConfig = None
32144
+
32145
+ @property
32146
+ def EncodeConfig(self):
32147
+ """图片编码配置。
32148
+ 注意:此字段可能返回 null,表示取不到有效值。
32149
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
32150
+ """
32151
+ return self._EncodeConfig
32152
+
32153
+ @EncodeConfig.setter
32154
+ def EncodeConfig(self, EncodeConfig):
32155
+ self._EncodeConfig = EncodeConfig
32156
+
32157
+ @property
32158
+ def EnhanceConfig(self):
32159
+ """图片增强配置。
32160
+ 注意:此字段可能返回 null,表示取不到有效值。
32161
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
32162
+ """
32163
+ return self._EnhanceConfig
32164
+
32165
+ @EnhanceConfig.setter
32166
+ def EnhanceConfig(self, EnhanceConfig):
32167
+ self._EnhanceConfig = EnhanceConfig
32168
+
32169
+
32170
+ def _deserialize(self, params):
32171
+ if params.get("EncodeConfig") is not None:
32172
+ self._EncodeConfig = ImageEncodeConfig()
32173
+ self._EncodeConfig._deserialize(params.get("EncodeConfig"))
32174
+ if params.get("EnhanceConfig") is not None:
32175
+ self._EnhanceConfig = ImageEnhanceConfig()
32176
+ self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
32177
+ memeber_set = set(params.keys())
32178
+ for name, value in vars(self).items():
32179
+ property_name = name[1:]
32180
+ if property_name in memeber_set:
32181
+ memeber_set.remove(property_name)
32182
+ if len(memeber_set) > 0:
32183
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
32184
+
32185
+
32186
+
31645
32187
  class ImageWatermarkInput(AbstractModel):
31646
32188
  """图片水印模板输入参数
31647
32189
 
@@ -40163,7 +40705,7 @@ class ModifyInput(AbstractModel):
40163
40705
  :type SRTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputSRTSettings`
40164
40706
  :param _RTPSettings: RTP的配置信息。
40165
40707
  :type RTPSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRTPSettings`
40166
- :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP]。
40708
+ :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
40167
40709
  当输出包含RTP时,输入只能是RTP。
40168
40710
  当输出包含RTMP时,输入可以是SRT/RTMP。
40169
40711
  当输出包含SRT时,输入只能是SRT。
@@ -40182,6 +40724,10 @@ class ModifyInput(AbstractModel):
40182
40724
  :type SecurityGroupIds: list of str
40183
40725
  :param _Zones: 可用区,非必填,最多支持输入两个可用区,对于需改接口,只要第二个可用区会参与到资源分配。如果input开启容灾或者涉及RTSP_PULL协议切换时有效(会重新分配地址)。
40184
40726
  :type Zones: list of str
40727
+ :param _RISTSettings: RIST的配置信息。
40728
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
40729
+ :param _InputRegion: 输入节点的地区
40730
+ :type InputRegion: str
40185
40731
  """
40186
40732
  self._InputId = None
40187
40733
  self._InputName = None
@@ -40197,6 +40743,8 @@ class ModifyInput(AbstractModel):
40197
40743
  self._ResilientStream = None
40198
40744
  self._SecurityGroupIds = None
40199
40745
  self._Zones = None
40746
+ self._RISTSettings = None
40747
+ self._InputRegion = None
40200
40748
 
40201
40749
  @property
40202
40750
  def InputId(self):
@@ -40266,7 +40814,7 @@ class ModifyInput(AbstractModel):
40266
40814
 
40267
40815
  @property
40268
40816
  def Protocol(self):
40269
- """输入的协议,可选[SRT|RTP|RTMP]。
40817
+ """输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
40270
40818
  当输出包含RTP时,输入只能是RTP。
40271
40819
  当输出包含RTMP时,输入可以是SRT/RTMP。
40272
40820
  当输出包含SRT时,输入只能是SRT。
@@ -40355,6 +40903,28 @@ class ModifyInput(AbstractModel):
40355
40903
  def Zones(self, Zones):
40356
40904
  self._Zones = Zones
40357
40905
 
40906
+ @property
40907
+ def RISTSettings(self):
40908
+ """RIST的配置信息。
40909
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
40910
+ """
40911
+ return self._RISTSettings
40912
+
40913
+ @RISTSettings.setter
40914
+ def RISTSettings(self, RISTSettings):
40915
+ self._RISTSettings = RISTSettings
40916
+
40917
+ @property
40918
+ def InputRegion(self):
40919
+ """输入节点的地区
40920
+ :rtype: str
40921
+ """
40922
+ return self._InputRegion
40923
+
40924
+ @InputRegion.setter
40925
+ def InputRegion(self, InputRegion):
40926
+ self._InputRegion = InputRegion
40927
+
40358
40928
 
40359
40929
  def _deserialize(self, params):
40360
40930
  self._InputId = params.get("InputId")
@@ -40383,6 +40953,10 @@ class ModifyInput(AbstractModel):
40383
40953
  self._ResilientStream._deserialize(params.get("ResilientStream"))
40384
40954
  self._SecurityGroupIds = params.get("SecurityGroupIds")
40385
40955
  self._Zones = params.get("Zones")
40956
+ if params.get("RISTSettings") is not None:
40957
+ self._RISTSettings = CreateInputRISTSettings()
40958
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
40959
+ self._InputRegion = params.get("InputRegion")
40386
40960
  memeber_set = set(params.keys())
40387
40961
  for name, value in vars(self).items():
40388
40962
  property_name = name[1:]
@@ -40406,7 +40980,7 @@ class ModifyOutputInfo(AbstractModel):
40406
40980
  :type OutputName: str
40407
40981
  :param _Description: 输出的描述。
40408
40982
  :type Description: str
40409
- :param _Protocol: 输出的转推协议,支持SRT|RTP|RTMP。
40983
+ :param _Protocol: 输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
40410
40984
  :type Protocol: str
40411
40985
  :param _SRTSettings: 转推SRT的配置。
40412
40986
  :type SRTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputSRTSettings`
@@ -40423,6 +40997,8 @@ class ModifyOutputInfo(AbstractModel):
40423
40997
  :type SecurityGroupIds: list of str
40424
40998
  :param _Zones: 可用区
40425
40999
  :type Zones: list of str
41000
+ :param _RISTSettings: 转推RIST的配置。
41001
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
40426
41002
  """
40427
41003
  self._OutputId = None
40428
41004
  self._OutputName = None
@@ -40435,6 +41011,7 @@ class ModifyOutputInfo(AbstractModel):
40435
41011
  self._MaxConcurrent = None
40436
41012
  self._SecurityGroupIds = None
40437
41013
  self._Zones = None
41014
+ self._RISTSettings = None
40438
41015
 
40439
41016
  @property
40440
41017
  def OutputId(self):
@@ -40471,7 +41048,7 @@ class ModifyOutputInfo(AbstractModel):
40471
41048
 
40472
41049
  @property
40473
41050
  def Protocol(self):
40474
- """输出的转推协议,支持SRT|RTP|RTMP。
41051
+ """输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
40475
41052
  :rtype: str
40476
41053
  """
40477
41054
  return self._Protocol
@@ -40558,6 +41135,17 @@ class ModifyOutputInfo(AbstractModel):
40558
41135
  def Zones(self, Zones):
40559
41136
  self._Zones = Zones
40560
41137
 
41138
+ @property
41139
+ def RISTSettings(self):
41140
+ """转推RIST的配置。
41141
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
41142
+ """
41143
+ return self._RISTSettings
41144
+
41145
+ @RISTSettings.setter
41146
+ def RISTSettings(self, RISTSettings):
41147
+ self._RISTSettings = RISTSettings
41148
+
40561
41149
 
40562
41150
  def _deserialize(self, params):
40563
41151
  self._OutputId = params.get("OutputId")
@@ -40577,6 +41165,9 @@ class ModifyOutputInfo(AbstractModel):
40577
41165
  self._MaxConcurrent = params.get("MaxConcurrent")
40578
41166
  self._SecurityGroupIds = params.get("SecurityGroupIds")
40579
41167
  self._Zones = params.get("Zones")
41168
+ if params.get("RISTSettings") is not None:
41169
+ self._RISTSettings = CreateOutputRistSettings()
41170
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
40580
41171
  memeber_set = set(params.keys())
40581
41172
  for name, value in vars(self).items():
40582
41173
  property_name = name[1:]
@@ -42915,6 +43506,61 @@ class OutputAddress(AbstractModel):
42915
43506
 
42916
43507
 
42917
43508
 
43509
+ class OutputRISTSourceAddressResp(AbstractModel):
43510
+ """RIST输出的监听地址。
43511
+
43512
+ """
43513
+
43514
+ def __init__(self):
43515
+ r"""
43516
+ :param _Ip: 监听IP。
43517
+ 注意:此字段可能返回 null,表示取不到有效值。
43518
+ :type Ip: str
43519
+ :param _Port: 监听端口。
43520
+ 注意:此字段可能返回 null,表示取不到有效值。
43521
+ :type Port: int
43522
+ """
43523
+ self._Ip = None
43524
+ self._Port = None
43525
+
43526
+ @property
43527
+ def Ip(self):
43528
+ """监听IP。
43529
+ 注意:此字段可能返回 null,表示取不到有效值。
43530
+ :rtype: str
43531
+ """
43532
+ return self._Ip
43533
+
43534
+ @Ip.setter
43535
+ def Ip(self, Ip):
43536
+ self._Ip = Ip
43537
+
43538
+ @property
43539
+ def Port(self):
43540
+ """监听端口。
43541
+ 注意:此字段可能返回 null,表示取不到有效值。
43542
+ :rtype: int
43543
+ """
43544
+ return self._Port
43545
+
43546
+ @Port.setter
43547
+ def Port(self, Port):
43548
+ self._Port = Port
43549
+
43550
+
43551
+ def _deserialize(self, params):
43552
+ self._Ip = params.get("Ip")
43553
+ self._Port = params.get("Port")
43554
+ memeber_set = set(params.keys())
43555
+ for name, value in vars(self).items():
43556
+ property_name = name[1:]
43557
+ if property_name in memeber_set:
43558
+ memeber_set.remove(property_name)
43559
+ if len(memeber_set) > 0:
43560
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43561
+
43562
+
43563
+
42918
43564
  class OutputSRTSourceAddressResp(AbstractModel):
42919
43565
  """SRT输出的监听地址。
42920
43566
 
@@ -44867,6 +45513,136 @@ class PornOcrReviewTemplateInfoForUpdate(AbstractModel):
44867
45513
 
44868
45514
 
44869
45515
 
45516
+ class ProcessImageRequest(AbstractModel):
45517
+ """ProcessImage请求参数结构体
45518
+
45519
+ """
45520
+
45521
+ def __init__(self):
45522
+ r"""
45523
+ :param _InputInfo: 图片处理的文件输入信息。
45524
+ :type InputInfo: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
45525
+ :param _OutputStorage: 图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
45526
+ :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
45527
+ :param _OutputDir: 图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
45528
+ :type OutputDir: str
45529
+ :param _ImageTask: 图片处理参数。
45530
+ :type ImageTask: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
45531
+ """
45532
+ self._InputInfo = None
45533
+ self._OutputStorage = None
45534
+ self._OutputDir = None
45535
+ self._ImageTask = None
45536
+
45537
+ @property
45538
+ def InputInfo(self):
45539
+ """图片处理的文件输入信息。
45540
+ :rtype: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
45541
+ """
45542
+ return self._InputInfo
45543
+
45544
+ @InputInfo.setter
45545
+ def InputInfo(self, InputInfo):
45546
+ self._InputInfo = InputInfo
45547
+
45548
+ @property
45549
+ def OutputStorage(self):
45550
+ """图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
45551
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
45552
+ """
45553
+ return self._OutputStorage
45554
+
45555
+ @OutputStorage.setter
45556
+ def OutputStorage(self, OutputStorage):
45557
+ self._OutputStorage = OutputStorage
45558
+
45559
+ @property
45560
+ def OutputDir(self):
45561
+ """图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
45562
+ :rtype: str
45563
+ """
45564
+ return self._OutputDir
45565
+
45566
+ @OutputDir.setter
45567
+ def OutputDir(self, OutputDir):
45568
+ self._OutputDir = OutputDir
45569
+
45570
+ @property
45571
+ def ImageTask(self):
45572
+ """图片处理参数。
45573
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
45574
+ """
45575
+ return self._ImageTask
45576
+
45577
+ @ImageTask.setter
45578
+ def ImageTask(self, ImageTask):
45579
+ self._ImageTask = ImageTask
45580
+
45581
+
45582
+ def _deserialize(self, params):
45583
+ if params.get("InputInfo") is not None:
45584
+ self._InputInfo = MediaInputInfo()
45585
+ self._InputInfo._deserialize(params.get("InputInfo"))
45586
+ if params.get("OutputStorage") is not None:
45587
+ self._OutputStorage = TaskOutputStorage()
45588
+ self._OutputStorage._deserialize(params.get("OutputStorage"))
45589
+ self._OutputDir = params.get("OutputDir")
45590
+ if params.get("ImageTask") is not None:
45591
+ self._ImageTask = ImageTaskInput()
45592
+ self._ImageTask._deserialize(params.get("ImageTask"))
45593
+ memeber_set = set(params.keys())
45594
+ for name, value in vars(self).items():
45595
+ property_name = name[1:]
45596
+ if property_name in memeber_set:
45597
+ memeber_set.remove(property_name)
45598
+ if len(memeber_set) > 0:
45599
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
45600
+
45601
+
45602
+
45603
+ class ProcessImageResponse(AbstractModel):
45604
+ """ProcessImage返回参数结构体
45605
+
45606
+ """
45607
+
45608
+ def __init__(self):
45609
+ r"""
45610
+ :param _TaskId: 任务 ID。
45611
+ :type TaskId: str
45612
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
45613
+ :type RequestId: str
45614
+ """
45615
+ self._TaskId = None
45616
+ self._RequestId = None
45617
+
45618
+ @property
45619
+ def TaskId(self):
45620
+ """任务 ID。
45621
+ :rtype: str
45622
+ """
45623
+ return self._TaskId
45624
+
45625
+ @TaskId.setter
45626
+ def TaskId(self, TaskId):
45627
+ self._TaskId = TaskId
45628
+
45629
+ @property
45630
+ def RequestId(self):
45631
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
45632
+ :rtype: str
45633
+ """
45634
+ return self._RequestId
45635
+
45636
+ @RequestId.setter
45637
+ def RequestId(self, RequestId):
45638
+ self._RequestId = RequestId
45639
+
45640
+
45641
+ def _deserialize(self, params):
45642
+ self._TaskId = params.get("TaskId")
45643
+ self._RequestId = params.get("RequestId")
45644
+
45645
+
44870
45646
  class ProcessLiveStreamRequest(AbstractModel):
44871
45647
  """ProcessLiveStream请求参数结构体
44872
45648
 
@@ -49376,12 +50152,17 @@ class SegmentRecognitionItem(AbstractModel):
49376
50152
  :param _SegmentUrl: 拆条片段URL。
49377
50153
  注意:此字段可能返回 null,表示取不到有效值。
49378
50154
  :type SegmentUrl: str
50155
+ :param _CovImgUrl: 拆条片段封面。
50156
+ 注意:此字段可能返回 null,表示取不到有效值。
50157
+ :type CovImgUrl: str
49379
50158
  :param _Title: 分段标题。
49380
50159
  注意:此字段可能返回 null,表示取不到有效值。
49381
50160
  :type Title: str
49382
50161
  :param _Summary: 分段概要。
49383
50162
  注意:此字段可能返回 null,表示取不到有效值。
49384
50163
  :type Summary: str
50164
+ :param _Keywords: 分段关键词。
50165
+ :type Keywords: list of str
49385
50166
  :param _BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
49386
50167
  注意:此字段可能返回 null,表示取不到有效值。
49387
50168
  :type BeginTime: str
@@ -49393,8 +50174,10 @@ class SegmentRecognitionItem(AbstractModel):
49393
50174
  self._StartTimeOffset = None
49394
50175
  self._EndTimeOffset = None
49395
50176
  self._SegmentUrl = None
50177
+ self._CovImgUrl = None
49396
50178
  self._Title = None
49397
50179
  self._Summary = None
50180
+ self._Keywords = None
49398
50181
  self._BeginTime = None
49399
50182
  self._EndTime = None
49400
50183
 
@@ -49443,6 +50226,18 @@ class SegmentRecognitionItem(AbstractModel):
49443
50226
  def SegmentUrl(self, SegmentUrl):
49444
50227
  self._SegmentUrl = SegmentUrl
49445
50228
 
50229
+ @property
50230
+ def CovImgUrl(self):
50231
+ """拆条片段封面。
50232
+ 注意:此字段可能返回 null,表示取不到有效值。
50233
+ :rtype: str
50234
+ """
50235
+ return self._CovImgUrl
50236
+
50237
+ @CovImgUrl.setter
50238
+ def CovImgUrl(self, CovImgUrl):
50239
+ self._CovImgUrl = CovImgUrl
50240
+
49446
50241
  @property
49447
50242
  def Title(self):
49448
50243
  """分段标题。
@@ -49467,6 +50262,17 @@ class SegmentRecognitionItem(AbstractModel):
49467
50262
  def Summary(self, Summary):
49468
50263
  self._Summary = Summary
49469
50264
 
50265
+ @property
50266
+ def Keywords(self):
50267
+ """分段关键词。
50268
+ :rtype: list of str
50269
+ """
50270
+ return self._Keywords
50271
+
50272
+ @Keywords.setter
50273
+ def Keywords(self, Keywords):
50274
+ self._Keywords = Keywords
50275
+
49470
50276
  @property
49471
50277
  def BeginTime(self):
49472
50278
  """直播切片对应直播起始时间点,采用 ISO 日期格式。
@@ -49497,8 +50303,10 @@ class SegmentRecognitionItem(AbstractModel):
49497
50303
  self._StartTimeOffset = params.get("StartTimeOffset")
49498
50304
  self._EndTimeOffset = params.get("EndTimeOffset")
49499
50305
  self._SegmentUrl = params.get("SegmentUrl")
50306
+ self._CovImgUrl = params.get("CovImgUrl")
49500
50307
  self._Title = params.get("Title")
49501
50308
  self._Summary = params.get("Summary")
50309
+ self._Keywords = params.get("Keywords")
49502
50310
  self._BeginTime = params.get("BeginTime")
49503
50311
  self._EndTime = params.get("EndTime")
49504
50312
  memeber_set = set(params.keys())
@@ -2392,6 +2392,31 @@ class MpsClient(AbstractClient):
2392
2392
  raise TencentCloudSDKException(type(e).__name__, str(e))
2393
2393
 
2394
2394
 
2395
+ def ProcessImage(self, request):
2396
+ """发起图片处理,功能包括:
2397
+ 1. 格式转换;
2398
+ 2. 图像增强;
2399
+
2400
+ :param request: Request instance for ProcessImage.
2401
+ :type request: :class:`tencentcloud.mps.v20190612.models.ProcessImageRequest`
2402
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ProcessImageResponse`
2403
+
2404
+ """
2405
+ try:
2406
+ params = request._serialize()
2407
+ headers = request.headers
2408
+ body = self.call("ProcessImage", params, headers=headers)
2409
+ response = json.loads(body)
2410
+ model = models.ProcessImageResponse()
2411
+ model._deserialize(response["Response"])
2412
+ return model
2413
+ except Exception as e:
2414
+ if isinstance(e, TencentCloudSDKException):
2415
+ raise
2416
+ else:
2417
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2418
+
2419
+
2395
2420
  def ProcessLiveStream(self, request):
2396
2421
  """对直播流媒体发起处理任务,功能包括:
2397
2422
 
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.1263
3
+ Version: 3.0.1271
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1271
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1263