tencentcloud-sdk-trtc 3.0.801 → 3.0.803
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/client.rb +3 -3
- data/lib/v20190722/models.rb +34 -3
- 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: ec623280549feb0a68db5c6e9b55096301af1514
|
4
|
+
data.tar.gz: d7c5ffa829ac3cc158cc27cbad735ff9b1c7fa74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f3e5a95a960b32e1291ff8df790380c15a813a7d40fa8f631f5bf683e1f3daa88b1045fe0635ac78a3d5a3752ac3b1e344a5489d014a8163fad7624868fc1bd
|
7
|
+
data.tar.gz: e925f1bb889ec76abf3c94f597cf6cd54981c50cdd7871eaa77f08bfd56a92b745ee5a9ee2b542a42e5cb310353b79ff16229cfce9b09c97a51392d02674b900
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.803
|
data/lib/v20190722/client.rb
CHANGED
@@ -139,7 +139,7 @@ module TencentCloud
|
|
139
139
|
# 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
|
140
140
|
# **注意**:
|
141
141
|
# 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
142
|
-
# 2.该接口自2024年4月1
|
142
|
+
# 2.该接口自2024年4月1日起正式商业化,可通过订阅[包月套餐](https://cloud.tencent.com/document/product/647/85386)「尊享版」和「旗舰版」或订阅[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)商业套餐包解锁接口调用能力,[前往购买](https://buy.cloud.tencent.com/trtc)。
|
143
143
|
|
144
144
|
# @param request: Request instance for DescribeCallDetailInfo.
|
145
145
|
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeCallDetailInfoRequest`
|
@@ -331,7 +331,7 @@ module TencentCloud
|
|
331
331
|
# 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
|
332
332
|
# **注意**:
|
333
333
|
# 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
334
|
-
# 2.该接口自2024年4月1
|
334
|
+
# 2.该接口自2024年4月1日起正式商业化,可通过订阅[包月套餐](https://cloud.tencent.com/document/product/647/85386)「尊享版」和「旗舰版」或订阅[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)商业套餐包解锁接口调用能力,[前往购买](https://buy.cloud.tencent.com/trtc)。
|
335
335
|
|
336
336
|
# @param request: Request instance for DescribeRoomInfo.
|
337
337
|
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeRoomInfoRequest`
|
@@ -785,7 +785,7 @@ module TencentCloud
|
|
785
785
|
# 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
|
786
786
|
# **注意**:
|
787
787
|
# 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
788
|
-
# 2.该接口自2024年4月1
|
788
|
+
# 2.该接口自2024年4月1日起正式商业化,可通过订阅[包月套餐](https://cloud.tencent.com/document/product/647/85386)「尊享版」和「旗舰版」或订阅[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)商业套餐包解锁接口调用能力,[前往购买](https://buy.cloud.tencent.com/trtc)。
|
789
789
|
|
790
790
|
# @param request: Request instance for DescribeUserInfo.
|
791
791
|
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeUserInfoRequest`
|
data/lib/v20190722/models.rb
CHANGED
@@ -2254,6 +2254,30 @@ module TencentCloud
|
|
2254
2254
|
end
|
2255
2255
|
end
|
2256
2256
|
|
2257
|
+
# 混流自定义渲染参数
|
2258
|
+
class McuBackgroundCustomRender < TencentCloud::Common::AbstractModel
|
2259
|
+
# @param Width: 自定义渲染画面的宽度,单位为像素值,需大于0,且不能超过子布局的宽。
|
2260
|
+
# @type Width: Integer
|
2261
|
+
# @param Height: 自定义渲染画面的高度,单位为像素值,需大于0,且不能超过子布局的高。
|
2262
|
+
# @type Height: Integer
|
2263
|
+
# @param Radius: 自定义渲染画面的圆角半径,单位为像素值,不能超过渲染画面Width和Height最小值的一半,不指定默认为0,表示直角。
|
2264
|
+
# @type Radius: Integer
|
2265
|
+
|
2266
|
+
attr_accessor :Width, :Height, :Radius
|
2267
|
+
|
2268
|
+
def initialize(width=nil, height=nil, radius=nil)
|
2269
|
+
@Width = width
|
2270
|
+
@Height = height
|
2271
|
+
@Radius = radius
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
def deserialize(params)
|
2275
|
+
@Width = params['Width']
|
2276
|
+
@Height = params['Height']
|
2277
|
+
@Radius = params['Radius']
|
2278
|
+
end
|
2279
|
+
end
|
2280
|
+
|
2257
2281
|
# 混流自定义裁剪参数
|
2258
2282
|
class McuCustomCrop < TencentCloud::Common::AbstractModel
|
2259
2283
|
# @param LocationX: 自定义裁剪起始位置的X偏移,单位为像素值,大于等于0。
|
@@ -2340,15 +2364,17 @@ module TencentCloud
|
|
2340
2364
|
# @type BackgroundImageUrl: String
|
2341
2365
|
# @param CustomCrop: 客户自定义裁剪,针对原始输入流裁剪
|
2342
2366
|
# @type CustomCrop: :class:`Tencentcloud::Trtc.v20190722.models.McuCustomCrop`
|
2343
|
-
# @param BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3
|
2367
|
+
# @param BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
|
2344
2368
|
# @type BackgroundRenderMode: Integer
|
2345
2369
|
# @param TransparentUrl: 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
|
2346
2370
|
# 注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
|
2347
2371
|
# @type TransparentUrl: String
|
2372
|
+
# @param BackgroundCustomRender: 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。
|
2373
|
+
# @type BackgroundCustomRender: :class:`Tencentcloud::Trtc.v20190722.models.McuBackgroundCustomRender`
|
2348
2374
|
|
2349
|
-
attr_accessor :UserMediaStream, :ImageWidth, :ImageHeight, :LocationX, :LocationY, :ZOrder, :RenderMode, :BackGroundColor, :BackgroundImageUrl, :CustomCrop, :BackgroundRenderMode, :TransparentUrl
|
2375
|
+
attr_accessor :UserMediaStream, :ImageWidth, :ImageHeight, :LocationX, :LocationY, :ZOrder, :RenderMode, :BackGroundColor, :BackgroundImageUrl, :CustomCrop, :BackgroundRenderMode, :TransparentUrl, :BackgroundCustomRender
|
2350
2376
|
|
2351
|
-
def initialize(usermediastream=nil, imagewidth=nil, imageheight=nil, locationx=nil, locationy=nil, zorder=nil, rendermode=nil, backgroundcolor=nil, backgroundimageurl=nil, customcrop=nil, backgroundrendermode=nil, transparenturl=nil)
|
2377
|
+
def initialize(usermediastream=nil, imagewidth=nil, imageheight=nil, locationx=nil, locationy=nil, zorder=nil, rendermode=nil, backgroundcolor=nil, backgroundimageurl=nil, customcrop=nil, backgroundrendermode=nil, transparenturl=nil, backgroundcustomrender=nil)
|
2352
2378
|
@UserMediaStream = usermediastream
|
2353
2379
|
@ImageWidth = imagewidth
|
2354
2380
|
@ImageHeight = imageheight
|
@@ -2361,6 +2387,7 @@ module TencentCloud
|
|
2361
2387
|
@CustomCrop = customcrop
|
2362
2388
|
@BackgroundRenderMode = backgroundrendermode
|
2363
2389
|
@TransparentUrl = transparenturl
|
2390
|
+
@BackgroundCustomRender = backgroundcustomrender
|
2364
2391
|
end
|
2365
2392
|
|
2366
2393
|
def deserialize(params)
|
@@ -2382,6 +2409,10 @@ module TencentCloud
|
|
2382
2409
|
end
|
2383
2410
|
@BackgroundRenderMode = params['BackgroundRenderMode']
|
2384
2411
|
@TransparentUrl = params['TransparentUrl']
|
2412
|
+
unless params['BackgroundCustomRender'].nil?
|
2413
|
+
@BackgroundCustomRender = McuBackgroundCustomRender.new
|
2414
|
+
@BackgroundCustomRender.deserialize(params['BackgroundCustomRender'])
|
2415
|
+
end
|
2385
2416
|
end
|
2386
2417
|
end
|
2387
2418
|
|
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.
|
4
|
+
version: 3.0.803
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|