tencentcloud-sdk-python-trtc 3.1.145__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.145 → tencentcloud_sdk_python_trtc-3.1.151}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/setup.py +1 -1
  3. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/models.py +151 -8
  5. {tencentcloud_sdk_python_trtc-3.1.145 → 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.145/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/README.rst +0 -0
  9. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/__init__.py +0 -0
  11. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/__init__.py +0 -0
  12. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/trtc_client.py +0 -0
  14. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud/trtc/v20190722/trtc_client_async.py +0 -0
  15. {tencentcloud_sdk_python_trtc-3.1.145 → tencentcloud_sdk_python_trtc-3.1.151}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_trtc-3.1.145 → 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.145 → 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.145
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.145
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.145,<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.145'
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:]
@@ -9739,13 +9882,13 @@ class McuFeedBackRoomParams(AbstractModel):
9739
9882
 
9740
9883
  def __init__(self):
9741
9884
  r"""
9742
- :param _RoomId: 回推房间的RoomId
9885
+ :param _RoomId: <p>回推房间的RoomId。</p>
9743
9886
  :type RoomId: str
9744
- :param _RoomIdType: 房间类型,必须和回推房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。
9887
+ :param _RoomIdType: <p>房间类型,必须和回推房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。</p>
9745
9888
  :type RoomIdType: int
9746
- :param _UserId: 回推房间使用的UserId(https://cloud.tencent.com/document/product/647/46351#userid),注意这个userId不能与其他TRTC或者转推服务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分。
9889
+ :param _UserId: <p>回推房间使用的UserId(https://cloud.tencent.com/document/product/647/46351#userid),注意这个userId不能与其他TRTC或者转推服务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分。</p>
9747
9890
  :type UserId: str
9748
- :param _UserSig: 回推房间UserId对应的用户签名,相当于登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
9891
+ :param _UserSig: <p>回推房间UserId对应的用户签名,相当于登录密码,具体计算方法请参考TRTC计算<a href="https://cloud.tencent.com/document/product/647/45910#UserSig">UserSig</a>的方案。</p>
9749
9892
  :type UserSig: str
9750
9893
  """
9751
9894
  self._RoomId = None
@@ -9755,7 +9898,7 @@ class McuFeedBackRoomParams(AbstractModel):
9755
9898
 
9756
9899
  @property
9757
9900
  def RoomId(self):
9758
- r"""回推房间的RoomId
9901
+ r"""<p>回推房间的RoomId。</p>
9759
9902
  :rtype: str
9760
9903
  """
9761
9904
  return self._RoomId
@@ -9766,7 +9909,7 @@ class McuFeedBackRoomParams(AbstractModel):
9766
9909
 
9767
9910
  @property
9768
9911
  def RoomIdType(self):
9769
- r"""房间类型,必须和回推房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。
9912
+ r"""<p>房间类型,必须和回推房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。</p>
9770
9913
  :rtype: int
9771
9914
  """
9772
9915
  return self._RoomIdType
@@ -9777,7 +9920,7 @@ class McuFeedBackRoomParams(AbstractModel):
9777
9920
 
9778
9921
  @property
9779
9922
  def UserId(self):
9780
- r"""回推房间使用的UserId(https://cloud.tencent.com/document/product/647/46351#userid),注意这个userId不能与其他TRTC或者转推服务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分。
9923
+ r"""<p>回推房间使用的UserId(https://cloud.tencent.com/document/product/647/46351#userid),注意这个userId不能与其他TRTC或者转推服务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分。</p>
9781
9924
  :rtype: str
9782
9925
  """
9783
9926
  return self._UserId
@@ -9788,7 +9931,7 @@ class McuFeedBackRoomParams(AbstractModel):
9788
9931
 
9789
9932
  @property
9790
9933
  def UserSig(self):
9791
- r"""回推房间UserId对应的用户签名,相当于登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
9934
+ r"""<p>回推房间UserId对应的用户签名,相当于登录密码,具体计算方法请参考TRTC计算<a href="https://cloud.tencent.com/document/product/647/45910#UserSig">UserSig</a>的方案。</p>
9792
9935
  :rtype: str
9793
9936
  """
9794
9937
  return self._UserSig
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.1.145
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.145
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.145