tencentcloud-sdk-live 3.0.624 → 3.0.626

Sign up to get free protection for your applications and to get access to all the features.
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: 684ee2fc3eafe8e40381c5d8b27878f59d9dde87
4
- data.tar.gz: eff8e2f6732031f51a6792ed109b69db4cdf5402
3
+ metadata.gz: 180d6709b28e97b7205dc3b540ac86ad37dbfa42
4
+ data.tar.gz: 465fcdaeccca6b872017e4182e0c1f0e7aa9e46f
5
5
  SHA512:
6
- metadata.gz: 3bbef372933d54422ba1b6addea3c50344377d2a3961c801f0eeb43a90badbb2910698c9f331e34821d8bf57e637139555becce02c7fc3e8dd496685773a62c0
7
- data.tar.gz: 279585c1ba342d22a878b578ed4b2ffd96548f3634606459646837eabe60631232d99a4baecde603d1a3b9901a98986fa8da759037b4b4b860e24d1f9ca5a560
6
+ metadata.gz: 3eacb5718aad530c6b8bf5adc4f959561b1c449130026ad8340cac7ea3116fd3b53f33b21ce265b740cf4006e741c4e8cf1271ffdba64ec4ff45ac66ac3e0080
7
+ data.tar.gz: 63cb81b6139c086f5d652f3a47ff5377b720219b7753b9df0229dbed356ade5ce90d4dfb3f4b5cb6f7b4ce14f623849a1412e0a3de4dba5a8c19bf8230af92fa
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.624
1
+ 3.0.626
@@ -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.624
4
+ version: 3.0.626
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-31 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common