tencentcloud-sdk-trtc 3.0.1160 → 3.0.1163
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 +74 -27
- 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: 35fb94044599b8afc72d9de18e2b6c6027e4a45f
|
|
4
|
+
data.tar.gz: 7fd22333c233818cfb6d68dee8fc0007f997b44e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a626facd3b5c051ffc988e4922426d28d602434b47a9e206ece581909f5163d588400ba57f5915854f440d66a0884745d2f101109d0487b05651309d42406ae
|
|
7
|
+
data.tar.gz: 8fa259843fcb320f0cddc4cb2224d108633dcf902a21e97bd2db7b851d5b49be1b44918cb984297356af4d8a3a656d5a4d2deea13eff871a3265a68ba8b7ec30
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1163
|
data/lib/v20190722/models.rb
CHANGED
|
@@ -278,17 +278,21 @@ module TencentCloud
|
|
|
278
278
|
|
|
279
279
|
# TTS音频输出的格式
|
|
280
280
|
class AudioFormat < TencentCloud::Common::AbstractModel
|
|
281
|
-
# @param Format: 生成的音频格式,默认pcm
|
|
281
|
+
# @param Format: 生成的音频格式,默认pcm,目前支持的格式列表:流式:[pcm],非流式 [pcm,wav]
|
|
282
282
|
# @type Format: String
|
|
283
|
+
# @param SampleRate: 采样率,默认24000, 可选16000, 24000
|
|
284
|
+
# @type SampleRate: Integer
|
|
283
285
|
|
|
284
|
-
attr_accessor :Format
|
|
286
|
+
attr_accessor :Format, :SampleRate
|
|
285
287
|
|
|
286
|
-
def initialize(format=nil)
|
|
288
|
+
def initialize(format=nil, samplerate=nil)
|
|
287
289
|
@Format = format
|
|
290
|
+
@SampleRate = samplerate
|
|
288
291
|
end
|
|
289
292
|
|
|
290
293
|
def deserialize(params)
|
|
291
294
|
@Format = params['Format']
|
|
295
|
+
@SampleRate = params['SampleRate']
|
|
292
296
|
end
|
|
293
297
|
end
|
|
294
298
|
|
|
@@ -4771,10 +4775,10 @@ module TencentCloud
|
|
|
4771
4775
|
|
|
4772
4776
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime, :VadLevel
|
|
4773
4777
|
extend Gem::Deprecate
|
|
4774
|
-
deprecate :Model, :none, 2025,
|
|
4775
|
-
deprecate :Model=, :none, 2025,
|
|
4776
|
-
deprecate :TranslationLanguage, :none, 2025,
|
|
4777
|
-
deprecate :TranslationLanguage=, :none, 2025,
|
|
4778
|
+
deprecate :Model, :none, 2025, 11
|
|
4779
|
+
deprecate :Model=, :none, 2025, 11
|
|
4780
|
+
deprecate :TranslationLanguage, :none, 2025, 11
|
|
4781
|
+
deprecate :TranslationLanguage=, :none, 2025, 11
|
|
4778
4782
|
|
|
4779
4783
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil, vadlevel=nil)
|
|
4780
4784
|
@Language = language
|
|
@@ -5897,12 +5901,12 @@ module TencentCloud
|
|
|
5897
5901
|
|
|
5898
5902
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
|
|
5899
5903
|
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,
|
|
5904
|
+
deprecate :VideoEncodeParams, :none, 2025, 11
|
|
5905
|
+
deprecate :VideoEncodeParams=, :none, 2025, 11
|
|
5906
|
+
deprecate :AudioEncodeParams, :none, 2025, 11
|
|
5907
|
+
deprecate :AudioEncodeParams=, :none, 2025, 11
|
|
5908
|
+
deprecate :SourceUrl, :none, 2025, 11
|
|
5909
|
+
deprecate :SourceUrl=, :none, 2025, 11
|
|
5906
5910
|
|
|
5907
5911
|
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
5912
|
@SdkAppId = sdkappid
|
|
@@ -6493,15 +6497,19 @@ module TencentCloud
|
|
|
6493
6497
|
class TTSConfig < TencentCloud::Common::AbstractModel
|
|
6494
6498
|
# @param VoiceId: 音色ID
|
|
6495
6499
|
# @type VoiceId: String
|
|
6500
|
+
# @param Model: TTS 的模型,默认是:flow_01_turbo, 可选: [ flow_01_turbo, flow_01_ex]
|
|
6501
|
+
# @type Model: String
|
|
6496
6502
|
|
|
6497
|
-
attr_accessor :VoiceId
|
|
6503
|
+
attr_accessor :VoiceId, :Model
|
|
6498
6504
|
|
|
6499
|
-
def initialize(voiceid=nil)
|
|
6505
|
+
def initialize(voiceid=nil, model=nil)
|
|
6500
6506
|
@VoiceId = voiceid
|
|
6507
|
+
@Model = model
|
|
6501
6508
|
end
|
|
6502
6509
|
|
|
6503
6510
|
def deserialize(params)
|
|
6504
6511
|
@VoiceId = params['VoiceId']
|
|
6512
|
+
@Model = params['Model']
|
|
6505
6513
|
end
|
|
6506
6514
|
end
|
|
6507
6515
|
|
|
@@ -6587,15 +6595,24 @@ module TencentCloud
|
|
|
6587
6595
|
# @type AudioFormat: :class:`Tencentcloud::Trtc.v20190722.models.AudioFormat`
|
|
6588
6596
|
# @param APIKey: TTS的API密钥
|
|
6589
6597
|
# @type APIKey: String
|
|
6598
|
+
# @param Model: TTS的模型:flow_01_turbo,flow_01_ex
|
|
6599
|
+
# @type Model: String
|
|
6600
|
+
# @param Language: 语言参数,默认为空, 参考: (ISO 639-1)
|
|
6601
|
+
# @type Language: String
|
|
6590
6602
|
|
|
6591
|
-
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey
|
|
6603
|
+
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
|
|
6604
|
+
extend Gem::Deprecate
|
|
6605
|
+
deprecate :APIKey, :none, 2025, 11
|
|
6606
|
+
deprecate :APIKey=, :none, 2025, 11
|
|
6592
6607
|
|
|
6593
|
-
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil)
|
|
6608
|
+
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
|
|
6594
6609
|
@Text = text
|
|
6595
6610
|
@Voice = voice
|
|
6596
6611
|
@SdkAppId = sdkappid
|
|
6597
6612
|
@AudioFormat = audioformat
|
|
6598
6613
|
@APIKey = apikey
|
|
6614
|
+
@Model = model
|
|
6615
|
+
@Language = language
|
|
6599
6616
|
end
|
|
6600
6617
|
|
|
6601
6618
|
def deserialize(params)
|
|
@@ -6610,6 +6627,8 @@ module TencentCloud
|
|
|
6610
6627
|
@AudioFormat.deserialize(params['AudioFormat'])
|
|
6611
6628
|
end
|
|
6612
6629
|
@APIKey = params['APIKey']
|
|
6630
|
+
@Model = params['Model']
|
|
6631
|
+
@Language = params['Language']
|
|
6613
6632
|
end
|
|
6614
6633
|
end
|
|
6615
6634
|
|
|
@@ -6645,15 +6664,21 @@ module TencentCloud
|
|
|
6645
6664
|
# @type AudioFormat: :class:`Tencentcloud::Trtc.v20190722.models.AudioFormat`
|
|
6646
6665
|
# @param APIKey: TTS的API密钥
|
|
6647
6666
|
# @type APIKey: String
|
|
6667
|
+
# @param Model: TTS的模型:flow_01_turbo,flow_01_ex
|
|
6668
|
+
# @type Model: String
|
|
6669
|
+
# @param Language: 语言参数,默认为空, 参考: (ISO 639-1)
|
|
6670
|
+
# @type Language: String
|
|
6648
6671
|
|
|
6649
|
-
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey
|
|
6672
|
+
attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
|
|
6650
6673
|
|
|
6651
|
-
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil)
|
|
6674
|
+
def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
|
|
6652
6675
|
@Text = text
|
|
6653
6676
|
@Voice = voice
|
|
6654
6677
|
@SdkAppId = sdkappid
|
|
6655
6678
|
@AudioFormat = audioformat
|
|
6656
6679
|
@APIKey = apikey
|
|
6680
|
+
@Model = model
|
|
6681
|
+
@Language = language
|
|
6657
6682
|
end
|
|
6658
6683
|
|
|
6659
6684
|
def deserialize(params)
|
|
@@ -6668,6 +6693,8 @@ module TencentCloud
|
|
|
6668
6693
|
@AudioFormat.deserialize(params['AudioFormat'])
|
|
6669
6694
|
end
|
|
6670
6695
|
@APIKey = params['APIKey']
|
|
6696
|
+
@Model = params['Model']
|
|
6697
|
+
@Language = params['Language']
|
|
6671
6698
|
end
|
|
6672
6699
|
end
|
|
6673
6700
|
|
|
@@ -6734,10 +6761,10 @@ module TencentCloud
|
|
|
6734
6761
|
|
|
6735
6762
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint, :TurnDetection
|
|
6736
6763
|
extend Gem::Deprecate
|
|
6737
|
-
deprecate :IMAdminUserId, :none, 2025,
|
|
6738
|
-
deprecate :IMAdminUserId=, :none, 2025,
|
|
6739
|
-
deprecate :IMAdminUserSig, :none, 2025,
|
|
6740
|
-
deprecate :IMAdminUserSig=, :none, 2025,
|
|
6764
|
+
deprecate :IMAdminUserId, :none, 2025, 11
|
|
6765
|
+
deprecate :IMAdminUserId=, :none, 2025, 11
|
|
6766
|
+
deprecate :IMAdminUserSig, :none, 2025, 11
|
|
6767
|
+
deprecate :IMAdminUserSig=, :none, 2025, 11
|
|
6741
6768
|
|
|
6742
6769
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil, turndetection=nil)
|
|
6743
6770
|
@UserId = userid
|
|
@@ -7284,15 +7311,27 @@ module TencentCloud
|
|
|
7284
7311
|
class Voice < TencentCloud::Common::AbstractModel
|
|
7285
7312
|
# @param VoiceId: TTS的声音的ID
|
|
7286
7313
|
# @type VoiceId: String
|
|
7314
|
+
# @param Speed: 语速,范围 0.5-2.0,默认 1.0
|
|
7315
|
+
# @type Speed: Float
|
|
7316
|
+
# @param Volume: (0, 10] 默认值1.0
|
|
7317
|
+
# @type Volume: Float
|
|
7318
|
+
# @param Pitch: 取值[-12,12],默认0
|
|
7319
|
+
# @type Pitch: Integer
|
|
7287
7320
|
|
|
7288
|
-
attr_accessor :VoiceId
|
|
7321
|
+
attr_accessor :VoiceId, :Speed, :Volume, :Pitch
|
|
7289
7322
|
|
|
7290
|
-
def initialize(voiceid=nil)
|
|
7323
|
+
def initialize(voiceid=nil, speed=nil, volume=nil, pitch=nil)
|
|
7291
7324
|
@VoiceId = voiceid
|
|
7325
|
+
@Speed = speed
|
|
7326
|
+
@Volume = volume
|
|
7327
|
+
@Pitch = pitch
|
|
7292
7328
|
end
|
|
7293
7329
|
|
|
7294
7330
|
def deserialize(params)
|
|
7295
7331
|
@VoiceId = params['VoiceId']
|
|
7332
|
+
@Speed = params['Speed']
|
|
7333
|
+
@Volume = params['Volume']
|
|
7334
|
+
@Pitch = params['Pitch']
|
|
7296
7335
|
end
|
|
7297
7336
|
end
|
|
7298
7337
|
|
|
@@ -7308,15 +7347,21 @@ module TencentCloud
|
|
|
7308
7347
|
# @type APIKey: String
|
|
7309
7348
|
# @param PromptText: 声音克隆的参考文本,为参考音频对应的文字。
|
|
7310
7349
|
# @type PromptText: String
|
|
7350
|
+
# @param Model: TTS的模型:flow_01_turbo,flow_01_ex
|
|
7351
|
+
# @type Model: String
|
|
7352
|
+
# @param Language: 语言参数,默认为空, 参考: (ISO 639-1)
|
|
7353
|
+
# @type Language: String
|
|
7311
7354
|
|
|
7312
|
-
attr_accessor :SdkAppId, :VoiceName, :PromptAudio, :APIKey, :PromptText
|
|
7355
|
+
attr_accessor :SdkAppId, :VoiceName, :PromptAudio, :APIKey, :PromptText, :Model, :Language
|
|
7313
7356
|
|
|
7314
|
-
def initialize(sdkappid=nil, voicename=nil, promptaudio=nil, apikey=nil, prompttext=nil)
|
|
7357
|
+
def initialize(sdkappid=nil, voicename=nil, promptaudio=nil, apikey=nil, prompttext=nil, model=nil, language=nil)
|
|
7315
7358
|
@SdkAppId = sdkappid
|
|
7316
7359
|
@VoiceName = voicename
|
|
7317
7360
|
@PromptAudio = promptaudio
|
|
7318
7361
|
@APIKey = apikey
|
|
7319
7362
|
@PromptText = prompttext
|
|
7363
|
+
@Model = model
|
|
7364
|
+
@Language = language
|
|
7320
7365
|
end
|
|
7321
7366
|
|
|
7322
7367
|
def deserialize(params)
|
|
@@ -7325,6 +7370,8 @@ module TencentCloud
|
|
|
7325
7370
|
@PromptAudio = params['PromptAudio']
|
|
7326
7371
|
@APIKey = params['APIKey']
|
|
7327
7372
|
@PromptText = params['PromptText']
|
|
7373
|
+
@Model = params['Model']
|
|
7374
|
+
@Language = params['Language']
|
|
7328
7375
|
end
|
|
7329
7376
|
end
|
|
7330
7377
|
|
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.1163
|
|
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-11-06 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/models.rb
|
|
37
36
|
- lib/v20190722/client.rb
|
|
37
|
+
- lib/v20190722/models.rb
|
|
38
38
|
- lib/tencentcloud-sdk-trtc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|