tencentcloud-sdk-trtc 3.0.467 → 3.0.468

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/v20190722/models.rb +25 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f104193cce9381336e89a4e29c324b27580b88d
4
- data.tar.gz: 6f824cee19fab19b9f4764cdd687c31bc4a8acb5
3
+ metadata.gz: 968619007291784d791f2446bb1f7f8eeeb13cfa
4
+ data.tar.gz: e06bb926a7f406139fe4004fafdfc22ff172be63
5
5
  SHA512:
6
- metadata.gz: 9b0799d0875b72e4354fa41374036d631dd146fa3d6ae48fab78df169ec9c53b5248266aea61d8e2bbf411736c0b7ba90f1da277997069c0423f160c9578207c
7
- data.tar.gz: e07e0e615d7bf04c2aa1c3009cb53747684ea8b920c94736245454b468d8299900cc861f13dcc26ba19c14a76517c537871fa2929d3de16fa5c16e22fc5d1ac7
6
+ metadata.gz: 0509773d96a8a4056bc25771d1041da46feda3f272ef5861dfeb7e72b80b40cef24dbf32a1dc61587bc263859b37649d7afdd5bb753c71942b20be97b363a8c3
7
+ data.tar.gz: e572fa14cbdd0b973bc8f3f266aa8a86310c4d6b67b14925fd780e7c76ae8aad35aece9a06f7a1d36dd1c975b6a029f7ac6362cb2e0b453f4e12077fe0da7d13
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.467
1
+ 3.0.468
@@ -2402,14 +2402,18 @@ module TencentCloud
2402
2402
  # @type PlaceHolderMode: Integer
2403
2403
  # @param BackgroundImageRenderMode: 背景画面宽高比不一致的时候处理方案,与MixLayoufList定义的RenderMode一致。
2404
2404
  # @type BackgroundImageRenderMode: Integer
2405
- # @param DefaultSubBackgroundImage: 下载的url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。
2405
+ # @param DefaultSubBackgroundImage: 子画面占位图url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。
2406
2406
  # @type DefaultSubBackgroundImage: String
2407
2407
  # @param WaterMarkList: 水印布局参数, 最多支持25个。
2408
2408
  # @type WaterMarkList: Array
2409
+ # @param RenderMode: 模板布局下,背景画面宽高比不一致的时候处理方案。自定义布局不生效,与MixLayoufList定义的RenderMode一致。
2410
+ # @type RenderMode: Integer
2411
+ # @param MaxResolutionUserAlign: 屏幕分享模板有效。设置为1时代表大画面居右,小画面居左布局。默认为0。
2412
+ # @type MaxResolutionUserAlign: Integer
2409
2413
 
2410
- attr_accessor :MixLayoutMode, :MixLayoutList, :BackGroundColor, :MaxResolutionUserId, :MediaId, :BackgroundImageUrl, :PlaceHolderMode, :BackgroundImageRenderMode, :DefaultSubBackgroundImage, :WaterMarkList
2414
+ attr_accessor :MixLayoutMode, :MixLayoutList, :BackGroundColor, :MaxResolutionUserId, :MediaId, :BackgroundImageUrl, :PlaceHolderMode, :BackgroundImageRenderMode, :DefaultSubBackgroundImage, :WaterMarkList, :RenderMode, :MaxResolutionUserAlign
2411
2415
 
2412
- def initialize(mixlayoutmode=nil, mixlayoutlist=nil, backgroundcolor=nil, maxresolutionuserid=nil, mediaid=nil, backgroundimageurl=nil, placeholdermode=nil, backgroundimagerendermode=nil, defaultsubbackgroundimage=nil, watermarklist=nil)
2416
+ def initialize(mixlayoutmode=nil, mixlayoutlist=nil, backgroundcolor=nil, maxresolutionuserid=nil, mediaid=nil, backgroundimageurl=nil, placeholdermode=nil, backgroundimagerendermode=nil, defaultsubbackgroundimage=nil, watermarklist=nil, rendermode=nil, maxresolutionuseralign=nil)
2413
2417
  @MixLayoutMode = mixlayoutmode
2414
2418
  @MixLayoutList = mixlayoutlist
2415
2419
  @BackGroundColor = backgroundcolor
@@ -2420,6 +2424,8 @@ module TencentCloud
2420
2424
  @BackgroundImageRenderMode = backgroundimagerendermode
2421
2425
  @DefaultSubBackgroundImage = defaultsubbackgroundimage
2422
2426
  @WaterMarkList = watermarklist
2427
+ @RenderMode = rendermode
2428
+ @MaxResolutionUserAlign = maxresolutionuseralign
2423
2429
  end
2424
2430
 
2425
2431
  def deserialize(params)
@@ -2447,6 +2453,8 @@ module TencentCloud
2447
2453
  @WaterMarkList << watermark_tmp
2448
2454
  end
2449
2455
  end
2456
+ @RenderMode = params['RenderMode']
2457
+ @MaxResolutionUserAlign = params['MaxResolutionUserAlign']
2450
2458
  end
2451
2459
  end
2452
2460
 
@@ -2825,20 +2833,24 @@ module TencentCloud
2825
2833
  # @type StreamType: Integer
2826
2834
  # @param SubscribeStreamUserIds: 指定订阅流白名单或者黑名单。
2827
2835
  # @type SubscribeStreamUserIds: :class:`Tencentcloud::Trtc.v20190722.models.SubscribeStreamUserIds`
2828
- # @param OutputFormat: 输出文件的格式,上传到云点播时此参数无效,存储到云点播时请关注TencentVod内的MediaType参数。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4hls录制完成后转mp4文件)。
2836
+ # @param OutputFormat: 输出文件的格式,上传到云点播时此参数无效,存储到云点播时请关注TencentVod内的MediaType参数。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4。2:输出文件格式为hls+aac 。
2829
2837
  # @type OutputFormat: Integer
2830
2838
  # @param AvMerge: 单流录制模式下,用户的音视频是否合并,0:单流音视频不合并(默认)。1:单流音视频合并成一个ts。混流录制此参数无需设置,默认音视频合并。
2831
2839
  # @type AvMerge: Integer
2840
+ # @param MaxMediaFileDuration: 如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】
2841
+ # Hls 格式录制此参数不生效。
2842
+ # @type MaxMediaFileDuration: Integer
2832
2843
 
2833
- attr_accessor :RecordMode, :MaxIdleTime, :StreamType, :SubscribeStreamUserIds, :OutputFormat, :AvMerge
2844
+ attr_accessor :RecordMode, :MaxIdleTime, :StreamType, :SubscribeStreamUserIds, :OutputFormat, :AvMerge, :MaxMediaFileDuration
2834
2845
 
2835
- def initialize(recordmode=nil, maxidletime=nil, streamtype=nil, subscribestreamuserids=nil, outputformat=nil, avmerge=nil)
2846
+ def initialize(recordmode=nil, maxidletime=nil, streamtype=nil, subscribestreamuserids=nil, outputformat=nil, avmerge=nil, maxmediafileduration=nil)
2836
2847
  @RecordMode = recordmode
2837
2848
  @MaxIdleTime = maxidletime
2838
2849
  @StreamType = streamtype
2839
2850
  @SubscribeStreamUserIds = subscribestreamuserids
2840
2851
  @OutputFormat = outputformat
2841
2852
  @AvMerge = avmerge
2853
+ @MaxMediaFileDuration = maxmediafileduration
2842
2854
  end
2843
2855
 
2844
2856
  def deserialize(params)
@@ -2851,6 +2863,7 @@ module TencentCloud
2851
2863
  end
2852
2864
  @OutputFormat = params['OutputFormat']
2853
2865
  @AvMerge = params['AvMerge']
2866
+ @MaxMediaFileDuration = params['MaxMediaFileDuration']
2854
2867
  end
2855
2868
  end
2856
2869
 
@@ -3697,10 +3710,12 @@ module TencentCloud
3697
3710
  # @type SourceContext: String
3698
3711
  # @param MediaType: 上传到vod平台的录制文件格式类型,0:mp4(默认), 1: hls。
3699
3712
  # @type MediaType: Integer
3713
+ # @param UserDefineRecordId: 仅支持API录制上传vod,该参数表示用户可以自定义录制文件名前缀,【限制长度为64字节,只允许包含大小写英文字母(a-zA-Z)、数字(0-9)及下划线和连词符】。前缀与自动生成的录制文件名之间用__UserId_u_分开。
3714
+ # @type UserDefineRecordId: String
3700
3715
 
3701
- attr_accessor :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SubAppId, :SessionContext, :SourceContext, :MediaType
3716
+ attr_accessor :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SubAppId, :SessionContext, :SourceContext, :MediaType, :UserDefineRecordId
3702
3717
 
3703
- def initialize(procedure=nil, expiretime=nil, storageregion=nil, classid=nil, subappid=nil, sessioncontext=nil, sourcecontext=nil, mediatype=nil)
3718
+ def initialize(procedure=nil, expiretime=nil, storageregion=nil, classid=nil, subappid=nil, sessioncontext=nil, sourcecontext=nil, mediatype=nil, userdefinerecordid=nil)
3704
3719
  @Procedure = procedure
3705
3720
  @ExpireTime = expiretime
3706
3721
  @StorageRegion = storageregion
@@ -3709,6 +3724,7 @@ module TencentCloud
3709
3724
  @SessionContext = sessioncontext
3710
3725
  @SourceContext = sourcecontext
3711
3726
  @MediaType = mediatype
3727
+ @UserDefineRecordId = userdefinerecordid
3712
3728
  end
3713
3729
 
3714
3730
  def deserialize(params)
@@ -3720,6 +3736,7 @@ module TencentCloud
3720
3736
  @SessionContext = params['SessionContext']
3721
3737
  @SourceContext = params['SourceContext']
3722
3738
  @MediaType = params['MediaType']
3739
+ @UserDefineRecordId = params['UserDefineRecordId']
3723
3740
  end
3724
3741
  end
3725
3742
 
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.467
4
+ version: 3.0.468
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-07 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common