tencentcloud-sdk-trtc 3.0.621 → 3.0.623

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/v20190722/models.rb +13 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cf4b7ab1d86f025120007d5c5df313c9b04242b
4
- data.tar.gz: de06f65965f015bf88271ffa75416754f977ae04
3
+ metadata.gz: d65a098daa7fb61330c7a8ce940aeb748bf4d24e
4
+ data.tar.gz: 8b505c9d1c1ff78b7840522785020dabeeb110bc
5
5
  SHA512:
6
- metadata.gz: 3acf703516fbba928c9942a3678cb98ad19fc281af08952682ebb8ff06571d7b3bc5d87ffcfd28bdd3ed9cc597d97d3174888496c48234b5619f954353ed732a
7
- data.tar.gz: 9a98a1b11a530a5a149bf77832bd0e23d778785c44267a66c610d551c8067264e79423e8a41472e76451093729d011a1855da547262ec93775ea8ba1420124eb
6
+ metadata.gz: 1741d0d9ba4ed8234fb586182c16418e0d95d5dc5b9f0221b78100fe5d64fccda35d5a9284e132c07c7202fbd742af69893cbf5670c5b70946c17f855296b4cb
7
+ data.tar.gz: 786adaae9ac07c524977b70cc684b5a74f3a7cdfebfd685d761a68e29a789f5023087cd3999ff2ac71fa2010c98cfe5c25129200f1b5b4f254ddecff7623b252
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.621
1
+ 3.0.623
@@ -1990,7 +1990,7 @@ module TencentCloud
1990
1990
  # @type LocationY: Integer
1991
1991
  # @param ZOrder: 子画面在输出时的层级,不填默认为0。
1992
1992
  # @type ZOrder: Integer
1993
- # @param RenderMode: 子画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底。不填默认为0。
1993
+ # @param RenderMode: 子画面在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底。不填默认为0。
1994
1994
  # @type RenderMode: Integer
1995
1995
  # @param BackGroundColor: 【此参数配置无效,暂不支持】子画面的背景颜色,常用的颜色有:
1996
1996
  # 红色:0xcc0033。
@@ -2005,10 +2005,12 @@ module TencentCloud
2005
2005
  # @type BackgroundImageUrl: String
2006
2006
  # @param CustomCrop: 客户自定义裁剪,针对原始输入流裁剪
2007
2007
  # @type CustomCrop: :class:`Tencentcloud::Trtc.v20190722.models.McuCustomCrop`
2008
+ # @param BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩。不填默认为3。
2009
+ # @type BackgroundRenderMode: Integer
2008
2010
 
2009
- attr_accessor :UserMediaStream, :ImageWidth, :ImageHeight, :LocationX, :LocationY, :ZOrder, :RenderMode, :BackGroundColor, :BackgroundImageUrl, :CustomCrop
2011
+ attr_accessor :UserMediaStream, :ImageWidth, :ImageHeight, :LocationX, :LocationY, :ZOrder, :RenderMode, :BackGroundColor, :BackgroundImageUrl, :CustomCrop, :BackgroundRenderMode
2010
2012
 
2011
- def initialize(usermediastream=nil, imagewidth=nil, imageheight=nil, locationx=nil, locationy=nil, zorder=nil, rendermode=nil, backgroundcolor=nil, backgroundimageurl=nil, customcrop=nil)
2013
+ def initialize(usermediastream=nil, imagewidth=nil, imageheight=nil, locationx=nil, locationy=nil, zorder=nil, rendermode=nil, backgroundcolor=nil, backgroundimageurl=nil, customcrop=nil, backgroundrendermode=nil)
2012
2014
  @UserMediaStream = usermediastream
2013
2015
  @ImageWidth = imagewidth
2014
2016
  @ImageHeight = imageheight
@@ -2019,6 +2021,7 @@ module TencentCloud
2019
2021
  @BackGroundColor = backgroundcolor
2020
2022
  @BackgroundImageUrl = backgroundimageurl
2021
2023
  @CustomCrop = customcrop
2024
+ @BackgroundRenderMode = backgroundrendermode
2022
2025
  end
2023
2026
 
2024
2027
  def deserialize(params)
@@ -2038,6 +2041,7 @@ module TencentCloud
2038
2041
  @CustomCrop = McuCustomCrop.new
2039
2042
  @CustomCrop.deserialize(params['CustomCrop'])
2040
2043
  end
2044
+ @BackgroundRenderMode = params['BackgroundRenderMode']
2041
2045
  end
2042
2046
  end
2043
2047
 
@@ -2228,15 +2232,18 @@ module TencentCloud
2228
2232
  # @type BackgroundImageUrl: String
2229
2233
  # @param WaterMarkList: 混流布局的水印参数。
2230
2234
  # @type WaterMarkList: Array
2235
+ # @param BackgroundRenderMode: 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
2236
+ # @type BackgroundRenderMode: Integer
2231
2237
 
2232
- attr_accessor :VideoEncode, :LayoutParams, :BackGroundColor, :BackgroundImageUrl, :WaterMarkList
2238
+ attr_accessor :VideoEncode, :LayoutParams, :BackGroundColor, :BackgroundImageUrl, :WaterMarkList, :BackgroundRenderMode
2233
2239
 
2234
- def initialize(videoencode=nil, layoutparams=nil, backgroundcolor=nil, backgroundimageurl=nil, watermarklist=nil)
2240
+ def initialize(videoencode=nil, layoutparams=nil, backgroundcolor=nil, backgroundimageurl=nil, watermarklist=nil, backgroundrendermode=nil)
2235
2241
  @VideoEncode = videoencode
2236
2242
  @LayoutParams = layoutparams
2237
2243
  @BackGroundColor = backgroundcolor
2238
2244
  @BackgroundImageUrl = backgroundimageurl
2239
2245
  @WaterMarkList = watermarklist
2246
+ @BackgroundRenderMode = backgroundrendermode
2240
2247
  end
2241
2248
 
2242
2249
  def deserialize(params)
@@ -2258,6 +2265,7 @@ module TencentCloud
2258
2265
  @WaterMarkList << mcuwatermarkparams_tmp
2259
2266
  end
2260
2267
  end
2268
+ @BackgroundRenderMode = params['BackgroundRenderMode']
2261
2269
  end
2262
2270
  end
2263
2271
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trtc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.621
4
+ version: 3.0.623
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-26 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common