tencentcloud-sdk-python-mps 3.0.1360__tar.gz → 3.0.1362__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-mps might be problematic. Click here for more details.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/setup.py +1 -1
  3. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud/mps/v20190612/models.py +168 -17
  5. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-mps-3.0.1362/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-mps-3.0.1360/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/README.rst +0 -0
  9. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud/mps/__init__.py +0 -0
  11. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud/mps/v20190612/__init__.py +0 -0
  12. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  14. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-mps-3.0.1360 → tencentcloud-sdk-python-mps-3.0.1362}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.1360
3
+ Version: 3.0.1362
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
@@ -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.1360"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1362"],
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.1360'
17
+ __version__ = '3.0.1362'
@@ -11595,7 +11595,7 @@ class AudioTemplateInfo(AbstractModel):
11595
11595
 
11596
11596
 
11597
11597
  :type Bitrate: int
11598
- :param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档]https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53
11598
+ :param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
11599
11599
  单位:Hz
11600
11600
  注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
11601
11601
  :type SampleRate: int
@@ -11666,7 +11666,7 @@ class AudioTemplateInfo(AbstractModel):
11666
11666
 
11667
11667
  @property
11668
11668
  def SampleRate(self):
11669
- """音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档]https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53
11669
+ """音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
11670
11670
  单位:Hz
11671
11671
  注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
11672
11672
  :rtype: int
@@ -17482,6 +17482,10 @@ class CreateOutputInfo(AbstractModel):
17482
17482
  :type Protocol: str
17483
17483
  :param _OutputRegion: 输出地区。
17484
17484
  :type OutputRegion: str
17485
+ :param _OutputType: 输出类型:Internet/TencentCSS
17486
+ :type OutputType: str
17487
+ :param _OutputKind: 输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出
17488
+ :type OutputKind: str
17485
17489
  :param _SRTSettings: 输出的SRT的配置。
17486
17490
  :type SRTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputSRTSettings`
17487
17491
  :param _RTMPSettings: 输出的RTMP的配置。
@@ -17497,8 +17501,6 @@ class CreateOutputInfo(AbstractModel):
17497
17501
  :type SecurityGroupIds: list of str
17498
17502
  :param _Zones: 可用区,output最多只支持输入一个可用区。
17499
17503
  :type Zones: list of str
17500
- :param _OutputType: 输出类型:Internet/TencentCSS/StreamLive
17501
- :type OutputType: str
17502
17504
  :param _RISTSettings: 输出的RIST的配置。
17503
17505
  :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
17504
17506
  :param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
@@ -17508,6 +17510,8 @@ class CreateOutputInfo(AbstractModel):
17508
17510
  self._Description = None
17509
17511
  self._Protocol = None
17510
17512
  self._OutputRegion = None
17513
+ self._OutputType = None
17514
+ self._OutputKind = None
17511
17515
  self._SRTSettings = None
17512
17516
  self._RTMPSettings = None
17513
17517
  self._RTPSettings = None
@@ -17515,7 +17519,6 @@ class CreateOutputInfo(AbstractModel):
17515
17519
  self._MaxConcurrent = None
17516
17520
  self._SecurityGroupIds = None
17517
17521
  self._Zones = None
17518
- self._OutputType = None
17519
17522
  self._RISTSettings = None
17520
17523
  self._PidSelector = None
17521
17524
 
@@ -17563,6 +17566,28 @@ class CreateOutputInfo(AbstractModel):
17563
17566
  def OutputRegion(self, OutputRegion):
17564
17567
  self._OutputRegion = OutputRegion
17565
17568
 
17569
+ @property
17570
+ def OutputType(self):
17571
+ """输出类型:Internet/TencentCSS
17572
+ :rtype: str
17573
+ """
17574
+ return self._OutputType
17575
+
17576
+ @OutputType.setter
17577
+ def OutputType(self, OutputType):
17578
+ self._OutputType = OutputType
17579
+
17580
+ @property
17581
+ def OutputKind(self):
17582
+ """输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出
17583
+ :rtype: str
17584
+ """
17585
+ return self._OutputKind
17586
+
17587
+ @OutputKind.setter
17588
+ def OutputKind(self, OutputKind):
17589
+ self._OutputKind = OutputKind
17590
+
17566
17591
  @property
17567
17592
  def SRTSettings(self):
17568
17593
  """输出的SRT的配置。
@@ -17641,17 +17666,6 @@ class CreateOutputInfo(AbstractModel):
17641
17666
  def Zones(self, Zones):
17642
17667
  self._Zones = Zones
17643
17668
 
17644
- @property
17645
- def OutputType(self):
17646
- """输出类型:Internet/TencentCSS/StreamLive
17647
- :rtype: str
17648
- """
17649
- return self._OutputType
17650
-
17651
- @OutputType.setter
17652
- def OutputType(self, OutputType):
17653
- self._OutputType = OutputType
17654
-
17655
17669
  @property
17656
17670
  def RISTSettings(self):
17657
17671
  """输出的RIST的配置。
@@ -17680,6 +17694,8 @@ class CreateOutputInfo(AbstractModel):
17680
17694
  self._Description = params.get("Description")
17681
17695
  self._Protocol = params.get("Protocol")
17682
17696
  self._OutputRegion = params.get("OutputRegion")
17697
+ self._OutputType = params.get("OutputType")
17698
+ self._OutputKind = params.get("OutputKind")
17683
17699
  if params.get("SRTSettings") is not None:
17684
17700
  self._SRTSettings = CreateOutputSRTSettings()
17685
17701
  self._SRTSettings._deserialize(params.get("SRTSettings"))
@@ -17693,7 +17709,6 @@ class CreateOutputInfo(AbstractModel):
17693
17709
  self._MaxConcurrent = params.get("MaxConcurrent")
17694
17710
  self._SecurityGroupIds = params.get("SecurityGroupIds")
17695
17711
  self._Zones = params.get("Zones")
17696
- self._OutputType = params.get("OutputType")
17697
17712
  if params.get("RISTSettings") is not None:
17698
17713
  self._RISTSettings = CreateOutputRistSettings()
17699
17714
  self._RISTSettings._deserialize(params.get("RISTSettings"))
@@ -24508,6 +24523,8 @@ class DescribeInput(AbstractModel):
24508
24523
  :param _RISTSettings: 输入的RIST配置信息。
24509
24524
  注意:此字段可能返回 null,表示取不到有效值。
24510
24525
  :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeInputRISTSettings`
24526
+ :param _StreamUrls: 输入模块配置相关的URL信息,包含提供的推流地址,或者配置的第三方源流地址
24527
+ :type StreamUrls: list of StreamUrlDetail
24511
24528
  """
24512
24529
  self._InputId = None
24513
24530
  self._InputName = None
@@ -24527,6 +24544,7 @@ class DescribeInput(AbstractModel):
24527
24544
  self._SecurityGroupIds = None
24528
24545
  self._Zones = None
24529
24546
  self._RISTSettings = None
24547
+ self._StreamUrls = None
24530
24548
 
24531
24549
  @property
24532
24550
  def InputId(self):
@@ -24736,6 +24754,17 @@ class DescribeInput(AbstractModel):
24736
24754
  def RISTSettings(self, RISTSettings):
24737
24755
  self._RISTSettings = RISTSettings
24738
24756
 
24757
+ @property
24758
+ def StreamUrls(self):
24759
+ """输入模块配置相关的URL信息,包含提供的推流地址,或者配置的第三方源流地址
24760
+ :rtype: list of StreamUrlDetail
24761
+ """
24762
+ return self._StreamUrls
24763
+
24764
+ @StreamUrls.setter
24765
+ def StreamUrls(self, StreamUrls):
24766
+ self._StreamUrls = StreamUrls
24767
+
24739
24768
 
24740
24769
  def _deserialize(self, params):
24741
24770
  self._InputId = params.get("InputId")
@@ -24777,6 +24806,12 @@ class DescribeInput(AbstractModel):
24777
24806
  if params.get("RISTSettings") is not None:
24778
24807
  self._RISTSettings = DescribeInputRISTSettings()
24779
24808
  self._RISTSettings._deserialize(params.get("RISTSettings"))
24809
+ if params.get("StreamUrls") is not None:
24810
+ self._StreamUrls = []
24811
+ for item in params.get("StreamUrls"):
24812
+ obj = StreamUrlDetail()
24813
+ obj._deserialize(item)
24814
+ self._StreamUrls.append(obj)
24780
24815
  memeber_set = set(params.keys())
24781
24816
  for name, value in vars(self).items():
24782
24817
  property_name = name[1:]
@@ -25506,6 +25541,8 @@ class DescribeOutput(AbstractModel):
25506
25541
  :type OutputName: str
25507
25542
  :param _OutputType: 输出类型。
25508
25543
  :type OutputType: str
25544
+ :param _OutputKind: 输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出。
25545
+ :type OutputKind: str
25509
25546
  :param _Description: 输出描述。
25510
25547
  注意:此字段可能返回 null,表示取不到有效值。
25511
25548
  :type Description: str
@@ -25550,10 +25587,13 @@ class DescribeOutput(AbstractModel):
25550
25587
  :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeOutputRISTSettings`
25551
25588
  :param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
25552
25589
  :type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
25590
+ :param _StreamUrls: 输出模块配置,相关的URL,包括提供的拉流地址,或者配置的输出到第三方的转推地址
25591
+ :type StreamUrls: list of StreamUrlDetail
25553
25592
  """
25554
25593
  self._OutputId = None
25555
25594
  self._OutputName = None
25556
25595
  self._OutputType = None
25596
+ self._OutputKind = None
25557
25597
  self._Description = None
25558
25598
  self._Protocol = None
25559
25599
  self._OutputAddressList = None
@@ -25570,6 +25610,7 @@ class DescribeOutput(AbstractModel):
25570
25610
  self._Zones = None
25571
25611
  self._RISTSettings = None
25572
25612
  self._PidSelector = None
25613
+ self._StreamUrls = None
25573
25614
 
25574
25615
  @property
25575
25616
  def OutputId(self):
@@ -25604,6 +25645,17 @@ class DescribeOutput(AbstractModel):
25604
25645
  def OutputType(self, OutputType):
25605
25646
  self._OutputType = OutputType
25606
25647
 
25648
+ @property
25649
+ def OutputKind(self):
25650
+ """输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出。
25651
+ :rtype: str
25652
+ """
25653
+ return self._OutputKind
25654
+
25655
+ @OutputKind.setter
25656
+ def OutputKind(self, OutputKind):
25657
+ self._OutputKind = OutputKind
25658
+
25607
25659
  @property
25608
25660
  def Description(self):
25609
25661
  """输出描述。
@@ -25792,11 +25844,23 @@ class DescribeOutput(AbstractModel):
25792
25844
  def PidSelector(self, PidSelector):
25793
25845
  self._PidSelector = PidSelector
25794
25846
 
25847
+ @property
25848
+ def StreamUrls(self):
25849
+ """输出模块配置,相关的URL,包括提供的拉流地址,或者配置的输出到第三方的转推地址
25850
+ :rtype: list of StreamUrlDetail
25851
+ """
25852
+ return self._StreamUrls
25853
+
25854
+ @StreamUrls.setter
25855
+ def StreamUrls(self, StreamUrls):
25856
+ self._StreamUrls = StreamUrls
25857
+
25795
25858
 
25796
25859
  def _deserialize(self, params):
25797
25860
  self._OutputId = params.get("OutputId")
25798
25861
  self._OutputName = params.get("OutputName")
25799
25862
  self._OutputType = params.get("OutputType")
25863
+ self._OutputKind = params.get("OutputKind")
25800
25864
  self._Description = params.get("Description")
25801
25865
  self._Protocol = params.get("Protocol")
25802
25866
  if params.get("OutputAddressList") is not None:
@@ -25834,6 +25898,12 @@ class DescribeOutput(AbstractModel):
25834
25898
  if params.get("PidSelector") is not None:
25835
25899
  self._PidSelector = PidSelector()
25836
25900
  self._PidSelector._deserialize(params.get("PidSelector"))
25901
+ if params.get("StreamUrls") is not None:
25902
+ self._StreamUrls = []
25903
+ for item in params.get("StreamUrls"):
25904
+ obj = StreamUrlDetail()
25905
+ obj._deserialize(item)
25906
+ self._StreamUrls.append(obj)
25837
25907
  memeber_set = set(params.keys())
25838
25908
  for name, value in vars(self).items():
25839
25909
  property_name = name[1:]
@@ -44567,6 +44637,8 @@ class ModifyOutputInfo(AbstractModel):
44567
44637
  :type Description: str
44568
44638
  :param _Protocol: 输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。
44569
44639
  :type Protocol: str
44640
+ :param _OutputKind: 输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出。
44641
+ :type OutputKind: str
44570
44642
  :param _SRTSettings: 转推SRT的配置。
44571
44643
  :type SRTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputSRTSettings`
44572
44644
  :param _RTPSettings: 转推RTP的配置。
@@ -44593,6 +44665,7 @@ class ModifyOutputInfo(AbstractModel):
44593
44665
  self._OutputName = None
44594
44666
  self._Description = None
44595
44667
  self._Protocol = None
44668
+ self._OutputKind = None
44596
44669
  self._SRTSettings = None
44597
44670
  self._RTPSettings = None
44598
44671
  self._RTMPSettings = None
@@ -44648,6 +44721,17 @@ class ModifyOutputInfo(AbstractModel):
44648
44721
  def Protocol(self, Protocol):
44649
44722
  self._Protocol = Protocol
44650
44723
 
44724
+ @property
44725
+ def OutputKind(self):
44726
+ """输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出。
44727
+ :rtype: str
44728
+ """
44729
+ return self._OutputKind
44730
+
44731
+ @OutputKind.setter
44732
+ def OutputKind(self, OutputKind):
44733
+ self._OutputKind = OutputKind
44734
+
44651
44735
  @property
44652
44736
  def SRTSettings(self):
44653
44737
  """转推SRT的配置。
@@ -44765,6 +44849,7 @@ class ModifyOutputInfo(AbstractModel):
44765
44849
  self._OutputName = params.get("OutputName")
44766
44850
  self._Description = params.get("Description")
44767
44851
  self._Protocol = params.get("Protocol")
44852
+ self._OutputKind = params.get("OutputKind")
44768
44853
  if params.get("SRTSettings") is not None:
44769
44854
  self._SRTSettings = CreateOutputSRTSettings()
44770
44855
  self._SRTSettings._deserialize(params.get("SRTSettings"))
@@ -57090,6 +57175,72 @@ class StreamLinkRegionInfo(AbstractModel):
57090
57175
 
57091
57176
 
57092
57177
 
57178
+ class StreamUrlDetail(AbstractModel):
57179
+ """描述 URL 的完整信息
57180
+
57181
+ """
57182
+
57183
+ def __init__(self):
57184
+ r"""
57185
+ :param _Label: 会描述运营商信息等
57186
+ :type Label: str
57187
+ :param _Url: URL
57188
+ :type Url: str
57189
+ :param _Type: Playback: 拉流播放地址; RelayDestination:转推目的地址;SourceCaptureUrl:回源拉流地址;IngestEndpoint:推流地址
57190
+ :type Type: str
57191
+ """
57192
+ self._Label = None
57193
+ self._Url = None
57194
+ self._Type = None
57195
+
57196
+ @property
57197
+ def Label(self):
57198
+ """会描述运营商信息等
57199
+ :rtype: str
57200
+ """
57201
+ return self._Label
57202
+
57203
+ @Label.setter
57204
+ def Label(self, Label):
57205
+ self._Label = Label
57206
+
57207
+ @property
57208
+ def Url(self):
57209
+ """URL
57210
+ :rtype: str
57211
+ """
57212
+ return self._Url
57213
+
57214
+ @Url.setter
57215
+ def Url(self, Url):
57216
+ self._Url = Url
57217
+
57218
+ @property
57219
+ def Type(self):
57220
+ """Playback: 拉流播放地址; RelayDestination:转推目的地址;SourceCaptureUrl:回源拉流地址;IngestEndpoint:推流地址
57221
+ :rtype: str
57222
+ """
57223
+ return self._Type
57224
+
57225
+ @Type.setter
57226
+ def Type(self, Type):
57227
+ self._Type = Type
57228
+
57229
+
57230
+ def _deserialize(self, params):
57231
+ self._Label = params.get("Label")
57232
+ self._Url = params.get("Url")
57233
+ self._Type = params.get("Type")
57234
+ memeber_set = set(params.keys())
57235
+ for name, value in vars(self).items():
57236
+ property_name = name[1:]
57237
+ if property_name in memeber_set:
57238
+ memeber_set.remove(property_name)
57239
+ if len(memeber_set) > 0:
57240
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
57241
+
57242
+
57243
+
57093
57244
  class SubtitleTemplate(AbstractModel):
57094
57245
  """字幕流配置参数。
57095
57246
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.1360
3
+ Version: 3.0.1362
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1362
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1360