tencentcloud-sdk-trtc 3.0.1103 → 3.0.1108
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 +8 -2
- 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: 921ec4a763b7de32b72a0a46f3b8b80fe8ccaeb0
|
4
|
+
data.tar.gz: 9740e13b02e55f3b1e35b059cdb8a44aa850b293
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c64f51220218e38294b497444224c2fca40a050698e19c6df1a02d565829c4efc450aadfdcd7e79f0afdd9aba0100988a961d8c21817efa4e8e64a702bd767de
|
7
|
+
data.tar.gz: 4f2dac18d9f77e7fefc44fbb74e7101e8a5a75492db0c78a9e6d14bfaad3b7577521719b2f828e92df7fb81fb5e86348f364f876b5bd2f0e2fb83db4e717be3f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1108
|
data/lib/v20190722/models.rb
CHANGED
@@ -114,10 +114,14 @@ module TencentCloud
|
|
114
114
|
# @type VoicePrint: :class:`Tencentcloud::Trtc.v20190722.models.VoicePrint`
|
115
115
|
# @param TurnDetection: 语义断句检测
|
116
116
|
# @type TurnDetection: :class:`Tencentcloud::Trtc.v20190722.models.TurnDetection`
|
117
|
+
# @param SubtitleMode: 机器人字幕显示模式。
|
118
|
+
# - 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。
|
119
|
+
# - 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。
|
120
|
+
# @type SubtitleMode: Integer
|
117
121
|
|
118
|
-
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration, :TurnDetectionMode, :FilterOneWord, :WelcomeMessagePriority, :FilterBracketsContent, :AmbientSound, :VoicePrint, :TurnDetection
|
122
|
+
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration, :TurnDetectionMode, :FilterOneWord, :WelcomeMessagePriority, :FilterBracketsContent, :AmbientSound, :VoicePrint, :TurnDetection, :SubtitleMode
|
119
123
|
|
120
|
-
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil, turndetectionmode=nil, filteroneword=nil, welcomemessagepriority=nil, filterbracketscontent=nil, ambientsound=nil, voiceprint=nil, turndetection=nil)
|
124
|
+
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil, turndetectionmode=nil, filteroneword=nil, welcomemessagepriority=nil, filterbracketscontent=nil, ambientsound=nil, voiceprint=nil, turndetection=nil, subtitlemode=nil)
|
121
125
|
@UserId = userid
|
122
126
|
@UserSig = usersig
|
123
127
|
@TargetUserId = targetuserid
|
@@ -132,6 +136,7 @@ module TencentCloud
|
|
132
136
|
@AmbientSound = ambientsound
|
133
137
|
@VoicePrint = voiceprint
|
134
138
|
@TurnDetection = turndetection
|
139
|
+
@SubtitleMode = subtitlemode
|
135
140
|
end
|
136
141
|
|
137
142
|
def deserialize(params)
|
@@ -158,6 +163,7 @@ module TencentCloud
|
|
158
163
|
@TurnDetection = TurnDetection.new
|
159
164
|
@TurnDetection.deserialize(params['TurnDetection'])
|
160
165
|
end
|
166
|
+
@SubtitleMode = params['SubtitleMode']
|
161
167
|
end
|
162
168
|
end
|
163
169
|
|
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.1108
|
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-07-
|
11
|
+
date: 2025-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|