tencentcloud-sdk-nodejs-trtc 4.1.113 → 4.1.115

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-trtc",
3
- "version": "4.1.113",
3
+ "version": "4.1.115",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1030,6 +1030,25 @@ export interface DescribeTRTCMarketScaleDataResponse {
1030
1030
  */
1031
1031
  RequestId?: string;
1032
1032
  }
1033
+ /**
1034
+ * 翻译相关配置
1035
+ */
1036
+ export interface TranslationConfig {
1037
+ /**
1038
+ * 翻译的目标语言,目标语种列表(ISO 639-1)
1039
+
1040
+ */
1041
+ TargetLanguages: Array<string>;
1042
+ /**
1043
+ * 1: 仅文字翻译, 2: 语音同传
1044
+
1045
+ */
1046
+ Mode?: number;
1047
+ /**
1048
+ * 语音同传配置,开启同传时,需要传递
1049
+ */
1050
+ TTSConfig?: TTSConfig;
1051
+ }
1033
1052
  /**
1034
1053
  * Mcu转推录制,腾讯云点播相关参数。
1035
1054
  */
@@ -3378,6 +3397,10 @@ export interface StartAITranscriptionRequest {
3378
3397
  * 语音识别配置。
3379
3398
  */
3380
3399
  RecognizeConfig?: RecognizeConfig;
3400
+ /**
3401
+ * 翻译相关配置
3402
+ */
3403
+ TranslationConfig?: TranslationConfig;
3381
3404
  }
3382
3405
  /**
3383
3406
  * StopMCUMixTranscodeByStrRoomId请求参数结构体
@@ -3489,6 +3512,10 @@ export interface RecognizeConfig {
3489
3512
  * 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
3490
3513
  */
3491
3514
  VadSilenceTime?: number;
3515
+ /**
3516
+ * vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
3517
+ */
3518
+ VadLevel?: number;
3492
3519
  }
3493
3520
  /**
3494
3521
  * Es返回的质量数据
@@ -4789,6 +4816,10 @@ export interface TranscriptionParams {
4789
4816
  * 声纹配置
4790
4817
  */
4791
4818
  VoicePrint?: VoicePrint;
4819
+ /**
4820
+ * 语义断句检测
4821
+ */
4822
+ TurnDetection?: TurnDetection;
4792
4823
  }
4793
4824
  /**
4794
4825
  * SeriesInfos类型
@@ -4890,6 +4921,15 @@ export interface OneSdkAppIdTranscodeTimeUsagesInfo {
4890
4921
  */
4891
4922
  SdkAppId?: string;
4892
4923
  }
4924
+ /**
4925
+ * TTS相关配置
4926
+ */
4927
+ export interface TTSConfig {
4928
+ /**
4929
+ * 音色ID
4930
+ */
4931
+ VoiceId: string;
4932
+ }
4893
4933
  /**
4894
4934
  * MCU混流输出流编码参数
4895
4935
  */