tencentcloud-sdk-trtc 3.0.940 → 3.0.942

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 +41 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c750a8e7cd80f99eb36c781106f9b2774b375508
4
- data.tar.gz: b7fa7ee1470583d547fd617739e2e7de57597ad8
3
+ metadata.gz: 81f602af65fdef1a9cdd3daf621bf0d4c0981284
4
+ data.tar.gz: 5dc8fb4cec9dc3de73ac0d55a35e37abb3d722fb
5
5
  SHA512:
6
- metadata.gz: e4f69317553a49f8c9cf5de28b8b094abfd5dee6bcdf94e13be2c924a0a9b49af9948bc16d12c506f0fcb3cfae8fe5bb7893b27bc5575b673e6c54c2dfd94589
7
- data.tar.gz: 442ddc0503e55d44b80665f4cf2364fbb5530357ce87eaf9ffb363d2509879a7b1b4f1ba51765cadfc8439b08b94b72bafa4c3528afc5fcfac2e497905d81528
6
+ metadata.gz: 9ad69d5b0c9f41211ee3c7558ea30c055b6de067538d6f9a8cd44f42d00d9769f62eb927ef7b18f893fb4ee3f770d1a92884d89244e77834700051837cad8817
7
+ data.tar.gz: bd326f3a228cf6d9e5974f730579a30be2c505407eb0c14ee63b4dd7235670ae18e5a18ec510b7a613e00037aa904a54668cd37971734114c29924d63736668a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.940
1
+ 3.0.942
@@ -823,7 +823,6 @@ module TencentCloud
823
823
  # Exited:表示当前录制任务正在退出的过程中。
824
824
  # @type Status: String
825
825
  # @param StorageFileList: 录制文件信息。
826
- # 注意:此字段可能返回 null,表示取不到有效值。
827
826
  # @type StorageFileList: Array
828
827
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
829
828
  # @type RequestId: String
@@ -2211,6 +2210,32 @@ module TencentCloud
2211
2210
  end
2212
2211
  end
2213
2212
 
2213
+ # 渲染移动模式参数,不渲染移动模式时,请勿设置此参数。
2214
+ class EmulateMobileParams < TencentCloud::Common::AbstractModel
2215
+ # @param MobileDeviceType: 移动设备类型,
2216
+ # 0: 手机
2217
+ # 1: 平板
2218
+ # 注意:此字段可能返回 null,表示取不到有效值。
2219
+ # @type MobileDeviceType: Integer
2220
+ # @param ScreenOrientation: 屏幕方向,
2221
+ # 0: 竖屏,
2222
+ # 1: 横屏
2223
+ # 注意:此字段可能返回 null,表示取不到有效值。
2224
+ # @type ScreenOrientation: Integer
2225
+
2226
+ attr_accessor :MobileDeviceType, :ScreenOrientation
2227
+
2228
+ def initialize(mobiledevicetype=nil, screenorientation=nil)
2229
+ @MobileDeviceType = mobiledevicetype
2230
+ @ScreenOrientation = screenorientation
2231
+ end
2232
+
2233
+ def deserialize(params)
2234
+ @MobileDeviceType = params['MobileDeviceType']
2235
+ @ScreenOrientation = params['ScreenOrientation']
2236
+ end
2237
+ end
2238
+
2214
2239
  # MCU混流输出流编码参数
2215
2240
  class EncodeParams < TencentCloud::Common::AbstractModel
2216
2241
  # @param AudioSampleRate: 混流-输出流音频采样率。取值为[48000, 44100, 32000, 24000, 16000, 8000],单位是Hz。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
@@ -3978,20 +4003,24 @@ module TencentCloud
3978
4003
  # @param AlternativeLanguage: 发起模糊识别额外可能替代语言类型,最多填写3种语言类型,
3979
4004
  # 注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
3980
4005
  # @type AlternativeLanguage: Array
4006
+ # @param CustomParam: 自定义参数,联系后台使用
4007
+ # @type CustomParam: String
3981
4008
  # @param VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
3982
4009
  # @type VadSilenceTime: Integer
3983
4010
 
3984
- attr_accessor :Language, :AlternativeLanguage, :VadSilenceTime
4011
+ attr_accessor :Language, :AlternativeLanguage, :CustomParam, :VadSilenceTime
3985
4012
 
3986
- def initialize(language=nil, alternativelanguage=nil, vadsilencetime=nil)
4013
+ def initialize(language=nil, alternativelanguage=nil, customparam=nil, vadsilencetime=nil)
3987
4014
  @Language = language
3988
4015
  @AlternativeLanguage = alternativelanguage
4016
+ @CustomParam = customparam
3989
4017
  @VadSilenceTime = vadsilencetime
3990
4018
  end
3991
4019
 
3992
4020
  def deserialize(params)
3993
4021
  @Language = params['Language']
3994
4022
  @AlternativeLanguage = params['AlternativeLanguage']
4023
+ @CustomParam = params['CustomParam']
3995
4024
  @VadSilenceTime = params['VadSilenceTime']
3996
4025
  end
3997
4026
  end
@@ -4725,10 +4754,12 @@ module TencentCloud
4725
4754
  # @type PublishCdnParams: Array
4726
4755
  # @param ReadyTimeout: 录制页面资源加载的超时时间,单位:秒。默认值为 0 秒,该值需大于等于 0秒,且小于等于 60秒。录制页面未启用页面加载超时检测时,请勿设置此参数。
4727
4756
  # @type ReadyTimeout: Integer
4757
+ # @param EmulateMobileParams: 渲染移动模式参数;不准备渲染移动模式页面时,请勿设置此参数。
4758
+ # @type EmulateMobileParams: :class:`Tencentcloud::Trtc.v20190722.models.EmulateMobileParams`
4728
4759
 
4729
- attr_accessor :RecordUrl, :MaxDurationLimit, :StorageParams, :WebRecordVideoParams, :SdkAppId, :RecordId, :PublishCdnParams, :ReadyTimeout
4760
+ attr_accessor :RecordUrl, :MaxDurationLimit, :StorageParams, :WebRecordVideoParams, :SdkAppId, :RecordId, :PublishCdnParams, :ReadyTimeout, :EmulateMobileParams
4730
4761
 
4731
- def initialize(recordurl=nil, maxdurationlimit=nil, storageparams=nil, webrecordvideoparams=nil, sdkappid=nil, recordid=nil, publishcdnparams=nil, readytimeout=nil)
4762
+ def initialize(recordurl=nil, maxdurationlimit=nil, storageparams=nil, webrecordvideoparams=nil, sdkappid=nil, recordid=nil, publishcdnparams=nil, readytimeout=nil, emulatemobileparams=nil)
4732
4763
  @RecordUrl = recordurl
4733
4764
  @MaxDurationLimit = maxdurationlimit
4734
4765
  @StorageParams = storageparams
@@ -4737,6 +4768,7 @@ module TencentCloud
4737
4768
  @RecordId = recordid
4738
4769
  @PublishCdnParams = publishcdnparams
4739
4770
  @ReadyTimeout = readytimeout
4771
+ @EmulateMobileParams = emulatemobileparams
4740
4772
  end
4741
4773
 
4742
4774
  def deserialize(params)
@@ -4761,6 +4793,10 @@ module TencentCloud
4761
4793
  end
4762
4794
  end
4763
4795
  @ReadyTimeout = params['ReadyTimeout']
4796
+ unless params['EmulateMobileParams'].nil?
4797
+ @EmulateMobileParams = EmulateMobileParams.new
4798
+ @EmulateMobileParams.deserialize(params['EmulateMobileParams'])
4799
+ end
4764
4800
  end
4765
4801
  end
4766
4802
 
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.940
4
+ version: 3.0.942
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-11-12 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common