tencentcloud-sdk-trtc 3.0.1132 → 3.0.1138
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 +83 -21
- 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: 5d7c3d3c12234de248b02bc37487b9a6825bd844
|
4
|
+
data.tar.gz: 07fef268d10ab48c9c9232848f8e643cd458bbcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05f93f802efcc5eb5d630a3c548f55db521979eb9e9f3eb0bfa9723732754685f99b50bd8186d244289257b566b9d5d4e36ff869263cb2d09c02c77b60c1853a
|
7
|
+
data.tar.gz: 1973d11832d084eb26f8a4b250d6f7fb40ce05744cdf918907cf952d496de2a761b489fb457aa872a22aa405a2f4d389518e932221dc84e8cd88a51c5be64e51
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1138
|
data/lib/v20190722/models.rb
CHANGED
@@ -4758,21 +4758,24 @@ module TencentCloud
|
|
4758
4758
|
# @type HotWordList: String
|
4759
4759
|
# @param VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
|
4760
4760
|
# @type VadSilenceTime: Integer
|
4761
|
+
# @param VadLevel: vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
4762
|
+
# @type VadLevel: Integer
|
4761
4763
|
|
4762
|
-
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime
|
4764
|
+
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime, :VadLevel
|
4763
4765
|
extend Gem::Deprecate
|
4764
|
-
deprecate :Model, :none, 2025,
|
4765
|
-
deprecate :Model=, :none, 2025,
|
4766
|
-
deprecate :TranslationLanguage, :none, 2025,
|
4767
|
-
deprecate :TranslationLanguage=, :none, 2025,
|
4766
|
+
deprecate :Model, :none, 2025, 9
|
4767
|
+
deprecate :Model=, :none, 2025, 9
|
4768
|
+
deprecate :TranslationLanguage, :none, 2025, 9
|
4769
|
+
deprecate :TranslationLanguage=, :none, 2025, 9
|
4768
4770
|
|
4769
|
-
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil)
|
4771
|
+
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil, vadlevel=nil)
|
4770
4772
|
@Language = language
|
4771
4773
|
@AlternativeLanguage = alternativelanguage
|
4772
4774
|
@Model = model
|
4773
4775
|
@TranslationLanguage = translationlanguage
|
4774
4776
|
@HotWordList = hotwordlist
|
4775
4777
|
@VadSilenceTime = vadsilencetime
|
4778
|
+
@VadLevel = vadlevel
|
4776
4779
|
end
|
4777
4780
|
|
4778
4781
|
def deserialize(params)
|
@@ -4782,6 +4785,7 @@ module TencentCloud
|
|
4782
4785
|
@TranslationLanguage = params['TranslationLanguage']
|
4783
4786
|
@HotWordList = params['HotWordList']
|
4784
4787
|
@VadSilenceTime = params['VadSilenceTime']
|
4788
|
+
@VadLevel = params['VadLevel']
|
4785
4789
|
end
|
4786
4790
|
end
|
4787
4791
|
|
@@ -5366,8 +5370,9 @@ module TencentCloud
|
|
5366
5370
|
# 示例值:30
|
5367
5371
|
# @type MaxIdleTime: Integer
|
5368
5372
|
# @param SliceAudio: 音频切片时长,默认15s 示例值:15
|
5373
|
+
# 取值范围15-60s
|
5369
5374
|
# @type SliceAudio: Integer
|
5370
|
-
# @param SliceVideo: 视频截帧间隔时长,默认5s, 示例值:5
|
5375
|
+
# @param SliceVideo: 视频截帧间隔时长,默认5s, 示例值:5 取值范围5-60s
|
5371
5376
|
# @type SliceVideo: Integer
|
5372
5377
|
# @param SubscribeStreamUserIds: 指定订阅流白名单或者黑名单。
|
5373
5378
|
# @type SubscribeStreamUserIds: :class:`Tencentcloud::Trtc.v20190722.models.SubscribeStreamUserIds`
|
@@ -5548,16 +5553,19 @@ module TencentCloud
|
|
5548
5553
|
# @type RoomIdType: Integer
|
5549
5554
|
# @param RecognizeConfig: 语音识别配置。
|
5550
5555
|
# @type RecognizeConfig: :class:`Tencentcloud::Trtc.v20190722.models.RecognizeConfig`
|
5556
|
+
# @param TranslationConfig: 翻译相关配置
|
5557
|
+
# @type TranslationConfig: :class:`Tencentcloud::Trtc.v20190722.models.TranslationConfig`
|
5551
5558
|
|
5552
|
-
attr_accessor :SdkAppId, :RoomId, :TranscriptionParams, :SessionId, :RoomIdType, :RecognizeConfig
|
5559
|
+
attr_accessor :SdkAppId, :RoomId, :TranscriptionParams, :SessionId, :RoomIdType, :RecognizeConfig, :TranslationConfig
|
5553
5560
|
|
5554
|
-
def initialize(sdkappid=nil, roomid=nil, transcriptionparams=nil, sessionid=nil, roomidtype=nil, recognizeconfig=nil)
|
5561
|
+
def initialize(sdkappid=nil, roomid=nil, transcriptionparams=nil, sessionid=nil, roomidtype=nil, recognizeconfig=nil, translationconfig=nil)
|
5555
5562
|
@SdkAppId = sdkappid
|
5556
5563
|
@RoomId = roomid
|
5557
5564
|
@TranscriptionParams = transcriptionparams
|
5558
5565
|
@SessionId = sessionid
|
5559
5566
|
@RoomIdType = roomidtype
|
5560
5567
|
@RecognizeConfig = recognizeconfig
|
5568
|
+
@TranslationConfig = translationconfig
|
5561
5569
|
end
|
5562
5570
|
|
5563
5571
|
def deserialize(params)
|
@@ -5573,6 +5581,10 @@ module TencentCloud
|
|
5573
5581
|
@RecognizeConfig = RecognizeConfig.new
|
5574
5582
|
@RecognizeConfig.deserialize(params['RecognizeConfig'])
|
5575
5583
|
end
|
5584
|
+
unless params['TranslationConfig'].nil?
|
5585
|
+
@TranslationConfig = TranslationConfig.new
|
5586
|
+
@TranslationConfig.deserialize(params['TranslationConfig'])
|
5587
|
+
end
|
5576
5588
|
end
|
5577
5589
|
end
|
5578
5590
|
|
@@ -5877,12 +5889,12 @@ module TencentCloud
|
|
5877
5889
|
|
5878
5890
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
|
5879
5891
|
extend Gem::Deprecate
|
5880
|
-
deprecate :VideoEncodeParams, :none, 2025,
|
5881
|
-
deprecate :VideoEncodeParams=, :none, 2025,
|
5882
|
-
deprecate :AudioEncodeParams, :none, 2025,
|
5883
|
-
deprecate :AudioEncodeParams=, :none, 2025,
|
5884
|
-
deprecate :SourceUrl, :none, 2025,
|
5885
|
-
deprecate :SourceUrl=, :none, 2025,
|
5892
|
+
deprecate :VideoEncodeParams, :none, 2025, 9
|
5893
|
+
deprecate :VideoEncodeParams=, :none, 2025, 9
|
5894
|
+
deprecate :AudioEncodeParams, :none, 2025, 9
|
5895
|
+
deprecate :AudioEncodeParams=, :none, 2025, 9
|
5896
|
+
deprecate :SourceUrl, :none, 2025, 9
|
5897
|
+
deprecate :SourceUrl=, :none, 2025, 9
|
5886
5898
|
|
5887
5899
|
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)
|
5888
5900
|
@SdkAppId = sdkappid
|
@@ -6469,6 +6481,22 @@ module TencentCloud
|
|
6469
6481
|
end
|
6470
6482
|
end
|
6471
6483
|
|
6484
|
+
# TTS相关配置
|
6485
|
+
class TTSConfig < TencentCloud::Common::AbstractModel
|
6486
|
+
# @param VoiceId: 音色ID
|
6487
|
+
# @type VoiceId: String
|
6488
|
+
|
6489
|
+
attr_accessor :VoiceId
|
6490
|
+
|
6491
|
+
def initialize(voiceid=nil)
|
6492
|
+
@VoiceId = voiceid
|
6493
|
+
end
|
6494
|
+
|
6495
|
+
def deserialize(params)
|
6496
|
+
@VoiceId = params['VoiceId']
|
6497
|
+
end
|
6498
|
+
end
|
6499
|
+
|
6472
6500
|
# 腾讯云点播相关参数。
|
6473
6501
|
class TencentVod < TencentCloud::Common::AbstractModel
|
6474
6502
|
# @param Procedure: 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 创建任务流模板 并为模板命名。
|
@@ -6673,15 +6701,17 @@ module TencentCloud
|
|
6673
6701
|
# @type TargetUserIdList: Array
|
6674
6702
|
# @param VoicePrint: 声纹配置
|
6675
6703
|
# @type VoicePrint: :class:`Tencentcloud::Trtc.v20190722.models.VoicePrint`
|
6704
|
+
# @param TurnDetection: 语义断句检测
|
6705
|
+
# @type TurnDetection: :class:`Tencentcloud::Trtc.v20190722.models.TurnDetection`
|
6676
6706
|
|
6677
|
-
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint
|
6707
|
+
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint, :TurnDetection
|
6678
6708
|
extend Gem::Deprecate
|
6679
|
-
deprecate :IMAdminUserId, :none, 2025,
|
6680
|
-
deprecate :IMAdminUserId=, :none, 2025,
|
6681
|
-
deprecate :IMAdminUserSig, :none, 2025,
|
6682
|
-
deprecate :IMAdminUserSig=, :none, 2025,
|
6709
|
+
deprecate :IMAdminUserId, :none, 2025, 9
|
6710
|
+
deprecate :IMAdminUserId=, :none, 2025, 9
|
6711
|
+
deprecate :IMAdminUserSig, :none, 2025, 9
|
6712
|
+
deprecate :IMAdminUserSig=, :none, 2025, 9
|
6683
6713
|
|
6684
|
-
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil)
|
6714
|
+
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil, turndetection=nil)
|
6685
6715
|
@UserId = userid
|
6686
6716
|
@UserSig = usersig
|
6687
6717
|
@IMAdminUserId = imadminuserid
|
@@ -6691,6 +6721,7 @@ module TencentCloud
|
|
6691
6721
|
@TargetUserId = targetuserid
|
6692
6722
|
@TargetUserIdList = targetuseridlist
|
6693
6723
|
@VoicePrint = voiceprint
|
6724
|
+
@TurnDetection = turndetection
|
6694
6725
|
end
|
6695
6726
|
|
6696
6727
|
def deserialize(params)
|
@@ -6706,6 +6737,37 @@ module TencentCloud
|
|
6706
6737
|
@VoicePrint = VoicePrint.new
|
6707
6738
|
@VoicePrint.deserialize(params['VoicePrint'])
|
6708
6739
|
end
|
6740
|
+
unless params['TurnDetection'].nil?
|
6741
|
+
@TurnDetection = TurnDetection.new
|
6742
|
+
@TurnDetection.deserialize(params['TurnDetection'])
|
6743
|
+
end
|
6744
|
+
end
|
6745
|
+
end
|
6746
|
+
|
6747
|
+
# 翻译相关配置
|
6748
|
+
class TranslationConfig < TencentCloud::Common::AbstractModel
|
6749
|
+
# @param TargetLanguages: 翻译的目标语言,目标语种列表(ISO 639-1)
|
6750
|
+
# @type TargetLanguages: Array
|
6751
|
+
# @param Mode: 1: 仅文字翻译, 2: 语音同传
|
6752
|
+
# @type Mode: Integer
|
6753
|
+
# @param TTSConfig: 语音同传配置,开启同传时,需要传递
|
6754
|
+
# @type TTSConfig: :class:`Tencentcloud::Trtc.v20190722.models.TTSConfig`
|
6755
|
+
|
6756
|
+
attr_accessor :TargetLanguages, :Mode, :TTSConfig
|
6757
|
+
|
6758
|
+
def initialize(targetlanguages=nil, mode=nil, ttsconfig=nil)
|
6759
|
+
@TargetLanguages = targetlanguages
|
6760
|
+
@Mode = mode
|
6761
|
+
@TTSConfig = ttsconfig
|
6762
|
+
end
|
6763
|
+
|
6764
|
+
def deserialize(params)
|
6765
|
+
@TargetLanguages = params['TargetLanguages']
|
6766
|
+
@Mode = params['Mode']
|
6767
|
+
unless params['TTSConfig'].nil?
|
6768
|
+
@TTSConfig = TTSConfig.new
|
6769
|
+
@TTSConfig.deserialize(params['TTSConfig'])
|
6770
|
+
end
|
6709
6771
|
end
|
6710
6772
|
end
|
6711
6773
|
|
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.1138
|
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-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|