tencentcloud-sdk-live 3.0.579 → 3.0.581

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a4f845257155c773acb464b3fbda9b6d8ca1e64
4
- data.tar.gz: 479d5d4f63a201dd214f17cc4e2aa3d9551a9036
3
+ metadata.gz: 4f093e5541c8cbdc0bcec523d08e8baf0990287d
4
+ data.tar.gz: 7ee774348ea1222a832f83e4d37a12263484fed6
5
5
  SHA512:
6
- metadata.gz: 930f05cd81aab4ba3f12ab3ec28cf591ee3cd411e567ec7d65320ce7a6488af745b0dc44ff321cbea1f8114c230f50c517f443916ee6b4d507b98e0777d66291
7
- data.tar.gz: c02648623dcaedf97d26c18fac9429e6e0931ecb942fad1c099133e0a3e6e8b742c450ab2f0c44131669058af4cf04b6bb60d0dc7f2dfe55e40cb9975709caac
6
+ metadata.gz: f7ca96582bcaf666fb25a97e38c9e74718ffee5602cdd23c8deb2ff72312d3d09eceb5eed748168266fb4a3960140123c86f49d60f8a63f27048153015698656
7
+ data.tar.gz: bc40ed25e90abac7d236ff864332be95c8d3a0aa1cff65e1b202686586a94a17b8f2d6181d02d1e14ebde2624ef7ec6dd827322dd6c60bb7ff1c4aacfd92bd35
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.579
1
+ 3.0.581
@@ -79,8 +79,7 @@ module TencentCloud
79
79
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
80
80
  end
81
81
 
82
- # 添加水印,成功返回水印 ID 后,需要调用[CreateLiveWatermarkRule](/document/product/267/32629)接口将水印 ID 绑定到流使用。
83
- # 水印数量上限 100,超过后需要先删除,再添加。
82
+ # 添加水印,成功返回水印 ID 后,需要调用[CreateLiveWatermarkRule](/document/product/267/32629)接口将水印 ID 绑定到流使用。 水印数量上限 100,超过后需要先删除,再添加。
84
83
 
85
84
  # @param request: Request instance for AddLiveWatermark.
86
85
  # @type request: :class:`Tencentcloud::live::V20180801::AddLiveWatermarkRequest`
@@ -154,16 +154,22 @@ module TencentCloud
154
154
  # @type Width: Integer
155
155
  # @param Height: 水印高度,占直播原始画面高度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
156
156
  # @type Height: Integer
157
+ # @param BackgroundWidth: 背景水印宽度。默认宽度1920。
158
+ # @type BackgroundWidth: Integer
159
+ # @param BackgroundHeight: 背景水印高度。默认高度1080。
160
+ # @type BackgroundHeight: Integer
157
161
 
158
- attr_accessor :PictureUrl, :WatermarkName, :XPosition, :YPosition, :Width, :Height
162
+ attr_accessor :PictureUrl, :WatermarkName, :XPosition, :YPosition, :Width, :Height, :BackgroundWidth, :BackgroundHeight
159
163
 
160
- def initialize(pictureurl=nil, watermarkname=nil, xposition=nil, yposition=nil, width=nil, height=nil)
164
+ def initialize(pictureurl=nil, watermarkname=nil, xposition=nil, yposition=nil, width=nil, height=nil, backgroundwidth=nil, backgroundheight=nil)
161
165
  @PictureUrl = pictureurl
162
166
  @WatermarkName = watermarkname
163
167
  @XPosition = xposition
164
168
  @YPosition = yposition
165
169
  @Width = width
166
170
  @Height = height
171
+ @BackgroundWidth = backgroundwidth
172
+ @BackgroundHeight = backgroundheight
167
173
  end
168
174
 
169
175
  def deserialize(params)
@@ -173,6 +179,8 @@ module TencentCloud
173
179
  @YPosition = params['YPosition']
174
180
  @Width = params['Width']
175
181
  @Height = params['Height']
182
+ @BackgroundWidth = params['BackgroundWidth']
183
+ @BackgroundHeight = params['BackgroundHeight']
176
184
  end
177
185
  end
178
186
 
@@ -1903,10 +1911,10 @@ module TencentCloud
1903
1911
  # @param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
1904
1912
  # @type ShortEdgeAsHeight: Integer
1905
1913
  # @param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
1906
- # 不传递或着为空字符串,清空之前的DRM配置。
1914
+ # 不传递或者为空字符串,清空之前的DRM配置。
1907
1915
  # @type DRMType: String
1908
1916
  # @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
1909
- # 不传递或着为空字符串,清空之前的DRM配置。
1917
+ # 不传递或者为空字符串,清空之前的DRM配置。
1910
1918
  # @type DRMTracks: String
1911
1919
 
1912
1920
  attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
@@ -8631,10 +8639,10 @@ module TencentCloud
8631
8639
  # @param ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
8632
8640
  # @type ShortEdgeAsHeight: Integer
8633
8641
  # @param DRMType: DRM 加密类型,可选值:fairplay、normalaes、widevine。
8634
- # 不传递或着为空字符串,清空之前的DRM配置。
8642
+ # 不传递或者为空字符串,清空之前的DRM配置。
8635
8643
  # @type DRMType: String
8636
8644
  # @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
8637
- # 不传递或着为空字符串,清空之前的DRM配置。
8645
+ # 不传递或者为空字符串,清空之前的DRM配置。
8638
8646
  # @type DRMTracks: String
8639
8647
 
8640
8648
  attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
@@ -10802,10 +10810,14 @@ module TencentCloud
10802
10810
  # @type Width: Integer
10803
10811
  # @param Height: 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
10804
10812
  # @type Height: Integer
10813
+ # @param BackgroundWidth: 背景水印宽度。默认宽度1920。
10814
+ # @type BackgroundWidth: Integer
10815
+ # @param BackgroundHeight: 背景水印高度。默认高度1080。
10816
+ # @type BackgroundHeight: Integer
10805
10817
 
10806
- attr_accessor :WatermarkId, :PictureUrl, :XPosition, :YPosition, :WatermarkName, :Width, :Height
10818
+ attr_accessor :WatermarkId, :PictureUrl, :XPosition, :YPosition, :WatermarkName, :Width, :Height, :BackgroundWidth, :BackgroundHeight
10807
10819
 
10808
- def initialize(watermarkid=nil, pictureurl=nil, xposition=nil, yposition=nil, watermarkname=nil, width=nil, height=nil)
10820
+ def initialize(watermarkid=nil, pictureurl=nil, xposition=nil, yposition=nil, watermarkname=nil, width=nil, height=nil, backgroundwidth=nil, backgroundheight=nil)
10809
10821
  @WatermarkId = watermarkid
10810
10822
  @PictureUrl = pictureurl
10811
10823
  @XPosition = xposition
@@ -10813,6 +10825,8 @@ module TencentCloud
10813
10825
  @WatermarkName = watermarkname
10814
10826
  @Width = width
10815
10827
  @Height = height
10828
+ @BackgroundWidth = backgroundwidth
10829
+ @BackgroundHeight = backgroundheight
10816
10830
  end
10817
10831
 
10818
10832
  def deserialize(params)
@@ -10823,6 +10837,8 @@ module TencentCloud
10823
10837
  @WatermarkName = params['WatermarkName']
10824
10838
  @Width = params['Width']
10825
10839
  @Height = params['Height']
10840
+ @BackgroundWidth = params['BackgroundWidth']
10841
+ @BackgroundHeight = params['BackgroundHeight']
10826
10842
  end
10827
10843
  end
10828
10844
 
@@ -10863,10 +10879,14 @@ module TencentCloud
10863
10879
  # @type Width: Integer
10864
10880
  # @param Height: 水印高。
10865
10881
  # @type Height: Integer
10882
+ # @param BackgroundWidth: 背景水印宽。
10883
+ # @type BackgroundWidth: Integer
10884
+ # @param BackgroundHeight: 背景水印高。
10885
+ # @type BackgroundHeight: Integer
10866
10886
 
10867
- attr_accessor :WatermarkId, :PictureUrl, :XPosition, :YPosition, :WatermarkName, :Status, :CreateTime, :Width, :Height
10887
+ attr_accessor :WatermarkId, :PictureUrl, :XPosition, :YPosition, :WatermarkName, :Status, :CreateTime, :Width, :Height, :BackgroundWidth, :BackgroundHeight
10868
10888
 
10869
- def initialize(watermarkid=nil, pictureurl=nil, xposition=nil, yposition=nil, watermarkname=nil, status=nil, createtime=nil, width=nil, height=nil)
10889
+ def initialize(watermarkid=nil, pictureurl=nil, xposition=nil, yposition=nil, watermarkname=nil, status=nil, createtime=nil, width=nil, height=nil, backgroundwidth=nil, backgroundheight=nil)
10870
10890
  @WatermarkId = watermarkid
10871
10891
  @PictureUrl = pictureurl
10872
10892
  @XPosition = xposition
@@ -10876,6 +10896,8 @@ module TencentCloud
10876
10896
  @CreateTime = createtime
10877
10897
  @Width = width
10878
10898
  @Height = height
10899
+ @BackgroundWidth = backgroundwidth
10900
+ @BackgroundHeight = backgroundheight
10879
10901
  end
10880
10902
 
10881
10903
  def deserialize(params)
@@ -10888,6 +10910,8 @@ module TencentCloud
10888
10910
  @CreateTime = params['CreateTime']
10889
10911
  @Width = params['Width']
10890
10912
  @Height = params['Height']
10913
+ @BackgroundWidth = params['BackgroundWidth']
10914
+ @BackgroundHeight = params['BackgroundHeight']
10891
10915
  end
10892
10916
  end
10893
10917
 
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.579
4
+ version: 3.0.581
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-05-29 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common