tencentcloud-sdk-trtc 3.0.941 → 3.0.943
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/v20190722/models.rb +41 -5
- 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: 052f683935fc9ba1fa45178793a04b2f346b197b
|
4
|
+
data.tar.gz: f2de76055bc411376b47c1f009a6a2a61dc5f3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 102be4426c2cf58b2cec78a7175f9c396bd1d0573e875a142aca188606b529d0aa088e21de98a2ff7b730f87270f63a0ec0867f98b8bfb6074e01271b9cee05c
|
7
|
+
data.tar.gz: 96b0af78db82b159b5d7a6afaf589b7e8a479d84701d806a309705ad7753cc1e310f3e3595c7d3d8e7f201f48b466f968a753411125033cb70c4d61226c037e6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.943
|
data/lib/v20190722/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.943
|
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-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|