tencentcloud-sdk-live 3.0.579 → 3.0.580
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +1 -2
- data/lib/v20180801/models.rb +30 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 137628f302f97dbf71a4e6014267f6cdcc57bfd4
|
4
|
+
data.tar.gz: 203c80126e1dc8e00638bf1c30678813af22d653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffe6f460587b81fa340363317f85fa076fc9e59216d94458d583153ea551d4998a9e3b513a81bcd097b451cece53083dc63ae85168feb147f7948dde640e0503
|
7
|
+
data.tar.gz: 6335ec4b8eb1340af5dcf4a6a5785832e064bf6293d3a0699e4110f5f6afa553e3736f41e726bd0d68c7b77ea97ca58f4f3759d9679a9d09478c122a62041b9e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.580
|
data/lib/v20180801/client.rb
CHANGED
@@ -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`
|
data/lib/v20180801/models.rb
CHANGED
@@ -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
|
|
@@ -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.
|
4
|
+
version: 3.0.580
|
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-
|
11
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|