tencentcloud-sdk-python-trtc 3.0.1266__py2.py3-none-any.whl → 3.0.1273__py2.py3-none-any.whl

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-trtc might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1266'
17
+ __version__ = '3.0.1273'
@@ -9519,7 +9519,28 @@ class RecognizeConfig(AbstractModel):
9519
9519
  :type AlternativeLanguage: list of str
9520
9520
  :param _Model: 目前已不支持
9521
9521
  :type Model: str
9522
- :param _TranslationLanguage: 目前已不支持
9522
+ :param _TranslationLanguage: 填写则翻译,目前支持的语言:
9523
+ 中文: zh
9524
+ 英语: en
9525
+ 越南语: vi
9526
+ 日语: ja
9527
+ 韩语: ko
9528
+ 印度尼西亚语: id
9529
+ 泰语: th
9530
+ 葡萄牙语: pt
9531
+ 土耳其语: tr
9532
+ 阿拉伯语: ar
9533
+ 西班牙语: es
9534
+ 印地语: hi
9535
+ 法语: fr
9536
+ 马来语: ms
9537
+ 菲律宾语: fil
9538
+ 德语: de
9539
+ 意大利语: it
9540
+ 俄语: ru
9541
+ 瑞典语: sv
9542
+ 挪威语: no
9543
+ 丹麦语: da
9523
9544
  :type TranslationLanguage: str
9524
9545
  """
9525
9546
  self._Language = None
@@ -9598,7 +9619,28 @@ class RecognizeConfig(AbstractModel):
9598
9619
  def TranslationLanguage(self):
9599
9620
  warnings.warn("parameter `TranslationLanguage` is deprecated", DeprecationWarning)
9600
9621
 
9601
- """目前已不支持
9622
+ """填写则翻译,目前支持的语言:
9623
+ 中文: zh
9624
+ 英语: en
9625
+ 越南语: vi
9626
+ 日语: ja
9627
+ 韩语: ko
9628
+ 印度尼西亚语: id
9629
+ 泰语: th
9630
+ 葡萄牙语: pt
9631
+ 土耳其语: tr
9632
+ 阿拉伯语: ar
9633
+ 西班牙语: es
9634
+ 印地语: hi
9635
+ 法语: fr
9636
+ 马来语: ms
9637
+ 菲律宾语: fil
9638
+ 德语: de
9639
+ 意大利语: it
9640
+ 俄语: ru
9641
+ 瑞典语: sv
9642
+ 挪威语: no
9643
+ 丹麦语: da
9602
9644
  :rtype: str
9603
9645
  """
9604
9646
  return self._TranslationLanguage
@@ -9636,7 +9678,7 @@ class RecordParams(AbstractModel):
9636
9678
  1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件上传至云存储;
9637
9679
  2:合流录制,将房间内订阅UserId的音视频混录成一个音视频文件,将录制文件上传至云存储;
9638
9680
  :type RecordMode: int
9639
- :param _MaxIdleTime: 房间内持续没有用户(主播)上行推流的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
9681
+ :param _MaxIdleTime: 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
9640
9682
  :type MaxIdleTime: int
9641
9683
  :param _StreamType: 录制的媒体流类型:
9642
9684
  0:录制音频+视频流(默认);
@@ -9684,7 +9726,7 @@ Hls 格式录制此参数不生效。
9684
9726
 
9685
9727
  @property
9686
9728
  def MaxIdleTime(self):
9687
- """房间内持续没有用户(主播)上行推流的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
9729
+ """房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
9688
9730
  :rtype: int
9689
9731
  """
9690
9732
  return self._MaxIdleTime
@@ -11921,6 +11963,8 @@ class StartStreamIngestRequest(AbstractModel):
11921
11963
  :type RepeatNum: int
11922
11964
  :param _MaxDuration: 循环播放最大时长,仅支持RepeatNum设置-1时生效,取值范围[1, 10080],单位分钟。
11923
11965
  :type MaxDuration: int
11966
+ :param _Volume: 音量,取值范围[0, 100],默认100,表示原音量。
11967
+ :type Volume: int
11924
11968
  """
11925
11969
  self._SdkAppId = None
11926
11970
  self._RoomId = None
@@ -11936,6 +11980,7 @@ class StartStreamIngestRequest(AbstractModel):
11936
11980
  self._AutoPush = None
11937
11981
  self._RepeatNum = None
11938
11982
  self._MaxDuration = None
11983
+ self._Volume = None
11939
11984
 
11940
11985
  @property
11941
11986
  def SdkAppId(self):
@@ -12109,6 +12154,17 @@ class StartStreamIngestRequest(AbstractModel):
12109
12154
  def MaxDuration(self, MaxDuration):
12110
12155
  self._MaxDuration = MaxDuration
12111
12156
 
12157
+ @property
12158
+ def Volume(self):
12159
+ """音量,取值范围[0, 100],默认100,表示原音量。
12160
+ :rtype: int
12161
+ """
12162
+ return self._Volume
12163
+
12164
+ @Volume.setter
12165
+ def Volume(self, Volume):
12166
+ self._Volume = Volume
12167
+
12112
12168
 
12113
12169
  def _deserialize(self, params):
12114
12170
  self._SdkAppId = params.get("SdkAppId")
@@ -12129,6 +12185,7 @@ class StartStreamIngestRequest(AbstractModel):
12129
12185
  self._AutoPush = params.get("AutoPush")
12130
12186
  self._RepeatNum = params.get("RepeatNum")
12131
12187
  self._MaxDuration = params.get("MaxDuration")
12188
+ self._Volume = params.get("Volume")
12132
12189
  memeber_set = set(params.keys())
12133
12190
  for name, value in vars(self).items():
12134
12191
  property_name = name[1:]
@@ -14131,12 +14188,15 @@ class UpdateStreamIngestRequest(AbstractModel):
14131
14188
  :type SdkAppId: int
14132
14189
  :param _TaskId: 任务的唯一Id,在启动任务成功后会返回。
14133
14190
  :type TaskId: str
14134
- :param _StreamUrl: 源流URL【必填】。
14191
+ :param _StreamUrl: 源流URL
14135
14192
  :type StreamUrl: str
14193
+ :param _Volume: 音量,取值范围[0, 100],默认100,表示原音量。
14194
+ :type Volume: int
14136
14195
  """
14137
14196
  self._SdkAppId = None
14138
14197
  self._TaskId = None
14139
14198
  self._StreamUrl = None
14199
+ self._Volume = None
14140
14200
 
14141
14201
  @property
14142
14202
  def SdkAppId(self):
@@ -14162,7 +14222,7 @@ class UpdateStreamIngestRequest(AbstractModel):
14162
14222
 
14163
14223
  @property
14164
14224
  def StreamUrl(self):
14165
- """源流URL【必填】。
14225
+ """源流URL
14166
14226
  :rtype: str
14167
14227
  """
14168
14228
  return self._StreamUrl
@@ -14171,11 +14231,23 @@ class UpdateStreamIngestRequest(AbstractModel):
14171
14231
  def StreamUrl(self, StreamUrl):
14172
14232
  self._StreamUrl = StreamUrl
14173
14233
 
14234
+ @property
14235
+ def Volume(self):
14236
+ """音量,取值范围[0, 100],默认100,表示原音量。
14237
+ :rtype: int
14238
+ """
14239
+ return self._Volume
14240
+
14241
+ @Volume.setter
14242
+ def Volume(self, Volume):
14243
+ self._Volume = Volume
14244
+
14174
14245
 
14175
14246
  def _deserialize(self, params):
14176
14247
  self._SdkAppId = params.get("SdkAppId")
14177
14248
  self._TaskId = params.get("TaskId")
14178
14249
  self._StreamUrl = params.get("StreamUrl")
14250
+ self._Volume = params.get("Volume")
14179
14251
  memeber_set = set(params.keys())
14180
14252
  for name, value in vars(self).items():
14181
14253
  property_name = name[1:]
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1266
3
+ Version: 3.0.1273
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
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Platform: any
10
10
  Classifier: Development Status :: 5 - Production/Stable
@@ -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 (==3.0.1266)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1273)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=xa39ZlVEdwzBi6UK57huGoc9g_cyyH1-eE8h6OJtCTM,631
2
+ tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/trtc/v20190722/errorcodes.py,sha256=WNu9Hx8kn4lpbc342xXM1lw4uTQIx2JCvZchRlUXBL8,10987
5
+ tencentcloud/trtc/v20190722/models.py,sha256=GnEUvwl8lh4sZzrhwPH1gr0PtKTHp0Cq7CJZOtMmMiI,542043
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=6FKGmUMKPx22b8mWYHPX0Xwt63y8xNyqJJ1cCzGZP9c,77188
7
+ tencentcloud_sdk_python_trtc-3.0.1273.dist-info/METADATA,sha256=NlZ9rr7lCPw1C9ZPviIC_TgbzqxtmJPueicKkVFdh-s,1501
8
+ tencentcloud_sdk_python_trtc-3.0.1273.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1273.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1273.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=6aRCEGOl3Ca9EZAW4HAzE9MWOwwe_6GHA8uwa8bvH5w,631
2
- tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/trtc/v20190722/errorcodes.py,sha256=WNu9Hx8kn4lpbc342xXM1lw4uTQIx2JCvZchRlUXBL8,10987
5
- tencentcloud/trtc/v20190722/models.py,sha256=_WcpZKwsX7xRxGpouYeislWOq3nRJbC4N9abTbcXxNE,540599
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=6FKGmUMKPx22b8mWYHPX0Xwt63y8xNyqJJ1cCzGZP9c,77188
7
- tencentcloud_sdk_python_trtc-3.0.1266.dist-info/METADATA,sha256=hAvHXKQFQemcIaGN7pJVQ7pkog7qELckYKmFpU8rbYg,1497
8
- tencentcloud_sdk_python_trtc-3.0.1266.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1266.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1266.dist-info/RECORD,,