tencentcloud-sdk-trtc 3.0.952 → 3.0.953

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 +30 -18
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 870d335036fb0083e181e4d094961d000b411c3f
4
- data.tar.gz: 8b3a842bc7a44242a15d7cf7bb6fc1735165f14f
3
+ metadata.gz: 752044ca670a4c54fca40875a9623b11487eb1fc
4
+ data.tar.gz: 11c50113ef48cc379b71657ca7ea4f4284293614
5
5
  SHA512:
6
- metadata.gz: e5611d4890def29238d4e1f3ec28a6250ab44a271e05ca6af321a5d255edf9267bea09a329e68bbfb2dabd77f793369e829cbd4aff4509be767a612f3db07ce3
7
- data.tar.gz: 00e79ddd80eda5061e34dbfbf4c01b380ac3f33ac95ae2e1564297a9467745d5d5a573a254bd7c34ad74ccc596a5e278ad72272528c2abc926bb148d60912f27
6
+ metadata.gz: 8370429ff0c94419f67aa8b8f8ef0d0a2e942d99abd37e28daf7dc3d09c5a57b5eae4716c8ef747a75fd1cc874f2c68b6d95f26aaf948af59bb22f73d9dea2be
7
+ data.tar.gz: eb0bff2cd9989a9a3af022917a98f9d52b081862c553a917cfa4779f50887a4fe3aa33024f04e3c526f5818b3769e525d8ee10ec7f14bb522e362489722c6154
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.952
1
+ 3.0.953
@@ -93,10 +93,14 @@ module TencentCloud
93
93
  # @type InterruptMode: Integer
94
94
  # @param InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
95
95
  # @type InterruptSpeechDuration: Integer
96
+ # @param TurnDetectionMode: 控制新一轮对话的触发方式,默认为0。
97
+ # - 0表示当服务端语音识别检测出的完整一句话后,自动触发一轮新的对话。
98
+ # - 1表示客户端在收到字幕消息后,自行决定是否手动发送聊天信令触发一轮新的对话。
99
+ # @type TurnDetectionMode: Integer
96
100
 
97
- attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration
101
+ attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration, :TurnDetectionMode
98
102
 
99
- def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil)
103
+ def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil, turndetectionmode=nil)
100
104
  @UserId = userid
101
105
  @UserSig = usersig
102
106
  @TargetUserId = targetuserid
@@ -104,6 +108,7 @@ module TencentCloud
104
108
  @WelcomeMessage = welcomemessage
105
109
  @InterruptMode = interruptmode
106
110
  @InterruptSpeechDuration = interruptspeechduration
111
+ @TurnDetectionMode = turndetectionmode
107
112
  end
108
113
 
109
114
  def deserialize(params)
@@ -114,6 +119,7 @@ module TencentCloud
114
119
  @WelcomeMessage = params['WelcomeMessage']
115
120
  @InterruptMode = params['InterruptMode']
116
121
  @InterruptSpeechDuration = params['InterruptSpeechDuration']
122
+ @TurnDetectionMode = params['TurnDetectionMode']
117
123
  end
118
124
  end
119
125
 
@@ -3834,10 +3840,10 @@ module TencentCloud
3834
3840
 
3835
3841
  attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage
3836
3842
  extend Gem::Deprecate
3837
- deprecate :Model, :none, 2024, 11
3838
- deprecate :Model=, :none, 2024, 11
3839
- deprecate :TranslationLanguage, :none, 2024, 11
3840
- deprecate :TranslationLanguage=, :none, 2024, 11
3843
+ deprecate :Model, :none, 2024, 12
3844
+ deprecate :Model=, :none, 2024, 12
3845
+ deprecate :TranslationLanguage, :none, 2024, 12
3846
+ deprecate :TranslationLanguage=, :none, 2024, 12
3841
3847
 
3842
3848
  def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil)
3843
3849
  @Language = language
@@ -4288,19 +4294,25 @@ module TencentCloud
4288
4294
  # @type Interrupt: Boolean
4289
4295
  # @param StopAfterPlay: 播报完文本后,是否自动关闭对话任务
4290
4296
  # @type StopAfterPlay: Boolean
4297
+ # @param Audio: 服务端推送播报音频
4298
+ # 格式说明:音频以16KHz采样率的单声道格式提供,编码为Base64字符串。
4299
+ # 输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
4300
+ # @type Audio: String
4291
4301
 
4292
- attr_accessor :Text, :Interrupt, :StopAfterPlay
4302
+ attr_accessor :Text, :Interrupt, :StopAfterPlay, :Audio
4293
4303
 
4294
- def initialize(text=nil, interrupt=nil, stopafterplay=nil)
4304
+ def initialize(text=nil, interrupt=nil, stopafterplay=nil, audio=nil)
4295
4305
  @Text = text
4296
4306
  @Interrupt = interrupt
4297
4307
  @StopAfterPlay = stopafterplay
4308
+ @Audio = audio
4298
4309
  end
4299
4310
 
4300
4311
  def deserialize(params)
4301
4312
  @Text = params['Text']
4302
4313
  @Interrupt = params['Interrupt']
4303
4314
  @StopAfterPlay = params['StopAfterPlay']
4315
+ @Audio = params['Audio']
4304
4316
  end
4305
4317
  end
4306
4318
 
@@ -4778,12 +4790,12 @@ module TencentCloud
4778
4790
 
4779
4791
  attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
4780
4792
  extend Gem::Deprecate
4781
- deprecate :VideoEncodeParams, :none, 2024, 11
4782
- deprecate :VideoEncodeParams=, :none, 2024, 11
4783
- deprecate :AudioEncodeParams, :none, 2024, 11
4784
- deprecate :AudioEncodeParams=, :none, 2024, 11
4785
- deprecate :SourceUrl, :none, 2024, 11
4786
- deprecate :SourceUrl=, :none, 2024, 11
4793
+ deprecate :VideoEncodeParams, :none, 2024, 12
4794
+ deprecate :VideoEncodeParams=, :none, 2024, 12
4795
+ deprecate :AudioEncodeParams, :none, 2024, 12
4796
+ deprecate :AudioEncodeParams=, :none, 2024, 12
4797
+ deprecate :SourceUrl, :none, 2024, 12
4798
+ deprecate :SourceUrl=, :none, 2024, 12
4787
4799
 
4788
4800
  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)
4789
4801
  @SdkAppId = sdkappid
@@ -5430,10 +5442,10 @@ module TencentCloud
5430
5442
 
5431
5443
  attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList
5432
5444
  extend Gem::Deprecate
5433
- deprecate :IMAdminUserId, :none, 2024, 11
5434
- deprecate :IMAdminUserId=, :none, 2024, 11
5435
- deprecate :IMAdminUserSig, :none, 2024, 11
5436
- deprecate :IMAdminUserSig=, :none, 2024, 11
5445
+ deprecate :IMAdminUserId, :none, 2024, 12
5446
+ deprecate :IMAdminUserId=, :none, 2024, 12
5447
+ deprecate :IMAdminUserSig, :none, 2024, 12
5448
+ deprecate :IMAdminUserSig=, :none, 2024, 12
5437
5449
 
5438
5450
  def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil)
5439
5451
  @UserId = userid
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.952
4
+ version: 3.0.953
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-12-01 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common