tencentcloud-sdk-trtc 3.0.1147 → 3.0.1160
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/models.rb +31 -31
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae1c118bda4eb19bc0feb0c1a628d4ba09b342a0
|
|
4
|
+
data.tar.gz: 7bec01620f5426ed11b00816327f6f676b73b8fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8333d75b0b185d87f3680b62cde08e3446cf1e0c5fd45fc0f114368cddcefd3c9dd8f09310a651c3714cb852f2af8047ae6f08c1fd04864b8a4af4eb018508c3
|
|
7
|
+
data.tar.gz: 8869bae7a9911693ad3235596cac98e810c4077094171425e6b36ec56584fd9316c435224a24ea16b9d64fd56832f0e18bff09089f5b779c9def361491cd0d33
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1160
|
data/lib/v20190722/models.rb
CHANGED
|
@@ -4771,10 +4771,10 @@ module TencentCloud
|
|
|
4771
4771
|
|
|
4772
4772
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime, :VadLevel
|
|
4773
4773
|
extend Gem::Deprecate
|
|
4774
|
-
deprecate :Model, :none, 2025,
|
|
4775
|
-
deprecate :Model=, :none, 2025,
|
|
4776
|
-
deprecate :TranslationLanguage, :none, 2025,
|
|
4777
|
-
deprecate :TranslationLanguage=, :none, 2025,
|
|
4774
|
+
deprecate :Model, :none, 2025, 10
|
|
4775
|
+
deprecate :Model=, :none, 2025, 10
|
|
4776
|
+
deprecate :TranslationLanguage, :none, 2025, 10
|
|
4777
|
+
deprecate :TranslationLanguage=, :none, 2025, 10
|
|
4778
4778
|
|
|
4779
4779
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil, vadlevel=nil)
|
|
4780
4780
|
@Language = language
|
|
@@ -5897,12 +5897,12 @@ module TencentCloud
|
|
|
5897
5897
|
|
|
5898
5898
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
|
|
5899
5899
|
extend Gem::Deprecate
|
|
5900
|
-
deprecate :VideoEncodeParams, :none, 2025,
|
|
5901
|
-
deprecate :VideoEncodeParams=, :none, 2025,
|
|
5902
|
-
deprecate :AudioEncodeParams, :none, 2025,
|
|
5903
|
-
deprecate :AudioEncodeParams=, :none, 2025,
|
|
5904
|
-
deprecate :SourceUrl, :none, 2025,
|
|
5905
|
-
deprecate :SourceUrl=, :none, 2025,
|
|
5900
|
+
deprecate :VideoEncodeParams, :none, 2025, 10
|
|
5901
|
+
deprecate :VideoEncodeParams=, :none, 2025, 10
|
|
5902
|
+
deprecate :AudioEncodeParams, :none, 2025, 10
|
|
5903
|
+
deprecate :AudioEncodeParams=, :none, 2025, 10
|
|
5904
|
+
deprecate :SourceUrl, :none, 2025, 10
|
|
5905
|
+
deprecate :SourceUrl=, :none, 2025, 10
|
|
5906
5906
|
|
|
5907
5907
|
def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil, autopush=nil, repeatnum=nil, maxduration=nil, volume=nil)
|
|
5908
5908
|
@SdkAppId = sdkappid
|
|
@@ -5969,16 +5969,16 @@ module TencentCloud
|
|
|
5969
5969
|
|
|
5970
5970
|
# StartWebRecord请求参数结构体
|
|
5971
5971
|
class StartWebRecordRequest < TencentCloud::Common::AbstractModel
|
|
5972
|
-
# @param RecordUrl:
|
|
5972
|
+
# @param RecordUrl: 【必填】需要录制的网页URL
|
|
5973
5973
|
# @type RecordUrl: String
|
|
5974
|
-
# @param MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[1800, 36000], 默认 36000s(10 小时)
|
|
5975
|
-
# @type MaxDurationLimit: Integer
|
|
5976
5974
|
# @param StorageParams: 【必填】云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD,不支持第三方云存储;输出文件的存储格式仅支持hls或mp4
|
|
5977
5975
|
# @type StorageParams: :class:`Tencentcloud::Trtc.v20190722.models.StorageParams`
|
|
5978
|
-
# @param WebRecordVideoParams: 页面录制视频参数
|
|
5979
|
-
# @type WebRecordVideoParams: :class:`Tencentcloud::Trtc.v20190722.models.WebRecordVideoParams`
|
|
5980
5976
|
# @param SdkAppId: 【必填】TRTC的SdkAppId
|
|
5981
5977
|
# @type SdkAppId: Integer
|
|
5978
|
+
# @param MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[1800, 86400], 默认 86400s(24 小时)
|
|
5979
|
+
# @type MaxDurationLimit: Integer
|
|
5980
|
+
# @param WebRecordVideoParams: 页面录制视频参数
|
|
5981
|
+
# @type WebRecordVideoParams: :class:`Tencentcloud::Trtc.v20190722.models.WebRecordVideoParams`
|
|
5982
5982
|
# @param RecordId: 当对重复任务敏感时,请关注此值: 为了避免任务在短时间内重复发起,导致任务重复
|
|
5983
5983
|
# 传入录制RecordId来标识此次任务, 小于32字节,若携带RecordId发起两次以上的开始录制请求,任务只会启动一个,第二个报错FailedOperation.TaskExist。注意StartWebRecord调用失败时而非FailedOperation.TaskExist错误,请更换RecordId重新发起。
|
|
5984
5984
|
# @type RecordId: String
|
|
@@ -5989,14 +5989,14 @@ module TencentCloud
|
|
|
5989
5989
|
# @param EmulateMobileParams: 渲染移动模式参数;不准备渲染移动模式页面时,请勿设置此参数。
|
|
5990
5990
|
# @type EmulateMobileParams: :class:`Tencentcloud::Trtc.v20190722.models.EmulateMobileParams`
|
|
5991
5991
|
|
|
5992
|
-
attr_accessor :RecordUrl, :
|
|
5992
|
+
attr_accessor :RecordUrl, :StorageParams, :SdkAppId, :MaxDurationLimit, :WebRecordVideoParams, :RecordId, :PublishCdnParams, :ReadyTimeout, :EmulateMobileParams
|
|
5993
5993
|
|
|
5994
|
-
def initialize(recordurl=nil,
|
|
5994
|
+
def initialize(recordurl=nil, storageparams=nil, sdkappid=nil, maxdurationlimit=nil, webrecordvideoparams=nil, recordid=nil, publishcdnparams=nil, readytimeout=nil, emulatemobileparams=nil)
|
|
5995
5995
|
@RecordUrl = recordurl
|
|
5996
|
-
@MaxDurationLimit = maxdurationlimit
|
|
5997
5996
|
@StorageParams = storageparams
|
|
5998
|
-
@WebRecordVideoParams = webrecordvideoparams
|
|
5999
5997
|
@SdkAppId = sdkappid
|
|
5998
|
+
@MaxDurationLimit = maxdurationlimit
|
|
5999
|
+
@WebRecordVideoParams = webrecordvideoparams
|
|
6000
6000
|
@RecordId = recordid
|
|
6001
6001
|
@PublishCdnParams = publishcdnparams
|
|
6002
6002
|
@ReadyTimeout = readytimeout
|
|
@@ -6005,16 +6005,16 @@ module TencentCloud
|
|
|
6005
6005
|
|
|
6006
6006
|
def deserialize(params)
|
|
6007
6007
|
@RecordUrl = params['RecordUrl']
|
|
6008
|
-
@MaxDurationLimit = params['MaxDurationLimit']
|
|
6009
6008
|
unless params['StorageParams'].nil?
|
|
6010
6009
|
@StorageParams = StorageParams.new
|
|
6011
6010
|
@StorageParams.deserialize(params['StorageParams'])
|
|
6012
6011
|
end
|
|
6012
|
+
@SdkAppId = params['SdkAppId']
|
|
6013
|
+
@MaxDurationLimit = params['MaxDurationLimit']
|
|
6013
6014
|
unless params['WebRecordVideoParams'].nil?
|
|
6014
6015
|
@WebRecordVideoParams = WebRecordVideoParams.new
|
|
6015
6016
|
@WebRecordVideoParams.deserialize(params['WebRecordVideoParams'])
|
|
6016
6017
|
end
|
|
6017
|
-
@SdkAppId = params['SdkAppId']
|
|
6018
6018
|
@RecordId = params['RecordId']
|
|
6019
6019
|
unless params['PublishCdnParams'].nil?
|
|
6020
6020
|
@PublishCdnParams = []
|
|
@@ -6734,10 +6734,10 @@ module TencentCloud
|
|
|
6734
6734
|
|
|
6735
6735
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint, :TurnDetection
|
|
6736
6736
|
extend Gem::Deprecate
|
|
6737
|
-
deprecate :IMAdminUserId, :none, 2025,
|
|
6738
|
-
deprecate :IMAdminUserId=, :none, 2025,
|
|
6739
|
-
deprecate :IMAdminUserSig, :none, 2025,
|
|
6740
|
-
deprecate :IMAdminUserSig=, :none, 2025,
|
|
6737
|
+
deprecate :IMAdminUserId, :none, 2025, 10
|
|
6738
|
+
deprecate :IMAdminUserId=, :none, 2025, 10
|
|
6739
|
+
deprecate :IMAdminUserSig, :none, 2025, 10
|
|
6740
|
+
deprecate :IMAdminUserSig=, :none, 2025, 10
|
|
6741
6741
|
|
|
6742
6742
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil, turndetection=nil)
|
|
6743
6743
|
@UserId = userid
|
|
@@ -7300,30 +7300,30 @@ module TencentCloud
|
|
|
7300
7300
|
class VoiceCloneRequest < TencentCloud::Common::AbstractModel
|
|
7301
7301
|
# @param SdkAppId: TRTC的SdkAppId
|
|
7302
7302
|
# @type SdkAppId: Integer
|
|
7303
|
-
# @param APIKey: TTS的API密钥
|
|
7304
|
-
# @type APIKey: String
|
|
7305
7303
|
# @param VoiceName: 声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
|
|
7306
7304
|
# @type VoiceName: String
|
|
7307
7305
|
# @param PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在5秒~12秒之间
|
|
7308
7306
|
# @type PromptAudio: String
|
|
7307
|
+
# @param APIKey: TTS的API密钥
|
|
7308
|
+
# @type APIKey: String
|
|
7309
7309
|
# @param PromptText: 声音克隆的参考文本,为参考音频对应的文字。
|
|
7310
7310
|
# @type PromptText: String
|
|
7311
7311
|
|
|
7312
|
-
attr_accessor :SdkAppId, :
|
|
7312
|
+
attr_accessor :SdkAppId, :VoiceName, :PromptAudio, :APIKey, :PromptText
|
|
7313
7313
|
|
|
7314
|
-
def initialize(sdkappid=nil,
|
|
7314
|
+
def initialize(sdkappid=nil, voicename=nil, promptaudio=nil, apikey=nil, prompttext=nil)
|
|
7315
7315
|
@SdkAppId = sdkappid
|
|
7316
|
-
@APIKey = apikey
|
|
7317
7316
|
@VoiceName = voicename
|
|
7318
7317
|
@PromptAudio = promptaudio
|
|
7318
|
+
@APIKey = apikey
|
|
7319
7319
|
@PromptText = prompttext
|
|
7320
7320
|
end
|
|
7321
7321
|
|
|
7322
7322
|
def deserialize(params)
|
|
7323
7323
|
@SdkAppId = params['SdkAppId']
|
|
7324
|
-
@APIKey = params['APIKey']
|
|
7325
7324
|
@VoiceName = params['VoiceName']
|
|
7326
7325
|
@PromptAudio = params['PromptAudio']
|
|
7326
|
+
@APIKey = params['APIKey']
|
|
7327
7327
|
@PromptText = params['PromptText']
|
|
7328
7328
|
end
|
|
7329
7329
|
end
|
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.1160
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,8 +33,8 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20190722/client.rb
|
|
37
36
|
- lib/v20190722/models.rb
|
|
37
|
+
- lib/v20190722/client.rb
|
|
38
38
|
- lib/tencentcloud-sdk-trtc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|