tencentcloud-sdk-trtc 3.0.1174 → 3.0.1182

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190722/models.rb +41 -27
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0accaf491d2814dd8b889574bfe38daa99ada55f
4
- data.tar.gz: 9260218c5f40dc044cb60597c5b1cffad72088f6
3
+ metadata.gz: d69a60b421dc1a4ac0b0eb79354930ed3278e198
4
+ data.tar.gz: 192b7953bfad4285381ed9861f84c92c3acba715
5
5
  SHA512:
6
- metadata.gz: 36e0ccf88451cda30e4215c8ebf39c8fcbd5b97bf669f31128a4cf27d2e6bdf655491b1cb42f4382ff245f1ce0759ad029e7baaad73f45a2706fec791b26610a
7
- data.tar.gz: 108946a0ede6b8ad39d5b1cfc5c985456a9edc5286657a9d4d0d9717c64fb099c9b8f0110a4fba9dda13e961ca2e56e5e212b1983361c54a2f98c22faa46a4e3
6
+ metadata.gz: afbbf36997370c6be066cdc1c8fb4f86b662d2017d02b893df52d47b77b9d7303567f587f1829101821ece30d1de2d59238b51bac8945cf1b0ea42f2854eb4d5
7
+ data.tar.gz: 2adcfed3fa91f2c46d8d7f5aed4c2b6cd19770e19dc55d8f0055d03d85717dd48cda7ee248812640407bcf67b54927f5bdd7d3acd6d58d30296b98cf355acd8d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1174
1
+ 3.0.1182
@@ -278,9 +278,20 @@ module TencentCloud
278
278
 
279
279
  # TTS音频输出的格式
280
280
  class AudioFormat < TencentCloud::Common::AbstractModel
281
- # @param Format: 生成的音频格式,默认pcm,目前支持的格式列表:流式:[pcm],非流式 [pcm,wav]
281
+ # @param Format: 生成的音频格式
282
+
283
+ # - TextToSpeech流式接口
284
+
285
+ # 支持 pcm, 默认: pcm
286
+
287
+ # - TextToSpeech非流式接口
288
+
289
+ # 支持 pcm,wav, 默认: pcm
282
290
  # @type Format: String
283
- # @param SampleRate: 采样率,默认24000, 可选16000, 24000
291
+ # @param SampleRate: 生成的音频采样率,默认24000
292
+ # 可选
293
+ # - 16000
294
+ # - 24000
284
295
  # @type SampleRate: Integer
285
296
 
286
297
  attr_accessor :Format, :SampleRate
@@ -4775,10 +4786,10 @@ module TencentCloud
4775
4786
 
4776
4787
  attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime, :VadLevel
4777
4788
  extend Gem::Deprecate
4778
- deprecate :Model, :none, 2025, 11
4779
- deprecate :Model=, :none, 2025, 11
4780
- deprecate :TranslationLanguage, :none, 2025, 11
4781
- deprecate :TranslationLanguage=, :none, 2025, 11
4789
+ deprecate :Model, :none, 2025, 12
4790
+ deprecate :Model=, :none, 2025, 12
4791
+ deprecate :TranslationLanguage, :none, 2025, 12
4792
+ deprecate :TranslationLanguage=, :none, 2025, 12
4782
4793
 
4783
4794
  def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil, vadlevel=nil)
4784
4795
  @Language = language
@@ -5905,12 +5916,12 @@ module TencentCloud
5905
5916
 
5906
5917
  attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
5907
5918
  extend Gem::Deprecate
5908
- deprecate :VideoEncodeParams, :none, 2025, 11
5909
- deprecate :VideoEncodeParams=, :none, 2025, 11
5910
- deprecate :AudioEncodeParams, :none, 2025, 11
5911
- deprecate :AudioEncodeParams=, :none, 2025, 11
5912
- deprecate :SourceUrl, :none, 2025, 11
5913
- deprecate :SourceUrl=, :none, 2025, 11
5919
+ deprecate :VideoEncodeParams, :none, 2025, 12
5920
+ deprecate :VideoEncodeParams=, :none, 2025, 12
5921
+ deprecate :AudioEncodeParams, :none, 2025, 12
5922
+ deprecate :AudioEncodeParams=, :none, 2025, 12
5923
+ deprecate :SourceUrl, :none, 2025, 12
5924
+ deprecate :SourceUrl=, :none, 2025, 12
5914
5925
 
5915
5926
  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)
5916
5927
  @SdkAppId = sdkappid
@@ -6607,15 +6618,15 @@ module TencentCloud
6607
6618
  # @type AudioFormat: :class:`Tencentcloud::Trtc.v20190722.models.AudioFormat`
6608
6619
  # @param APIKey: TTS的API密钥
6609
6620
  # @type APIKey: String
6610
- # @param Model: TTS的模型:flow_01_turbo,flow_01_ex
6621
+ # @param Model: TTS的模型,当前固定为:flow_01_turbo
6611
6622
  # @type Model: String
6612
- # @param Language: 语言参数,默认为空, 参考: (ISO 639-1)
6623
+ # @param Language: 需要合成的语言(ISO 639-1),支持 zh(中文)、en(英文)、yue(粤语)、ja(日语)、ko(韩语),默认自动识别
6613
6624
  # @type Language: String
6614
6625
 
6615
6626
  attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
6616
6627
  extend Gem::Deprecate
6617
- deprecate :APIKey, :none, 2025, 11
6618
- deprecate :APIKey=, :none, 2025, 11
6628
+ deprecate :APIKey, :none, 2025, 12
6629
+ deprecate :APIKey=, :none, 2025, 12
6619
6630
 
6620
6631
  def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
6621
6632
  @Text = text
@@ -6676,12 +6687,15 @@ module TencentCloud
6676
6687
  # @type AudioFormat: :class:`Tencentcloud::Trtc.v20190722.models.AudioFormat`
6677
6688
  # @param APIKey: TTS的API密钥
6678
6689
  # @type APIKey: String
6679
- # @param Model: TTS的模型:flow_01_turbo,flow_01_ex
6690
+ # @param Model: TTS的模型,当前固定为:flow_01_turbo
6680
6691
  # @type Model: String
6681
- # @param Language: 语言参数,默认为空, 参考: (ISO 639-1)
6692
+ # @param Language: 需要合成的语言(ISO 639-1),支持 zh(中文)、en(英文)、yue(粤语)、ja(日语)、ko(韩语),默认自动识别
6682
6693
  # @type Language: String
6683
6694
 
6684
6695
  attr_accessor :Text, :Voice, :SdkAppId, :AudioFormat, :APIKey, :Model, :Language
6696
+ extend Gem::Deprecate
6697
+ deprecate :APIKey, :none, 2025, 12
6698
+ deprecate :APIKey=, :none, 2025, 12
6685
6699
 
6686
6700
  def initialize(text=nil, voice=nil, sdkappid=nil, audioformat=nil, apikey=nil, model=nil, language=nil)
6687
6701
  @Text = text
@@ -6773,10 +6787,10 @@ module TencentCloud
6773
6787
 
6774
6788
  attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint, :TurnDetection
6775
6789
  extend Gem::Deprecate
6776
- deprecate :IMAdminUserId, :none, 2025, 11
6777
- deprecate :IMAdminUserId=, :none, 2025, 11
6778
- deprecate :IMAdminUserSig, :none, 2025, 11
6779
- deprecate :IMAdminUserSig=, :none, 2025, 11
6790
+ deprecate :IMAdminUserId, :none, 2025, 12
6791
+ deprecate :IMAdminUserId=, :none, 2025, 12
6792
+ deprecate :IMAdminUserSig, :none, 2025, 12
6793
+ deprecate :IMAdminUserSig=, :none, 2025, 12
6780
6794
 
6781
6795
  def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil, turndetection=nil)
6782
6796
  @UserId = userid
@@ -7319,15 +7333,15 @@ module TencentCloud
7319
7333
  end
7320
7334
  end
7321
7335
 
7322
- # TTS的声音参数
7336
+ # TTS的声音参数配置
7323
7337
  class Voice < TencentCloud::Common::AbstractModel
7324
- # @param VoiceId: TTS的声音的ID
7338
+ # @param VoiceId: 音色 ID,可从音色列表获取,或使用声音克隆生成的自定义音色 ID
7325
7339
  # @type VoiceId: String
7326
- # @param Speed: 语速,范围 0.5-2.0,默认 1.0
7340
+ # @param Speed: 语速调节,0.5 为半速慢放,2.0 为两倍速快放,1.0 为正常语速,区间:[0.5, 2.0],默认1.0
7327
7341
  # @type Speed: Float
7328
- # @param Volume: (0, 10] 默认值1.0
7342
+ # @param Volume: 音量调节,0 为静音,10 为最大音量,建议保持默认值 1.0,区间:[0, 10],默认1.0
7329
7343
  # @type Volume: Float
7330
- # @param Pitch: 取值[-12,12],默认0
7344
+ # @param Pitch: 音高调节,负值声音更低沉,正值声音更尖锐,0 为原始音高,区间 [-12, 12], 默认0
7331
7345
  # @type Pitch: Integer
7332
7346
 
7333
7347
  attr_accessor :VoiceId, :Speed, :Volume, :Pitch
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.1174
4
+ version: 3.0.1182
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-28 00:00:00.000000000 Z
11
+ date: 2025-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common