tencentcloud-sdk-nodejs-trtc 4.0.912 → 4.0.913
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 +1 -1
- package/products.md +11 -11
- package/src/services/trtc/v20190722/trtc_client.ts +4 -2
- package/src/services/trtc/v20190722/trtc_models.ts +62 -27
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +4 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +4 -2
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +61 -26
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-06-17 01:08:48 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-07-31 01:04:59 |
|
|
19
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-
|
|
19
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-08-08 01:09:56 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-07-16 01:08:08 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 |
|
|
83
83
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
|
|
84
84
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
|
|
85
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-08-
|
|
85
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-08-08 01:33:40 |
|
|
86
86
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-29 01:33:59 |
|
|
87
87
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-31 01:30:16 |
|
|
88
88
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 |
|
|
@@ -97,9 +97,9 @@
|
|
|
97
97
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 |
|
|
98
98
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
99
99
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-08-01 01:40:41 |
|
|
100
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-
|
|
100
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-08-08 01:41:08 |
|
|
101
101
|
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-07 01:41:05 |
|
|
102
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-
|
|
102
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-08 01:42:39 |
|
|
103
103
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-07-16 01:16:45 |
|
|
104
104
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-07-31 01:37:45 |
|
|
105
105
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-06-28 01:12:56 |
|
|
126
126
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
|
127
127
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
|
|
128
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-08-
|
|
128
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-08-08 01:47:56 |
|
|
129
129
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
|
|
130
130
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-07-08 01:16:48 |
|
|
131
131
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
|
|
@@ -176,12 +176,12 @@
|
|
|
176
176
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-06-07 02:21:50 |
|
|
177
177
|
| smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-04-11 01:20:38 |
|
|
178
178
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2024-07-09 01:21:06 |
|
|
179
|
-
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-
|
|
179
|
+
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-08-08 02:08:10 |
|
|
180
180
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-04-11 01:20:45 |
|
|
181
181
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
182
182
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-05 02:02:14 |
|
|
183
183
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
|
|
184
|
-
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-
|
|
184
|
+
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-08-08 02:09:39 |
|
|
185
185
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
|
|
186
186
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 |
|
|
187
187
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-03-20 01:24:08 |
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2024-03-20 01:24:24 |
|
|
197
197
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2024-08-05 02:05:20 |
|
|
198
198
|
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-08-07 02:15:35 |
|
|
199
|
-
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2024-
|
|
199
|
+
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2024-08-08 02:12:50 |
|
|
200
200
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
201
201
|
| tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2024-03-20 01:24:49 |
|
|
202
202
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
@@ -227,8 +227,8 @@
|
|
|
227
227
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-07-05 01:19:38 |
|
|
228
228
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
|
|
229
229
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-31 02:17:29 |
|
|
230
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-08-
|
|
231
|
-
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-08-
|
|
230
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-08-08 02:24:11 |
|
|
231
|
+
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-08-08 02:24:45 |
|
|
232
232
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-30 11:37:37 |
|
|
233
233
|
| tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-08-02 02:22:13 |
|
|
234
234
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-07-31 02:26:05 |
|
|
246
246
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-29 02:30:48 |
|
|
247
247
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
|
|
248
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-08-
|
|
248
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-08-08 02:34:16 |
|
|
249
249
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
|
|
250
250
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
251
251
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
|
|
@@ -349,8 +349,10 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
/**
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
* 启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
|
|
353
|
+
|
|
354
|
+
TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
|
|
355
|
+
*/
|
|
354
356
|
async StartAIConversation(
|
|
355
357
|
req: StartAIConversationRequest,
|
|
356
358
|
cb?: (error: string, rep: StartAIConversationResponse) => void
|
|
@@ -35,10 +35,15 @@ export interface AgentConfig {
|
|
|
35
35
|
*/
|
|
36
36
|
TargetUserId: string
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。
|
|
39
39
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40
40
|
*/
|
|
41
41
|
MaxIdleTime?: number
|
|
42
|
+
/**
|
|
43
|
+
* 机器人的欢迎语
|
|
44
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
45
|
+
*/
|
|
46
|
+
WelcomeMessage?: string
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
/**
|
|
@@ -109,6 +114,10 @@ export interface ServerPushText {
|
|
|
109
114
|
* 是否允许该文本打断机器人说话
|
|
110
115
|
*/
|
|
111
116
|
Interrupt?: boolean
|
|
117
|
+
/**
|
|
118
|
+
* 播报完文本后,是否自动关闭对话任务
|
|
119
|
+
*/
|
|
120
|
+
StopAfterPlay?: boolean
|
|
112
121
|
}
|
|
113
122
|
|
|
114
123
|
/**
|
|
@@ -288,7 +297,8 @@ export interface STTConfig {
|
|
|
288
297
|
*/
|
|
289
298
|
Language?: string
|
|
290
299
|
/**
|
|
291
|
-
*
|
|
300
|
+
* 发起模糊识别额外可能替代语言类型,最多填写3种语言类型,
|
|
301
|
+
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
|
292
302
|
|
|
293
303
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
294
304
|
*/
|
|
@@ -1609,7 +1619,7 @@ export interface DescribeAIConversationResponse {
|
|
|
1609
1619
|
*/
|
|
1610
1620
|
Status?: string
|
|
1611
1621
|
/**
|
|
1612
|
-
*
|
|
1622
|
+
* 任务的唯一标识,在启动任务时生成
|
|
1613
1623
|
*/
|
|
1614
1624
|
TaskId?: string
|
|
1615
1625
|
/**
|
|
@@ -1963,6 +1973,21 @@ export interface StartStreamIngestRequest {
|
|
|
1963
1973
|
* 指定视频从某个秒时间戳播放
|
|
1964
1974
|
*/
|
|
1965
1975
|
SeekSecond?: number
|
|
1976
|
+
/**
|
|
1977
|
+
* 开启自动旁路推流,请确认控制台已经开启该功能。
|
|
1978
|
+
*/
|
|
1979
|
+
AutoPush?: boolean
|
|
1980
|
+
/**
|
|
1981
|
+
* 循环播放次数, 取值范围[-1, 1000], 默认1次。
|
|
1982
|
+
- 0 无效值
|
|
1983
|
+
- -1 循环播放, 需要主动调用停止接口或设置MaxDuration
|
|
1984
|
+
|
|
1985
|
+
*/
|
|
1986
|
+
RepeatNum?: number
|
|
1987
|
+
/**
|
|
1988
|
+
* 循环播放最大时长,仅支持RepeatNum设置-1时生效,取值范围[1, 10080],单位分钟。
|
|
1989
|
+
*/
|
|
1990
|
+
MaxDuration?: number
|
|
1966
1991
|
}
|
|
1967
1992
|
|
|
1968
1993
|
/**
|
|
@@ -2630,34 +2655,42 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
|
|
|
2630
2655
|
*/
|
|
2631
2656
|
export interface RecognizeConfig {
|
|
2632
2657
|
/**
|
|
2633
|
-
*
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2658
|
+
* 语音转文字支持识别的语言,默认是"zh" 中文
|
|
2659
|
+
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2660
|
+
可通过购买「语音转文本时长包」解锁或领取包月套餐体验版解锁此功能。
|
|
2661
|
+
|
|
2662
|
+
语音转文本支持语言类型如下:
|
|
2663
|
+
- Chinese = "zh" # 中文
|
|
2664
|
+
- Chinese_TW = "zh-TW" # 中国台湾
|
|
2665
|
+
- English = "en" # 英语
|
|
2666
|
+
- Chinese_YUE = "zh-yue" # 中国粤语
|
|
2667
|
+
- Chinese_DIALECT = "zh-dialect" # 中国方言
|
|
2668
|
+
- English = "en" # 英语
|
|
2669
|
+
- Vietnamese = "vi" # 越南语
|
|
2670
|
+
- Japanese = "ja" # 日语
|
|
2671
|
+
- Korean = "ko" # 汉语
|
|
2672
|
+
- Indonesia = "id" # 印度尼西亚语
|
|
2673
|
+
- Thai = "th" # 泰语
|
|
2674
|
+
- Portuguese = "pt" # 葡萄牙语
|
|
2675
|
+
- Turkish = "tr" # 土耳其语
|
|
2676
|
+
- Arabic = "ar" # 阿拉伯语
|
|
2677
|
+
- Spanish = "es" # 西班牙语
|
|
2678
|
+
- Hindi = "hi" # 印地语
|
|
2679
|
+
- French = "fr" # 法语
|
|
2680
|
+
- Malay = "ms" # 马来语
|
|
2681
|
+
- Filipino = "fil" # 菲律宾语
|
|
2682
|
+
- German = "de" # 德语
|
|
2683
|
+
- Italian = "it" # 意大利语
|
|
2684
|
+
- Russian = "ru" # 俄语
|
|
2654
2685
|
|
|
2655
2686
|
注意:
|
|
2656
2687
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2688
|
+
示例值:zh
|
|
2657
2689
|
*/
|
|
2658
2690
|
Language?: string
|
|
2659
2691
|
/**
|
|
2660
|
-
*
|
|
2692
|
+
* 发起模糊识别额外可能替代语言类型,最多填写3种语言类型。
|
|
2693
|
+
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
|
2661
2694
|
*/
|
|
2662
2695
|
AlternativeLanguage?: Array<string>
|
|
2663
2696
|
/**
|
|
@@ -2667,9 +2700,10 @@ Russian = "ru"
|
|
|
2667
2700
|
Model?: string
|
|
2668
2701
|
/**
|
|
2669
2702
|
* 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
|
|
2703
|
+
注:文本翻译功能需要购买「语音转文本时长包」解锁或领取包月套餐-体验版解。
|
|
2670
2704
|
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2671
2705
|
Chinese = "zh"
|
|
2672
|
-
Chinese_TW = "zh-TW"
|
|
2706
|
+
Chinese_TW = "zh-TW"
|
|
2673
2707
|
English = "en"
|
|
2674
2708
|
Vietnamese = "vi"
|
|
2675
2709
|
Japanese = "ja"
|
|
@@ -2690,6 +2724,7 @@ Russian = "ru"
|
|
|
2690
2724
|
|
|
2691
2725
|
注意:
|
|
2692
2726
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2727
|
+
示例值:en
|
|
2693
2728
|
*/
|
|
2694
2729
|
TranslationLanguage?: string
|
|
2695
2730
|
}
|
|
@@ -2748,7 +2783,7 @@ export interface StartAIConversationRequest {
|
|
|
2748
2783
|
*/
|
|
2749
2784
|
AgentConfig: AgentConfig
|
|
2750
2785
|
/**
|
|
2751
|
-
* 调用方传入的唯一Id
|
|
2786
|
+
* 调用方传入的唯一Id,可用于客户侧防止重复发起任务以及可以通过该字段查询任务状态。
|
|
2752
2787
|
*/
|
|
2753
2788
|
SessionId?: string
|
|
2754
2789
|
/**
|
|
@@ -86,8 +86,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
86
86
|
*/
|
|
87
87
|
DescribeTRTCMarketScaleMetricData(req: DescribeTRTCMarketScaleMetricDataRequest, cb?: (error: string, rep: DescribeTRTCMarketScaleMetricDataResponse) => void): Promise<DescribeTRTCMarketScaleMetricDataResponse>;
|
|
88
88
|
/**
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
* 启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
|
|
90
|
+
|
|
91
|
+
TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
|
|
92
|
+
*/
|
|
91
93
|
StartAIConversation(req: StartAIConversationRequest, cb?: (error: string, rep: StartAIConversationResponse) => void): Promise<StartAIConversationResponse>;
|
|
92
94
|
/**
|
|
93
95
|
* 查询AI对话任务状态。
|
|
@@ -127,8 +127,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
127
127
|
return this.request("DescribeTRTCMarketScaleMetricData", req, cb);
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
* 启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
|
|
131
|
+
|
|
132
|
+
TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
|
|
133
|
+
*/
|
|
132
134
|
async StartAIConversation(req, cb) {
|
|
133
135
|
return this.request("StartAIConversation", req, cb);
|
|
134
136
|
}
|
|
@@ -18,10 +18,15 @@ export interface AgentConfig {
|
|
|
18
18
|
*/
|
|
19
19
|
TargetUserId: string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* 房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。
|
|
22
22
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
23
23
|
*/
|
|
24
24
|
MaxIdleTime?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 机器人的欢迎语
|
|
27
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28
|
+
*/
|
|
29
|
+
WelcomeMessage?: string;
|
|
25
30
|
}
|
|
26
31
|
/**
|
|
27
32
|
* CreatePicture请求参数结构体
|
|
@@ -89,6 +94,10 @@ export interface ServerPushText {
|
|
|
89
94
|
* 是否允许该文本打断机器人说话
|
|
90
95
|
*/
|
|
91
96
|
Interrupt?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* 播报完文本后,是否自动关闭对话任务
|
|
99
|
+
*/
|
|
100
|
+
StopAfterPlay?: boolean;
|
|
92
101
|
}
|
|
93
102
|
/**
|
|
94
103
|
* DescribeTRTCMarketQualityMetricData返回参数结构体
|
|
@@ -262,7 +271,8 @@ export interface STTConfig {
|
|
|
262
271
|
*/
|
|
263
272
|
Language?: string;
|
|
264
273
|
/**
|
|
265
|
-
*
|
|
274
|
+
* 发起模糊识别额外可能替代语言类型,最多填写3种语言类型,
|
|
275
|
+
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
|
266
276
|
|
|
267
277
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
268
278
|
*/
|
|
@@ -1523,7 +1533,7 @@ export interface DescribeAIConversationResponse {
|
|
|
1523
1533
|
*/
|
|
1524
1534
|
Status?: string;
|
|
1525
1535
|
/**
|
|
1526
|
-
*
|
|
1536
|
+
* 任务的唯一标识,在启动任务时生成
|
|
1527
1537
|
*/
|
|
1528
1538
|
TaskId?: string;
|
|
1529
1539
|
/**
|
|
@@ -1865,6 +1875,21 @@ export interface StartStreamIngestRequest {
|
|
|
1865
1875
|
* 指定视频从某个秒时间戳播放
|
|
1866
1876
|
*/
|
|
1867
1877
|
SeekSecond?: number;
|
|
1878
|
+
/**
|
|
1879
|
+
* 开启自动旁路推流,请确认控制台已经开启该功能。
|
|
1880
|
+
*/
|
|
1881
|
+
AutoPush?: boolean;
|
|
1882
|
+
/**
|
|
1883
|
+
* 循环播放次数, 取值范围[-1, 1000], 默认1次。
|
|
1884
|
+
- 0 无效值
|
|
1885
|
+
- -1 循环播放, 需要主动调用停止接口或设置MaxDuration
|
|
1886
|
+
|
|
1887
|
+
*/
|
|
1888
|
+
RepeatNum?: number;
|
|
1889
|
+
/**
|
|
1890
|
+
* 循环播放最大时长,仅支持RepeatNum设置-1时生效,取值范围[1, 10080],单位分钟。
|
|
1891
|
+
*/
|
|
1892
|
+
MaxDuration?: number;
|
|
1868
1893
|
}
|
|
1869
1894
|
/**
|
|
1870
1895
|
* DescribeRecordingUsage返回参数结构体
|
|
@@ -2503,34 +2528,42 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
|
|
|
2503
2528
|
*/
|
|
2504
2529
|
export interface RecognizeConfig {
|
|
2505
2530
|
/**
|
|
2506
|
-
*
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2531
|
+
* 语音转文字支持识别的语言,默认是"zh" 中文
|
|
2532
|
+
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2533
|
+
可通过购买「语音转文本时长包」解锁或领取包月套餐体验版解锁此功能。
|
|
2534
|
+
|
|
2535
|
+
语音转文本支持语言类型如下:
|
|
2536
|
+
- Chinese = "zh" # 中文
|
|
2537
|
+
- Chinese_TW = "zh-TW" # 中国台湾
|
|
2538
|
+
- English = "en" # 英语
|
|
2539
|
+
- Chinese_YUE = "zh-yue" # 中国粤语
|
|
2540
|
+
- Chinese_DIALECT = "zh-dialect" # 中国方言
|
|
2541
|
+
- English = "en" # 英语
|
|
2542
|
+
- Vietnamese = "vi" # 越南语
|
|
2543
|
+
- Japanese = "ja" # 日语
|
|
2544
|
+
- Korean = "ko" # 汉语
|
|
2545
|
+
- Indonesia = "id" # 印度尼西亚语
|
|
2546
|
+
- Thai = "th" # 泰语
|
|
2547
|
+
- Portuguese = "pt" # 葡萄牙语
|
|
2548
|
+
- Turkish = "tr" # 土耳其语
|
|
2549
|
+
- Arabic = "ar" # 阿拉伯语
|
|
2550
|
+
- Spanish = "es" # 西班牙语
|
|
2551
|
+
- Hindi = "hi" # 印地语
|
|
2552
|
+
- French = "fr" # 法语
|
|
2553
|
+
- Malay = "ms" # 马来语
|
|
2554
|
+
- Filipino = "fil" # 菲律宾语
|
|
2555
|
+
- German = "de" # 德语
|
|
2556
|
+
- Italian = "it" # 意大利语
|
|
2557
|
+
- Russian = "ru" # 俄语
|
|
2527
2558
|
|
|
2528
2559
|
注意:
|
|
2529
2560
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2561
|
+
示例值:zh
|
|
2530
2562
|
*/
|
|
2531
2563
|
Language?: string;
|
|
2532
2564
|
/**
|
|
2533
|
-
*
|
|
2565
|
+
* 发起模糊识别额外可能替代语言类型,最多填写3种语言类型。
|
|
2566
|
+
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
|
2534
2567
|
*/
|
|
2535
2568
|
AlternativeLanguage?: Array<string>;
|
|
2536
2569
|
/**
|
|
@@ -2540,6 +2573,7 @@ export interface RecognizeConfig {
|
|
|
2540
2573
|
Model?: string;
|
|
2541
2574
|
/**
|
|
2542
2575
|
* 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
|
|
2576
|
+
注:文本翻译功能需要购买「语音转文本时长包」解锁或领取包月套餐-体验版解。
|
|
2543
2577
|
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2544
2578
|
Chinese = "zh"
|
|
2545
2579
|
Chinese_TW = "zh-TW"
|
|
@@ -2563,6 +2597,7 @@ export interface RecognizeConfig {
|
|
|
2563
2597
|
|
|
2564
2598
|
注意:
|
|
2565
2599
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2600
|
+
示例值:en
|
|
2566
2601
|
*/
|
|
2567
2602
|
TranslationLanguage?: string;
|
|
2568
2603
|
}
|
|
@@ -2618,7 +2653,7 @@ export interface StartAIConversationRequest {
|
|
|
2618
2653
|
*/
|
|
2619
2654
|
AgentConfig: AgentConfig;
|
|
2620
2655
|
/**
|
|
2621
|
-
* 调用方传入的唯一Id
|
|
2656
|
+
* 调用方传入的唯一Id,可用于客户侧防止重复发起任务以及可以通过该字段查询任务状态。
|
|
2622
2657
|
*/
|
|
2623
2658
|
SessionId?: string;
|
|
2624
2659
|
/**
|