tencentcloud-sdk-live 3.0.623 → 3.0.625

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180801/models.rb +34 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d72dcdbbfa38f1ea2d05270a8e1d77d1de6c5bd
4
- data.tar.gz: 59e4c3fd9642c59c37b179b86a88f96c20b65763
3
+ metadata.gz: 67aa72f511dd03e9c94a4f1d577b5a759ff7946b
4
+ data.tar.gz: 9eaedd3b4ca1c34211b2bde4d79e45c642163aa8
5
5
  SHA512:
6
- metadata.gz: cab089863a5ca8b42df02c525f2c58e457ca7a3d3d60a16e7489b57d0342deee1120e2bedeb41c58d159a3cbd33eb20e571a2a59612aea7e09d95cdf5488a879
7
- data.tar.gz: 19d37d5886ca7931249207f53dbd234e675f269b79c1eac076e07ca7a2f683e7b1f9e9a5f7720de7f421e9ddead93f798d80a3dc32342c58bd3100ddee242656
6
+ metadata.gz: 9d7c568084170a027bb87ed4e7232677ae0322535b1a2bd95de2ab093507b8b7a81beaa15c590e7d8705b059b2aee19dd2894f39a94b8f2daca11903378f4b97
7
+ data.tar.gz: ac606d5c8acdc628e660226ed5756c72a70047d17998d8128b1fb7acb22e773839ed4a1725a1231601feb364fa8bb69e3e794d1cb6d699eea29526ce8d1ebfa3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.623
1
+ 3.0.625
@@ -750,13 +750,16 @@ module TencentCloud
750
750
  # @type LayoutParams: :class:`Tencentcloud::Live.v20180801.models.CommonMixLayoutParams`
751
751
  # @param CropParams: 输入流裁剪参数。
752
752
  # @type CropParams: :class:`Tencentcloud::Live.v20180801.models.CommonMixCropParams`
753
+ # @param PortraitSegmentParams: 抠图参数。
754
+ # @type PortraitSegmentParams: :class:`Tencentcloud::Live.v20180801.models.MixPortraitSegmentParams`
753
755
 
754
- attr_accessor :InputStreamName, :LayoutParams, :CropParams
756
+ attr_accessor :InputStreamName, :LayoutParams, :CropParams, :PortraitSegmentParams
755
757
 
756
- def initialize(inputstreamname=nil, layoutparams=nil, cropparams=nil)
758
+ def initialize(inputstreamname=nil, layoutparams=nil, cropparams=nil, portraitsegmentparams=nil)
757
759
  @InputStreamName = inputstreamname
758
760
  @LayoutParams = layoutparams
759
761
  @CropParams = cropparams
762
+ @PortraitSegmentParams = portraitsegmentparams
760
763
  end
761
764
 
762
765
  def deserialize(params)
@@ -769,6 +772,10 @@ module TencentCloud
769
772
  @CropParams = CommonMixCropParams.new
770
773
  @CropParams.deserialize(params['CropParams'])
771
774
  end
775
+ unless params['PortraitSegmentParams'].nil?
776
+ @PortraitSegmentParams = MixPortraitSegmentParams.new
777
+ @PortraitSegmentParams.deserialize(params['PortraitSegmentParams'])
778
+ end
772
779
  end
773
780
  end
774
781
 
@@ -1586,6 +1593,7 @@ module TencentCloud
1586
1593
  # @param Mp3Param: Mp3录制参数,开启Mp3录制时设置。
1587
1594
  # @type Mp3Param: :class:`Tencentcloud::Live.v20180801.models.RecordParam`
1588
1595
  # @param RemoveWatermark: 是否去除水印,类型为慢直播时此参数无效。
1596
+ # 如果为false,则录制水印流或转码流;如果为true,则录制原始流。
1589
1597
  # @type RemoveWatermark: Boolean
1590
1598
  # @param FlvSpecialParam: FLV 录制特殊参数。
1591
1599
  # @type FlvSpecialParam: :class:`Tencentcloud::Live.v20180801.models.FlvSpecialParam`
@@ -8745,6 +8753,30 @@ module TencentCloud
8745
8753
  end
8746
8754
  end
8747
8755
 
8756
+ # 混流抠图参数
8757
+ class MixPortraitSegmentParams < TencentCloud::Common::AbstractModel
8758
+ # @param Color: 抠图背景颜色,
8759
+ # 常用的颜色有:
8760
+ # 红色:0xcc0033。
8761
+ # 黄色:0xcc9900。
8762
+ # 绿色:0xcccc33。
8763
+ # 蓝色:0x99CCFF。
8764
+ # 黑色:0x000000。
8765
+ # 白色:0xFFFFFF。
8766
+ # 灰色:0x999999。
8767
+ # @type Color: String
8768
+
8769
+ attr_accessor :Color
8770
+
8771
+ def initialize(color=nil)
8772
+ @Color = color
8773
+ end
8774
+
8775
+ def deserialize(params)
8776
+ @Color = params['Color']
8777
+ end
8778
+ end
8779
+
8748
8780
  # ModifyLiveCallbackTemplate请求参数结构体
8749
8781
  class ModifyLiveCallbackTemplateRequest < TencentCloud::Common::AbstractModel
8750
8782
  # @param TemplateId: DescribeLiveCallbackTemplates接口返回的模板 ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.623
4
+ version: 3.0.625
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-28 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common