tencentcloud-sdk-python-live 3.1.72__py2.py3-none-any.whl → 3.1.77__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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.72'
17
+ __version__ = '3.1.77'
@@ -515,7 +515,7 @@ class LiveClient(AbstractClient):
515
515
 
516
516
 
517
517
  def CreateLiveAvatarScript(self, request):
518
- r"""调用该接口,用于创建数字人直播间话术。
518
+ r"""调用该接口,用于创建数字人直播间/AIGC直播间话术。
519
519
 
520
520
  :param request: Request instance for CreateLiveAvatarScript.
521
521
  :type request: :class:`tencentcloud.live.v20180801.models.CreateLiveAvatarScriptRequest`
@@ -2401,7 +2401,7 @@ class LiveClient(AbstractClient):
2401
2401
 
2402
2402
 
2403
2403
  def DescribeLiveAvatarScripts(self, request):
2404
- r"""调用该接口,查询数字人直播间话术信息列表。
2404
+ r"""调用该接口,查询数字人直播间话术信息列表。新增产品ID参数
2405
2405
 
2406
2406
  :param request: Request instance for DescribeLiveAvatarScripts.
2407
2407
  :type request: :class:`tencentcloud.live.v20180801.models.DescribeLiveAvatarScriptsRequest`
@@ -4479,7 +4479,7 @@ class LiveClient(AbstractClient):
4479
4479
 
4480
4480
 
4481
4481
  def ModifyLiveAvatarRoom(self, request):
4482
- r"""调用该接口,用于修改数字人直播间。
4482
+ r"""调用该接口,用于修改数字人(包括AIGC数字人)直播间。
4483
4483
 
4484
4484
  :param request: Request instance for ModifyLiveAvatarRoom.
4485
4485
  :type request: :class:`tencentcloud.live.v20180801.models.ModifyLiveAvatarRoomRequest`
@@ -5016,7 +5016,7 @@ class LiveClient(AbstractClient):
5016
5016
 
5017
5017
 
5018
5018
  def StartLiveAvatarRoom(self, request):
5019
- r"""调用该接口,用于启动数字人直播间。
5019
+ r"""调用该接口,用于启动数字人(包括AIGC数字人)直播间。
5020
5020
 
5021
5021
  :param request: Request instance for StartLiveAvatarRoom.
5022
5022
  :type request: :class:`tencentcloud.live.v20180801.models.StartLiveAvatarRoomRequest`
@@ -414,7 +414,7 @@ class LiveClient(AbstractClient):
414
414
  opts: Dict = None,
415
415
  ) -> models.CreateLiveAvatarScriptResponse:
416
416
  """
417
- 调用该接口,用于创建数字人直播间话术。
417
+ 调用该接口,用于创建数字人直播间/AIGC直播间话术。
418
418
  """
419
419
 
420
420
  kwargs = {}
@@ -1905,7 +1905,7 @@ class LiveClient(AbstractClient):
1905
1905
  opts: Dict = None,
1906
1906
  ) -> models.DescribeLiveAvatarScriptsResponse:
1907
1907
  """
1908
- 调用该接口,查询数字人直播间话术信息列表。
1908
+ 调用该接口,查询数字人直播间话术信息列表。新增产品ID参数
1909
1909
  """
1910
1910
 
1911
1911
  kwargs = {}
@@ -3543,7 +3543,7 @@ class LiveClient(AbstractClient):
3543
3543
  opts: Dict = None,
3544
3544
  ) -> models.ModifyLiveAvatarRoomResponse:
3545
3545
  """
3546
- 调用该接口,用于修改数字人直播间。
3546
+ 调用该接口,用于修改数字人(包括AIGC数字人)直播间。
3547
3547
  """
3548
3548
 
3549
3549
  kwargs = {}
@@ -3965,7 +3965,7 @@ class LiveClient(AbstractClient):
3965
3965
  opts: Dict = None,
3966
3966
  ) -> models.StartLiveAvatarRoomResponse:
3967
3967
  """
3968
- 调用该接口,用于启动数字人直播间。
3968
+ 调用该接口,用于启动数字人(包括AIGC数字人)直播间。
3969
3969
  """
3970
3970
 
3971
3971
  kwargs = {}
@@ -8034,28 +8034,29 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
8034
8034
 
8035
8035
  def __init__(self):
8036
8036
  r"""
8037
- :param _Title: 话术标题。限制500字节。
8037
+ :param _Title: <p>话术标题。限制500字节。</p>
8038
8038
  :type Title: str
8039
- :param _Content: 话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。
8039
+ :param _Content: <p>话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。</p>
8040
8040
  :type Content: str
8041
- :param _RoomId: 话术所属的数字人直播间 ID
8041
+ :param _RoomId: <p>话术所属的数字人直播间 ID。</p>
8042
8042
  :type RoomId: str
8043
- :param _SpecifyPosition: 话术插入时,可根据已有话术位置,指定新话术插入位置。
8044
- 如已有三条话术100,200,300。
8045
- 新话术可选择150插入到第一条和第二条中间。
8043
+ :param _SpecifyPosition: <p>话术插入时,可根据已有话术位置,指定新话术插入位置。<br>如已有三条话术100,200,300。<br>新话术可选择150插入到第一条和第二条中间。</p>
8046
8044
  :type SpecifyPosition: int
8047
- :param _Operator: 操作者。
8045
+ :param _Operator: <p>操作者。</p>
8048
8046
  :type Operator: str
8047
+ :param _ProductId: <p>话术所属的数字人产品 ID。</p>
8048
+ :type ProductId: str
8049
8049
  """
8050
8050
  self._Title = None
8051
8051
  self._Content = None
8052
8052
  self._RoomId = None
8053
8053
  self._SpecifyPosition = None
8054
8054
  self._Operator = None
8055
+ self._ProductId = None
8055
8056
 
8056
8057
  @property
8057
8058
  def Title(self):
8058
- r"""话术标题。限制500字节。
8059
+ r"""<p>话术标题。限制500字节。</p>
8059
8060
  :rtype: str
8060
8061
  """
8061
8062
  return self._Title
@@ -8066,7 +8067,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
8066
8067
 
8067
8068
  @property
8068
8069
  def Content(self):
8069
- r"""话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。
8070
+ r"""<p>话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。</p>
8070
8071
  :rtype: str
8071
8072
  """
8072
8073
  return self._Content
@@ -8077,7 +8078,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
8077
8078
 
8078
8079
  @property
8079
8080
  def RoomId(self):
8080
- r"""话术所属的数字人直播间 ID
8081
+ r"""<p>话术所属的数字人直播间 ID。</p>
8081
8082
  :rtype: str
8082
8083
  """
8083
8084
  return self._RoomId
@@ -8088,9 +8089,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
8088
8089
 
8089
8090
  @property
8090
8091
  def SpecifyPosition(self):
8091
- r"""话术插入时,可根据已有话术位置,指定新话术插入位置。
8092
- 如已有三条话术100,200,300。
8093
- 新话术可选择150插入到第一条和第二条中间。
8092
+ r"""<p>话术插入时,可根据已有话术位置,指定新话术插入位置。<br>如已有三条话术100,200,300。<br>新话术可选择150插入到第一条和第二条中间。</p>
8094
8093
  :rtype: int
8095
8094
  """
8096
8095
  return self._SpecifyPosition
@@ -8101,7 +8100,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
8101
8100
 
8102
8101
  @property
8103
8102
  def Operator(self):
8104
- r"""操作者。
8103
+ r"""<p>操作者。</p>
8105
8104
  :rtype: str
8106
8105
  """
8107
8106
  return self._Operator
@@ -8110,6 +8109,17 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
8110
8109
  def Operator(self, Operator):
8111
8110
  self._Operator = Operator
8112
8111
 
8112
+ @property
8113
+ def ProductId(self):
8114
+ r"""<p>话术所属的数字人产品 ID。</p>
8115
+ :rtype: str
8116
+ """
8117
+ return self._ProductId
8118
+
8119
+ @ProductId.setter
8120
+ def ProductId(self, ProductId):
8121
+ self._ProductId = ProductId
8122
+
8113
8123
 
8114
8124
  def _deserialize(self, params):
8115
8125
  self._Title = params.get("Title")
@@ -8117,6 +8127,7 @@ class CreateLiveAvatarScriptRequest(AbstractModel):
8117
8127
  self._RoomId = params.get("RoomId")
8118
8128
  self._SpecifyPosition = params.get("SpecifyPosition")
8119
8129
  self._Operator = params.get("Operator")
8130
+ self._ProductId = params.get("ProductId")
8120
8131
  memeber_set = set(params.keys())
8121
8132
  for name, value in vars(self).items():
8122
8133
  property_name = name[1:]
@@ -8134,7 +8145,7 @@ class CreateLiveAvatarScriptResponse(AbstractModel):
8134
8145
 
8135
8146
  def __init__(self):
8136
8147
  r"""
8137
- :param _ScriptId: 话术 ID
8148
+ :param _ScriptId: <p>话术 ID。</p>
8138
8149
  :type ScriptId: str
8139
8150
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8140
8151
  :type RequestId: str
@@ -8144,7 +8155,7 @@ class CreateLiveAvatarScriptResponse(AbstractModel):
8144
8155
 
8145
8156
  @property
8146
8157
  def ScriptId(self):
8147
- r"""话术 ID
8158
+ r"""<p>话术 ID。</p>
8148
8159
  :rtype: str
8149
8160
  """
8150
8161
  return self._ScriptId
@@ -18437,23 +18448,26 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
18437
18448
 
18438
18449
  def __init__(self):
18439
18450
  r"""
18440
- :param _RoomId: 数字人直播间 ID
18451
+ :param _RoomId: <p>数字人直播间 ID。</p>
18441
18452
  :type RoomId: str
18442
- :param _ScriptId: 数字人直播间话术 ID
18453
+ :param _ScriptId: <p>数字人直播间话术 ID。</p>
18443
18454
  :type ScriptId: str
18444
- :param _PageIndex: 分页查询的页数。
18455
+ :param _PageIndex: <p>分页查询的页数。</p>
18445
18456
  :type PageIndex: int
18446
- :param _PageSize: 分页查询的每页个数。
18457
+ :param _PageSize: <p>分页查询的每页个数。</p>
18447
18458
  :type PageSize: int
18459
+ :param _ProductId: <p>数字人该话术所属的产品 ID。</p>
18460
+ :type ProductId: str
18448
18461
  """
18449
18462
  self._RoomId = None
18450
18463
  self._ScriptId = None
18451
18464
  self._PageIndex = None
18452
18465
  self._PageSize = None
18466
+ self._ProductId = None
18453
18467
 
18454
18468
  @property
18455
18469
  def RoomId(self):
18456
- r"""数字人直播间 ID
18470
+ r"""<p>数字人直播间 ID。</p>
18457
18471
  :rtype: str
18458
18472
  """
18459
18473
  return self._RoomId
@@ -18464,7 +18478,7 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
18464
18478
 
18465
18479
  @property
18466
18480
  def ScriptId(self):
18467
- r"""数字人直播间话术 ID
18481
+ r"""<p>数字人直播间话术 ID。</p>
18468
18482
  :rtype: str
18469
18483
  """
18470
18484
  return self._ScriptId
@@ -18475,7 +18489,7 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
18475
18489
 
18476
18490
  @property
18477
18491
  def PageIndex(self):
18478
- r"""分页查询的页数。
18492
+ r"""<p>分页查询的页数。</p>
18479
18493
  :rtype: int
18480
18494
  """
18481
18495
  return self._PageIndex
@@ -18486,7 +18500,7 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
18486
18500
 
18487
18501
  @property
18488
18502
  def PageSize(self):
18489
- r"""分页查询的每页个数。
18503
+ r"""<p>分页查询的每页个数。</p>
18490
18504
  :rtype: int
18491
18505
  """
18492
18506
  return self._PageSize
@@ -18495,12 +18509,24 @@ class DescribeLiveAvatarScriptsRequest(AbstractModel):
18495
18509
  def PageSize(self, PageSize):
18496
18510
  self._PageSize = PageSize
18497
18511
 
18512
+ @property
18513
+ def ProductId(self):
18514
+ r"""<p>数字人该话术所属的产品 ID。</p>
18515
+ :rtype: str
18516
+ """
18517
+ return self._ProductId
18518
+
18519
+ @ProductId.setter
18520
+ def ProductId(self, ProductId):
18521
+ self._ProductId = ProductId
18522
+
18498
18523
 
18499
18524
  def _deserialize(self, params):
18500
18525
  self._RoomId = params.get("RoomId")
18501
18526
  self._ScriptId = params.get("ScriptId")
18502
18527
  self._PageIndex = params.get("PageIndex")
18503
18528
  self._PageSize = params.get("PageSize")
18529
+ self._ProductId = params.get("ProductId")
18504
18530
  memeber_set = set(params.keys())
18505
18531
  for name, value in vars(self).items():
18506
18532
  property_name = name[1:]
@@ -18518,11 +18544,11 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
18518
18544
 
18519
18545
  def __init__(self):
18520
18546
  r"""
18521
- :param _InfoList: 数字人直播间话术信息列表。
18547
+ :param _InfoList: <p>数字人直播间话术信息列表。</p>
18522
18548
  :type InfoList: list of AvatarScriptInfo
18523
- :param _LimitCreateNum: 限制可创建的数字人直播间话术总条数。
18549
+ :param _LimitCreateNum: <p>限制可创建的数字人直播间话术总条数。</p>
18524
18550
  :type LimitCreateNum: int
18525
- :param _TotalNum: 当前数字人直播间话术总条数。
18551
+ :param _TotalNum: <p>当前数字人直播间话术总条数。</p>
18526
18552
  :type TotalNum: int
18527
18553
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18528
18554
  :type RequestId: str
@@ -18534,7 +18560,7 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
18534
18560
 
18535
18561
  @property
18536
18562
  def InfoList(self):
18537
- r"""数字人直播间话术信息列表。
18563
+ r"""<p>数字人直播间话术信息列表。</p>
18538
18564
  :rtype: list of AvatarScriptInfo
18539
18565
  """
18540
18566
  return self._InfoList
@@ -18545,7 +18571,7 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
18545
18571
 
18546
18572
  @property
18547
18573
  def LimitCreateNum(self):
18548
- r"""限制可创建的数字人直播间话术总条数。
18574
+ r"""<p>限制可创建的数字人直播间话术总条数。</p>
18549
18575
  :rtype: int
18550
18576
  """
18551
18577
  return self._LimitCreateNum
@@ -18556,7 +18582,7 @@ class DescribeLiveAvatarScriptsResponse(AbstractModel):
18556
18582
 
18557
18583
  @property
18558
18584
  def TotalNum(self):
18559
- r"""当前数字人直播间话术总条数。
18585
+ r"""<p>当前数字人直播间话术总条数。</p>
18560
18586
  :rtype: int
18561
18587
  """
18562
18588
  return self._TotalNum
@@ -32777,34 +32803,30 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32777
32803
 
32778
32804
  def __init__(self):
32779
32805
  r"""
32780
- :param _RoomId: 数字人直播间 ID
32806
+ :param _RoomId: <p>数字人直播间 ID。</p>
32781
32807
  :type RoomId: str
32782
- :param _Name: 直播间名称。
32808
+ :param _Name: <p>直播间名称。</p>
32783
32809
  :type Name: str
32784
- :param _AvatarKey: 数字人形象KEY
32810
+ :param _AvatarKey: <p>数字人形象KEY。</p>
32785
32811
  :type AvatarKey: str
32786
- :param _TimbreKey: 音色KEY
32812
+ :param _TimbreKey: <p>音色KEY。</p>
32787
32813
  :type TimbreKey: str
32788
- :param _BackgroundUrl: 背景图片URL
32814
+ :param _BackgroundUrl: <p>背景图片URL。</p>
32789
32815
  :type BackgroundUrl: str
32790
- :param _AnchorScale: 主播大小,默认1.00
32791
- 取值范围(0, 15.00]。
32792
- 精度:使用小数点后两位。
32816
+ :param _AnchorScale: <p>主播大小,默认1.00。<br>取值范围(0, 15.00]。<br>精度:使用小数点后两位。</p>
32793
32817
  :type AnchorScale: float
32794
- :param _AnchorVerticalPos: 主播纵向位置。默认-1贴底部。
32795
- 左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。
32796
- 即该纵向位置最大为:数字人分辨率的高 - 形象高。
32818
+ :param _AnchorVerticalPos: <p>主播纵向位置。默认-1贴底部。<br>左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。<br>即该纵向位置最大为:数字人分辨率的高 - 形象高。</p>
32797
32819
  :type AnchorVerticalPos: int
32798
- :param _AnchorHorizontalPos: 主播横向位置。默认-1居中。
32799
- 左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。
32800
- 即最大值为:数字人分辨率的宽 - 形象宽。
32820
+ :param _AnchorHorizontalPos: <p>主播横向位置。默认-1居中。<br>左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。<br>即最大值为:数字人分辨率的宽 - 形象宽。</p>
32801
32821
  :type AnchorHorizontalPos: int
32802
- :param _SpeechSpeed: 语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。
32822
+ :param _SpeechSpeed: <p>语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。</p>
32803
32823
  :type SpeechSpeed: float
32804
- :param _SpeechVolume: 音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。
32824
+ :param _SpeechVolume: <p>音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。</p>
32805
32825
  :type SpeechVolume: int
32806
- :param _Operator: 操作者。
32826
+ :param _Operator: <p>操作者。</p>
32807
32827
  :type Operator: str
32828
+ :param _RoomType: <p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
32829
+ :type RoomType: str
32808
32830
  """
32809
32831
  self._RoomId = None
32810
32832
  self._Name = None
@@ -32817,10 +32839,11 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32817
32839
  self._SpeechSpeed = None
32818
32840
  self._SpeechVolume = None
32819
32841
  self._Operator = None
32842
+ self._RoomType = None
32820
32843
 
32821
32844
  @property
32822
32845
  def RoomId(self):
32823
- r"""数字人直播间 ID
32846
+ r"""<p>数字人直播间 ID。</p>
32824
32847
  :rtype: str
32825
32848
  """
32826
32849
  return self._RoomId
@@ -32831,7 +32854,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32831
32854
 
32832
32855
  @property
32833
32856
  def Name(self):
32834
- r"""直播间名称。
32857
+ r"""<p>直播间名称。</p>
32835
32858
  :rtype: str
32836
32859
  """
32837
32860
  return self._Name
@@ -32842,7 +32865,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32842
32865
 
32843
32866
  @property
32844
32867
  def AvatarKey(self):
32845
- r"""数字人形象KEY
32868
+ r"""<p>数字人形象KEY。</p>
32846
32869
  :rtype: str
32847
32870
  """
32848
32871
  return self._AvatarKey
@@ -32853,7 +32876,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32853
32876
 
32854
32877
  @property
32855
32878
  def TimbreKey(self):
32856
- r"""音色KEY
32879
+ r"""<p>音色KEY。</p>
32857
32880
  :rtype: str
32858
32881
  """
32859
32882
  return self._TimbreKey
@@ -32864,7 +32887,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32864
32887
 
32865
32888
  @property
32866
32889
  def BackgroundUrl(self):
32867
- r"""背景图片URL
32890
+ r"""<p>背景图片URL。</p>
32868
32891
  :rtype: str
32869
32892
  """
32870
32893
  return self._BackgroundUrl
@@ -32875,9 +32898,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32875
32898
 
32876
32899
  @property
32877
32900
  def AnchorScale(self):
32878
- r"""主播大小,默认1.00
32879
- 取值范围(0, 15.00]。
32880
- 精度:使用小数点后两位。
32901
+ r"""<p>主播大小,默认1.00。<br>取值范围(0, 15.00]。<br>精度:使用小数点后两位。</p>
32881
32902
  :rtype: float
32882
32903
  """
32883
32904
  return self._AnchorScale
@@ -32888,9 +32909,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32888
32909
 
32889
32910
  @property
32890
32911
  def AnchorVerticalPos(self):
32891
- r"""主播纵向位置。默认-1贴底部。
32892
- 左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。
32893
- 即该纵向位置最大为:数字人分辨率的高 - 形象高。
32912
+ r"""<p>主播纵向位置。默认-1贴底部。<br>左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。<br>即该纵向位置最大为:数字人分辨率的高 - 形象高。</p>
32894
32913
  :rtype: int
32895
32914
  """
32896
32915
  return self._AnchorVerticalPos
@@ -32901,9 +32920,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32901
32920
 
32902
32921
  @property
32903
32922
  def AnchorHorizontalPos(self):
32904
- r"""主播横向位置。默认-1居中。
32905
- 左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。
32906
- 即最大值为:数字人分辨率的宽 - 形象宽。
32923
+ r"""<p>主播横向位置。默认-1居中。<br>左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。<br>即最大值为:数字人分辨率的宽 - 形象宽。</p>
32907
32924
  :rtype: int
32908
32925
  """
32909
32926
  return self._AnchorHorizontalPos
@@ -32914,7 +32931,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32914
32931
 
32915
32932
  @property
32916
32933
  def SpeechSpeed(self):
32917
- r"""语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。
32934
+ r"""<p>语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。</p>
32918
32935
  :rtype: float
32919
32936
  """
32920
32937
  return self._SpeechSpeed
@@ -32925,7 +32942,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32925
32942
 
32926
32943
  @property
32927
32944
  def SpeechVolume(self):
32928
- r"""音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。
32945
+ r"""<p>音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。</p>
32929
32946
  :rtype: int
32930
32947
  """
32931
32948
  return self._SpeechVolume
@@ -32936,7 +32953,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32936
32953
 
32937
32954
  @property
32938
32955
  def Operator(self):
32939
- r"""操作者。
32956
+ r"""<p>操作者。</p>
32940
32957
  :rtype: str
32941
32958
  """
32942
32959
  return self._Operator
@@ -32945,6 +32962,17 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32945
32962
  def Operator(self, Operator):
32946
32963
  self._Operator = Operator
32947
32964
 
32965
+ @property
32966
+ def RoomType(self):
32967
+ r"""<p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
32968
+ :rtype: str
32969
+ """
32970
+ return self._RoomType
32971
+
32972
+ @RoomType.setter
32973
+ def RoomType(self, RoomType):
32974
+ self._RoomType = RoomType
32975
+
32948
32976
 
32949
32977
  def _deserialize(self, params):
32950
32978
  self._RoomId = params.get("RoomId")
@@ -32958,6 +32986,7 @@ class ModifyLiveAvatarRoomRequest(AbstractModel):
32958
32986
  self._SpeechSpeed = params.get("SpeechSpeed")
32959
32987
  self._SpeechVolume = params.get("SpeechVolume")
32960
32988
  self._Operator = params.get("Operator")
32989
+ self._RoomType = params.get("RoomType")
32961
32990
  memeber_set = set(params.keys())
32962
32991
  for name, value in vars(self).items():
32963
32992
  property_name = name[1:]
@@ -36526,28 +36555,26 @@ class PadTemplate(AbstractModel):
36526
36555
 
36527
36556
  def __init__(self):
36528
36557
  r"""
36529
- :param _TemplateId: 模板id
36558
+ :param _TemplateId: <p>模板id。</p>
36530
36559
  :type TemplateId: int
36531
- :param _TemplateName: 模板名称。
36560
+ :param _TemplateName: <p>模板名称。</p>
36532
36561
  :type TemplateName: str
36533
- :param _Url: 垫片内容。
36562
+ :param _Url: <p>垫片内容。</p>
36534
36563
  :type Url: str
36535
- :param _CreateTime: 模板创建时间。
36564
+ :param _CreateTime: <p>模板创建时间。</p>
36536
36565
  :type CreateTime: str
36537
- :param _UpdateTime: 模板修改时间。
36566
+ :param _UpdateTime: <p>模板修改时间。</p>
36538
36567
  :type UpdateTime: str
36539
- :param _Description: 模板描述。
36568
+ :param _Description: <p>模板描述。</p>
36540
36569
  :type Description: str
36541
- :param _WaitDuration: 断流等待时间。
36542
- 取值范围:0-30000。
36543
- 单位:ms。
36570
+ :param _WaitDuration: <p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
36544
36571
  :type WaitDuration: int
36545
- :param _MaxDuration: 最大垫片时长。
36546
- 取值范围:0 - 正无穷。
36547
- 单位:ms。
36572
+ :param _MaxDuration: <p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
36548
36573
  :type MaxDuration: int
36549
- :param _Type: 垫片内容类型: 1:图片,2:视频。 默认值:1
36574
+ :param _Type: <p>垫片内容类型: 1:图片,2:视频。 默认值:1。</p>
36550
36575
  :type Type: int
36576
+ :param _TriggerCondition: <p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
36577
+ :type TriggerCondition: int
36551
36578
  """
36552
36579
  self._TemplateId = None
36553
36580
  self._TemplateName = None
@@ -36558,10 +36585,11 @@ class PadTemplate(AbstractModel):
36558
36585
  self._WaitDuration = None
36559
36586
  self._MaxDuration = None
36560
36587
  self._Type = None
36588
+ self._TriggerCondition = None
36561
36589
 
36562
36590
  @property
36563
36591
  def TemplateId(self):
36564
- r"""模板id
36592
+ r"""<p>模板id。</p>
36565
36593
  :rtype: int
36566
36594
  """
36567
36595
  return self._TemplateId
@@ -36572,7 +36600,7 @@ class PadTemplate(AbstractModel):
36572
36600
 
36573
36601
  @property
36574
36602
  def TemplateName(self):
36575
- r"""模板名称。
36603
+ r"""<p>模板名称。</p>
36576
36604
  :rtype: str
36577
36605
  """
36578
36606
  return self._TemplateName
@@ -36583,7 +36611,7 @@ class PadTemplate(AbstractModel):
36583
36611
 
36584
36612
  @property
36585
36613
  def Url(self):
36586
- r"""垫片内容。
36614
+ r"""<p>垫片内容。</p>
36587
36615
  :rtype: str
36588
36616
  """
36589
36617
  return self._Url
@@ -36594,7 +36622,7 @@ class PadTemplate(AbstractModel):
36594
36622
 
36595
36623
  @property
36596
36624
  def CreateTime(self):
36597
- r"""模板创建时间。
36625
+ r"""<p>模板创建时间。</p>
36598
36626
  :rtype: str
36599
36627
  """
36600
36628
  return self._CreateTime
@@ -36605,7 +36633,7 @@ class PadTemplate(AbstractModel):
36605
36633
 
36606
36634
  @property
36607
36635
  def UpdateTime(self):
36608
- r"""模板修改时间。
36636
+ r"""<p>模板修改时间。</p>
36609
36637
  :rtype: str
36610
36638
  """
36611
36639
  return self._UpdateTime
@@ -36616,7 +36644,7 @@ class PadTemplate(AbstractModel):
36616
36644
 
36617
36645
  @property
36618
36646
  def Description(self):
36619
- r"""模板描述。
36647
+ r"""<p>模板描述。</p>
36620
36648
  :rtype: str
36621
36649
  """
36622
36650
  return self._Description
@@ -36627,9 +36655,7 @@ class PadTemplate(AbstractModel):
36627
36655
 
36628
36656
  @property
36629
36657
  def WaitDuration(self):
36630
- r"""断流等待时间。
36631
- 取值范围:0-30000。
36632
- 单位:ms。
36658
+ r"""<p>断流等待时间。<br>取值范围:0-30000。<br>单位:ms。</p>
36633
36659
  :rtype: int
36634
36660
  """
36635
36661
  return self._WaitDuration
@@ -36640,9 +36666,7 @@ class PadTemplate(AbstractModel):
36640
36666
 
36641
36667
  @property
36642
36668
  def MaxDuration(self):
36643
- r"""最大垫片时长。
36644
- 取值范围:0 - 正无穷。
36645
- 单位:ms。
36669
+ r"""<p>最大垫片时长。<br>取值范围:0 - 正无穷。<br>单位:ms。</p>
36646
36670
  :rtype: int
36647
36671
  """
36648
36672
  return self._MaxDuration
@@ -36653,7 +36677,7 @@ class PadTemplate(AbstractModel):
36653
36677
 
36654
36678
  @property
36655
36679
  def Type(self):
36656
- r"""垫片内容类型: 1:图片,2:视频。 默认值:1
36680
+ r"""<p>垫片内容类型: 1:图片,2:视频。 默认值:1。</p>
36657
36681
  :rtype: int
36658
36682
  """
36659
36683
  return self._Type
@@ -36662,6 +36686,17 @@ class PadTemplate(AbstractModel):
36662
36686
  def Type(self, Type):
36663
36687
  self._Type = Type
36664
36688
 
36689
+ @property
36690
+ def TriggerCondition(self):
36691
+ r"""<p>断流垫片触发条件</p><p>枚举值:</p><ul><li>0: 主动及异常断流</li><li>1: 异常断流</li></ul><p>默认值:0</p>
36692
+ :rtype: int
36693
+ """
36694
+ return self._TriggerCondition
36695
+
36696
+ @TriggerCondition.setter
36697
+ def TriggerCondition(self, TriggerCondition):
36698
+ self._TriggerCondition = TriggerCondition
36699
+
36665
36700
 
36666
36701
  def _deserialize(self, params):
36667
36702
  self._TemplateId = params.get("TemplateId")
@@ -36673,6 +36708,7 @@ class PadTemplate(AbstractModel):
36673
36708
  self._WaitDuration = params.get("WaitDuration")
36674
36709
  self._MaxDuration = params.get("MaxDuration")
36675
36710
  self._Type = params.get("Type")
36711
+ self._TriggerCondition = params.get("TriggerCondition")
36676
36712
  memeber_set = set(params.keys())
36677
36713
  for name, value in vars(self).items():
36678
36714
  property_name = name[1:]
@@ -40824,23 +40860,26 @@ class StartLiveAvatarRoomRequest(AbstractModel):
40824
40860
 
40825
40861
  def __init__(self):
40826
40862
  r"""
40827
- :param _RoomId: 数字人直播间 ID
40863
+ :param _RoomId: <p>数字人直播间 ID。</p>
40828
40864
  :type RoomId: str
40829
- :param _Comment: 目标地址描述。
40865
+ :param _Comment: <p>目标地址描述。</p>
40830
40866
  :type Comment: str
40831
- :param _ToUrl: 推流目标地址。
40867
+ :param _ToUrl: <p>推流目标地址。</p>
40832
40868
  :type ToUrl: str
40833
- :param _Operator: 操作者。
40869
+ :param _Operator: <p>操作者。</p>
40834
40870
  :type Operator: str
40871
+ :param _RoomType: <p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
40872
+ :type RoomType: str
40835
40873
  """
40836
40874
  self._RoomId = None
40837
40875
  self._Comment = None
40838
40876
  self._ToUrl = None
40839
40877
  self._Operator = None
40878
+ self._RoomType = None
40840
40879
 
40841
40880
  @property
40842
40881
  def RoomId(self):
40843
- r"""数字人直播间 ID
40882
+ r"""<p>数字人直播间 ID。</p>
40844
40883
  :rtype: str
40845
40884
  """
40846
40885
  return self._RoomId
@@ -40851,7 +40890,7 @@ class StartLiveAvatarRoomRequest(AbstractModel):
40851
40890
 
40852
40891
  @property
40853
40892
  def Comment(self):
40854
- r"""目标地址描述。
40893
+ r"""<p>目标地址描述。</p>
40855
40894
  :rtype: str
40856
40895
  """
40857
40896
  return self._Comment
@@ -40862,7 +40901,7 @@ class StartLiveAvatarRoomRequest(AbstractModel):
40862
40901
 
40863
40902
  @property
40864
40903
  def ToUrl(self):
40865
- r"""推流目标地址。
40904
+ r"""<p>推流目标地址。</p>
40866
40905
  :rtype: str
40867
40906
  """
40868
40907
  return self._ToUrl
@@ -40873,7 +40912,7 @@ class StartLiveAvatarRoomRequest(AbstractModel):
40873
40912
 
40874
40913
  @property
40875
40914
  def Operator(self):
40876
- r"""操作者。
40915
+ r"""<p>操作者。</p>
40877
40916
  :rtype: str
40878
40917
  """
40879
40918
  return self._Operator
@@ -40882,12 +40921,24 @@ class StartLiveAvatarRoomRequest(AbstractModel):
40882
40921
  def Operator(self, Operator):
40883
40922
  self._Operator = Operator
40884
40923
 
40924
+ @property
40925
+ def RoomType(self):
40926
+ r"""<p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
40927
+ :rtype: str
40928
+ """
40929
+ return self._RoomType
40930
+
40931
+ @RoomType.setter
40932
+ def RoomType(self, RoomType):
40933
+ self._RoomType = RoomType
40934
+
40885
40935
 
40886
40936
  def _deserialize(self, params):
40887
40937
  self._RoomId = params.get("RoomId")
40888
40938
  self._Comment = params.get("Comment")
40889
40939
  self._ToUrl = params.get("ToUrl")
40890
40940
  self._Operator = params.get("Operator")
40941
+ self._RoomType = params.get("RoomType")
40891
40942
  memeber_set = set(params.keys())
40892
40943
  for name, value in vars(self).items():
40893
40944
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.1.72
3
+ Version: 3.1.77
4
4
  Summary: Tencent Cloud Live 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.72
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.77
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=XRuMwlwfpGdEJdjtIijMfnUVVVZGrvs5Z3IT-hh5tMw,629
2
+ tencentcloud/live/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/live/v20180801/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/live/v20180801/errorcodes.py,sha256=5-NJAgGBXD0E71Ow7pkfD9_sc1oW_lihRR5m2sqpzi8,24861
5
+ tencentcloud/live/v20180801/live_client.py,sha256=Sdgf3w1FyqYdS0lZUXd6TIxhGDb03G9fVrSwcYuWchE,231788
6
+ tencentcloud/live/v20180801/live_client_async.py,sha256=848oxsafokrMvSaWtyid55FDzQrmYC9U0Dfq-yElykc,162247
7
+ tencentcloud/live/v20180801/models.py,sha256=J3kUagZjCcS0utDvojtHQ7OrqPaLMVr6oELSOWmDH2A,1424499
8
+ tencentcloud_sdk_python_live-3.1.77.dist-info/METADATA,sha256=s5ruBIp4gOee4wjE_2-iBik8x_gpccrYusjmjAeOTnw,1500
9
+ tencentcloud_sdk_python_live-3.1.77.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_live-3.1.77.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_live-3.1.77.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=dnMk2lNe8yW3qKJuv2nMjieXHurYzWfzwuTfqfu6AJw,629
2
- tencentcloud/live/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/live/v20180801/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/live/v20180801/errorcodes.py,sha256=5-NJAgGBXD0E71Ow7pkfD9_sc1oW_lihRR5m2sqpzi8,24861
5
- tencentcloud/live/v20180801/live_client.py,sha256=VCFgPUa0ORKL3tx9PjMd9iUDQ0CZPGMV2RhPZiiqff8,231708
6
- tencentcloud/live/v20180801/live_client_async.py,sha256=VNO21SoOkgVU86Lls-Rxe9HV09GaRt_mNdZvsTqt5WA,162167
7
- tencentcloud/live/v20180801/models.py,sha256=KW_zpxF71A6HxsSUGcWzqp4FBkPZyFc6EHuaJ5zyjOI,1420954
8
- tencentcloud_sdk_python_live-3.1.72.dist-info/METADATA,sha256=8LZQn1QYK2_HsaVepYYKlhdn-x7OqHdVJuY4lGg9IKg,1500
9
- tencentcloud_sdk_python_live-3.1.72.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_live-3.1.72.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_live-3.1.72.dist-info/RECORD,,