tencentcloud-sdk-python-trtc 3.1.149__tar.gz → 3.1.151__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 (17) hide show
  1. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/setup.py +1 -1
  3. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/models.py +143 -0
  5. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_trtc-3.1.151/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_trtc-3.1.149/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/README.rst +0 -0
  9. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/__init__.py +0 -0
  11. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/__init__.py +0 -0
  12. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/trtc_client.py +0 -0
  14. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/trtc_client_async.py +0 -0
  15. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_trtc-3.1.149 → tencentcloud_sdk_python_trtc-3.1.151}/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.149
3
+ Version: 3.1.151
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.149
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.151
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.149,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.151,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Trtc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.149'
17
+ __version__ = '3.1.151'
@@ -525,6 +525,132 @@ class AgentParams(AbstractModel):
525
525
 
526
526
 
527
527
 
528
+ class AgoraParam(AbstractModel):
529
+ r"""声网拉流参数
530
+
531
+ """
532
+
533
+ def __init__(self):
534
+ r"""
535
+ :param _AppId: <p>声网提供的应用标识</p>
536
+ :type AppId: str
537
+ :param _Channel: <p>声网提供的频道名</p>
538
+ :type Channel: str
539
+ :param _ChannelProfile: <p>声网录制的频道模式, 可选值如下:(默认值为0) 0: 通信(默认),即常见的 1 对 1 单聊或群聊, 频道内任何用户可以自由说话; 1: 直播,有两种用户角色: 主播和观众。</p><p>枚举值:</p><ul><li>0:: 通信(默认)</li><li>1: 直播</li></ul>
540
+ :type ChannelProfile: int
541
+ :param _Token: <p>绑定频道生成的临时Token</p>
542
+ :type Token: str
543
+ :param _Uid: <p>用户ID</p>
544
+ :type Uid: int
545
+ :param _TrustedUserIdList: <p>信任用户的列表</p>
546
+ :type TrustedUserIdList: list of int non-negative
547
+ :param _UntrustedUserIdList: <p>非信任用户的列表</p>
548
+ :type UntrustedUserIdList: list of int non-negative
549
+ """
550
+ self._AppId = None
551
+ self._Channel = None
552
+ self._ChannelProfile = None
553
+ self._Token = None
554
+ self._Uid = None
555
+ self._TrustedUserIdList = None
556
+ self._UntrustedUserIdList = None
557
+
558
+ @property
559
+ def AppId(self):
560
+ r"""<p>声网提供的应用标识</p>
561
+ :rtype: str
562
+ """
563
+ return self._AppId
564
+
565
+ @AppId.setter
566
+ def AppId(self, AppId):
567
+ self._AppId = AppId
568
+
569
+ @property
570
+ def Channel(self):
571
+ r"""<p>声网提供的频道名</p>
572
+ :rtype: str
573
+ """
574
+ return self._Channel
575
+
576
+ @Channel.setter
577
+ def Channel(self, Channel):
578
+ self._Channel = Channel
579
+
580
+ @property
581
+ def ChannelProfile(self):
582
+ r"""<p>声网录制的频道模式, 可选值如下:(默认值为0) 0: 通信(默认),即常见的 1 对 1 单聊或群聊, 频道内任何用户可以自由说话; 1: 直播,有两种用户角色: 主播和观众。</p><p>枚举值:</p><ul><li>0:: 通信(默认)</li><li>1: 直播</li></ul>
583
+ :rtype: int
584
+ """
585
+ return self._ChannelProfile
586
+
587
+ @ChannelProfile.setter
588
+ def ChannelProfile(self, ChannelProfile):
589
+ self._ChannelProfile = ChannelProfile
590
+
591
+ @property
592
+ def Token(self):
593
+ r"""<p>绑定频道生成的临时Token</p>
594
+ :rtype: str
595
+ """
596
+ return self._Token
597
+
598
+ @Token.setter
599
+ def Token(self, Token):
600
+ self._Token = Token
601
+
602
+ @property
603
+ def Uid(self):
604
+ r"""<p>用户ID</p>
605
+ :rtype: int
606
+ """
607
+ return self._Uid
608
+
609
+ @Uid.setter
610
+ def Uid(self, Uid):
611
+ self._Uid = Uid
612
+
613
+ @property
614
+ def TrustedUserIdList(self):
615
+ r"""<p>信任用户的列表</p>
616
+ :rtype: list of int non-negative
617
+ """
618
+ return self._TrustedUserIdList
619
+
620
+ @TrustedUserIdList.setter
621
+ def TrustedUserIdList(self, TrustedUserIdList):
622
+ self._TrustedUserIdList = TrustedUserIdList
623
+
624
+ @property
625
+ def UntrustedUserIdList(self):
626
+ r"""<p>非信任用户的列表</p>
627
+ :rtype: list of int non-negative
628
+ """
629
+ return self._UntrustedUserIdList
630
+
631
+ @UntrustedUserIdList.setter
632
+ def UntrustedUserIdList(self, UntrustedUserIdList):
633
+ self._UntrustedUserIdList = UntrustedUserIdList
634
+
635
+
636
+ def _deserialize(self, params):
637
+ self._AppId = params.get("AppId")
638
+ self._Channel = params.get("Channel")
639
+ self._ChannelProfile = params.get("ChannelProfile")
640
+ self._Token = params.get("Token")
641
+ self._Uid = params.get("Uid")
642
+ self._TrustedUserIdList = params.get("TrustedUserIdList")
643
+ self._UntrustedUserIdList = params.get("UntrustedUserIdList")
644
+ memeber_set = set(params.keys())
645
+ for name, value in vars(self).items():
646
+ property_name = name[1:]
647
+ if property_name in memeber_set:
648
+ memeber_set.remove(property_name)
649
+ if len(memeber_set) > 0:
650
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
651
+
652
+
653
+
528
654
  class AlignmentItem(AbstractModel):
529
655
  r"""字幕对齐
530
656
 
@@ -8975,9 +9101,12 @@ class Input(AbstractModel):
8975
9101
  :type Url: str
8976
9102
  :param _Format: <p>显式协议</p><p>枚举值:</p><ul><li>rtmp: rtmp协议</li></ul>
8977
9103
  :type Format: str
9104
+ :param _AgoraParam: <p>声网拉流进房参数</p>
9105
+ :type AgoraParam: :class:`tencentcloud.trtc.v20190722.models.AgoraParam`
8978
9106
  """
8979
9107
  self._Url = None
8980
9108
  self._Format = None
9109
+ self._AgoraParam = None
8981
9110
 
8982
9111
  @property
8983
9112
  def Url(self):
@@ -9001,10 +9130,24 @@ class Input(AbstractModel):
9001
9130
  def Format(self, Format):
9002
9131
  self._Format = Format
9003
9132
 
9133
+ @property
9134
+ def AgoraParam(self):
9135
+ r"""<p>声网拉流进房参数</p>
9136
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.AgoraParam`
9137
+ """
9138
+ return self._AgoraParam
9139
+
9140
+ @AgoraParam.setter
9141
+ def AgoraParam(self, AgoraParam):
9142
+ self._AgoraParam = AgoraParam
9143
+
9004
9144
 
9005
9145
  def _deserialize(self, params):
9006
9146
  self._Url = params.get("Url")
9007
9147
  self._Format = params.get("Format")
9148
+ if params.get("AgoraParam") is not None:
9149
+ self._AgoraParam = AgoraParam()
9150
+ self._AgoraParam._deserialize(params.get("AgoraParam"))
9008
9151
  memeber_set = set(params.keys())
9009
9152
  for name, value in vars(self).items():
9010
9153
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.1.149
3
+ Version: 3.1.151
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.149
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.151
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.151
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.149