tencentcloud-sdk-nodejs-trtc 4.0.912 → 4.0.915

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.0.912",
3
+ "version": "4.0.915",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 |
7
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-05-31 01:07:20 |
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 |
9
- | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-08-01 01:08:13 |
9
+ | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-08-12 01:08:02 |
10
10
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
11
11
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-07-26 01:08:05 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
@@ -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-07-23 01:04:47 |
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 |
@@ -62,7 +62,7 @@
62
62
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
63
63
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
64
64
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
65
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-07-30 01:22:32 |
65
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-08-12 01:23:51 |
66
66
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-07-29 01:23:21 |
67
67
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-06-21 01:24:31 |
68
68
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 |
@@ -72,9 +72,9 @@
72
72
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-08-02 01:20:09 |
73
73
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
74
74
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-08-07 01:23:06 |
75
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-08-07 01:24:12 |
75
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-08-12 01:27:11 |
76
76
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
77
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-08-05 01:24:50 |
77
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-08-09 01:26:13 |
78
78
  | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
79
79
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
80
80
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
@@ -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-07 01:32:36 |
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 |
@@ -96,10 +96,10 @@
96
96
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-07-26 01:38:19 |
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
- | 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-07-22 01:39:08 |
99
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-08-12 01:41:17 |
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-07 01:42:10 |
102
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-09 01:38:33 |
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 |
@@ -114,7 +114,7 @@
114
114
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
115
115
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
116
116
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
117
- | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-08-07 01:45:31 |
117
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-08-09 01:41:34 |
118
118
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
119
119
  | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
120
120
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
@@ -122,10 +122,10 @@
122
122
  | iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2024-06-20 01:46:44 |
123
123
  | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
124
124
  | ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-07-03 01:17:26 |
125
- | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-06-28 01:12:56 |
125
+ | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-08-12 01:48:22 |
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-02 01:42:30 |
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 |
@@ -137,7 +137,7 @@
137
137
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-08-01 01:53:15 |
138
138
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-26 01:52:51 |
139
139
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-30 01:53:06 |
140
- | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-31 01:49:50 |
140
+ | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-08-09 01:52:09 |
141
141
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
142
142
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
143
143
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -159,12 +159,12 @@
159
159
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
160
160
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-08-07 02:04:23 |
161
161
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
162
- | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-02 01:58:09 |
162
+ | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-09 02:00:03 |
163
163
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
164
164
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
165
165
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-07-23 01:55:36 |
166
166
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-06-18 02:05:02 |
167
- | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-07 02:07:54 |
167
+ | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-09 02:01:53 |
168
168
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-08-01 02:05:51 |
169
169
  | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-08-07 02:08:35 |
170
170
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 |
@@ -173,15 +173,15 @@
173
173
  | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-07-12 01:22:59 |
174
174
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-07-03 01:22:38 |
175
175
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-07-15 01:18:34 |
176
- | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-06-07 02:21:50 |
176
+ | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-08-12 02:09:46 |
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-06-20 02:08:58 |
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
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-05 02:02:14 |
182
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-12 02:10:23 |
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-07-05 01:16:31 |
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,13 +196,13 @@
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-06-18 02:13:09 |
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 |
203
203
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2024-06-18 02:13:19 |
204
204
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-07-23 02:04:12 |
205
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-07-30 02:12:20 |
205
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-08-09 02:10:59 |
206
206
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
207
207
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
208
208
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-17 01:25:48 |
@@ -224,11 +224,11 @@
224
224
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-08-02 02:17:43 |
225
225
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
226
226
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
227
- | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-07-05 01:19:38 |
227
+ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-08-08 17:17:39 |
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-06 02:22:34 |
231
- | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-08-02 02:19:29 |
230
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-08-12 02:26:47 |
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 |
@@ -239,13 +239,13 @@
239
239
  | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-07-09 01:25:36 |
240
240
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
241
241
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
242
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-23 11:34:10 |
242
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-08-12 02:30:46 |
243
243
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-07 02:36:08 |
244
244
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-08-07 02:38:54 |
245
245
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-07-31 02:26:05 |
246
- | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-29 02:30:48 |
246
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-08-09 02:30:19 |
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-07 02:40:50 |
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
- * 启动一个任务,机器人将进入TRTC房间,与指定成员进行AI对话
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
@@ -554,7 +556,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
554
556
  "type": "subtitle",
555
557
  "userid": "xxx",
556
558
  "text": "xxx",
557
- "translation_text": "xxx",
558
559
  "start_time": "00:00:02",
559
560
  "end_time": "00:00:05"
560
561
  }`
@@ -562,7 +563,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
562
563
  - type是subtitle,表示这是实时字幕消息。
563
564
  - userid表示是哪个用户说的话。
564
565
  - text是语音识别出的文本。
565
- - translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
566
566
  - start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
567
567
 
568
568
  转录消息具体格式如下:
@@ -570,7 +570,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
570
570
  "type": "transcription",
571
571
  "userid": "xxx",
572
572
  "text": "xxx",
573
- "translation_text": "xx",
574
573
  "start_time": "00:00:02",
575
574
  "end_time": "00:00:05"
576
575
  }`
@@ -35,10 +35,15 @@ export interface AgentConfig {
35
35
  */
36
36
  TargetUserId: string
37
37
  /**
38
- * 房间内推流用户全部退出后超过MaxIdleTime秒,后台自动关闭任务,默认值是60s。
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
- * 额外识别可能替代语言,最多3个, 需高级版支持,Language指定方言时,不允许设置该字段
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,66 +2655,51 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
2630
2655
  */
2631
2656
  export interface RecognizeConfig {
2632
2657
  /**
2633
- * 语音识别支持的语言,默认是"zh"。目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2634
- 中文 Chinese = "zh"
2635
- 中文繁体 Chinese_TW = "zh-TW"
2636
- 中文方言 Chinese_DIALECT = "zh-dialect"
2637
- English = "en"
2638
- Vietnamese = "vi"
2639
- Japanese = "ja"
2640
- Korean = "ko"
2641
- Indonesia = "id"
2642
- Thai = "th"
2643
- Portuguese = "pt"
2644
- Turkish = "tr"
2645
- Arabic = "ar"
2646
- Spanish = "es"
2647
- Hindi = "hi"
2648
- French = "fr"
2649
- Malay = "ms"
2650
- Filipino = "fil"
2651
- German = "de"
2652
- Italian = "it"
2653
- Russian = "ru"
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
  如果缺少满足您需求的语言,请联系我们技术人员。
2657
2688
  */
2658
2689
  Language?: string
2659
2690
  /**
2660
- * 额外的可能替代语言,最多3个,仅高级版支持。Language指定中文方言时,不能设置该字段。
2691
+ * 发起模糊识别额外可能替代语言类型,最多填写3种语言类型。
2692
+ 注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
2661
2693
  */
2662
2694
  AlternativeLanguage?: Array<string>
2663
2695
  /**
2664
- * 使用的模型,目前支持tencent和google,默认是tencent。
2696
+ * 目前已不支持
2665
2697
  * @deprecated
2666
2698
  */
2667
2699
  Model?: string
2668
2700
  /**
2669
- * 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
2670
- 目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2671
- Chinese = "zh"
2672
- Chinese_TW = "zh-TW"
2673
- English = "en"
2674
- Vietnamese = "vi"
2675
- Japanese = "ja"
2676
- Korean = "ko"
2677
- Indonesia = "id"
2678
- Thai = "th"
2679
- Portuguese = "pt"
2680
- Turkish = "tr"
2681
- Arabic = "ar"
2682
- Spanish = "es"
2683
- Hindi = "hi"
2684
- French = "fr"
2685
- Malay = "ms"
2686
- Filipino = "fil"
2687
- German = "de"
2688
- Italian = "it"
2689
- Russian = "ru"
2690
-
2691
- 注意:
2692
- 如果缺少满足您需求的语言,请联系我们技术人员。
2701
+ * 目前已不支持
2702
+ * @deprecated
2693
2703
  */
2694
2704
  TranslationLanguage?: string
2695
2705
  }
@@ -2748,7 +2758,7 @@ export interface StartAIConversationRequest {
2748
2758
  */
2749
2759
  AgentConfig: AgentConfig
2750
2760
  /**
2751
- * 调用方传入的唯一Id,服务端用来去重。
2761
+ * 调用方传入的唯一Id,可用于客户侧防止重复发起任务以及可以通过该字段查询任务状态。
2752
2762
  */
2753
2763
  SessionId?: string
2754
2764
  /**
@@ -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
- * 启动一个任务,机器人将进入TRTC房间,与指定成员进行AI对话
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对话任务状态。
@@ -207,7 +209,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
207
209
  "type": "subtitle",
208
210
  "userid": "xxx",
209
211
  "text": "xxx",
210
- "translation_text": "xxx",
211
212
  "start_time": "00:00:02",
212
213
  "end_time": "00:00:05"
213
214
  }`
@@ -215,7 +216,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
215
216
  - type是subtitle,表示这是实时字幕消息。
216
217
  - userid表示是哪个用户说的话。
217
218
  - text是语音识别出的文本。
218
- - translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
219
219
  - start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
220
220
 
221
221
  转录消息具体格式如下:
@@ -223,7 +223,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
223
223
  "type": "transcription",
224
224
  "userid": "xxx",
225
225
  "text": "xxx",
226
- "translation_text": "xx",
227
226
  "start_time": "00:00:02",
228
227
  "end_time": "00:00:05"
229
228
  }`
@@ -127,8 +127,10 @@ class Client extends TencentCloudCommon.AbstractClient {
127
127
  return this.request("DescribeTRTCMarketScaleMetricData", req, cb);
128
128
  }
129
129
  /**
130
- * 启动一个任务,机器人将进入TRTC房间,与指定成员进行AI对话
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
  }
@@ -276,7 +278,6 @@ class Client extends TencentCloudCommon.AbstractClient {
276
278
  "type": "subtitle",
277
279
  "userid": "xxx",
278
280
  "text": "xxx",
279
- "translation_text": "xxx",
280
281
  "start_time": "00:00:02",
281
282
  "end_time": "00:00:05"
282
283
  }`
@@ -284,7 +285,6 @@ class Client extends TencentCloudCommon.AbstractClient {
284
285
  - type是subtitle,表示这是实时字幕消息。
285
286
  - userid表示是哪个用户说的话。
286
287
  - text是语音识别出的文本。
287
- - translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
288
288
  - start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
289
289
 
290
290
  转录消息具体格式如下:
@@ -292,7 +292,6 @@ class Client extends TencentCloudCommon.AbstractClient {
292
292
  "type": "transcription",
293
293
  "userid": "xxx",
294
294
  "text": "xxx",
295
- "translation_text": "xx",
296
295
  "start_time": "00:00:02",
297
296
  "end_time": "00:00:05"
298
297
  }`
@@ -18,10 +18,15 @@ export interface AgentConfig {
18
18
  */
19
19
  TargetUserId: string;
20
20
  /**
21
- * 房间内推流用户全部退出后超过MaxIdleTime秒,后台自动关闭任务,默认值是60s。
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
- * 额外识别可能替代语言,最多3个, 需高级版支持,Language指定方言时,不允许设置该字段
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,66 +2528,51 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
2503
2528
  */
2504
2529
  export interface RecognizeConfig {
2505
2530
  /**
2506
- * 语音识别支持的语言,默认是"zh"。目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2507
- 中文 Chinese = "zh"
2508
- 中文繁体 Chinese_TW = "zh-TW"
2509
- 中文方言 Chinese_DIALECT = "zh-dialect"
2510
- English = "en"
2511
- Vietnamese = "vi"
2512
- Japanese = "ja"
2513
- Korean = "ko"
2514
- Indonesia = "id"
2515
- Thai = "th"
2516
- Portuguese = "pt"
2517
- Turkish = "tr"
2518
- Arabic = "ar"
2519
- Spanish = "es"
2520
- Hindi = "hi"
2521
- French = "fr"
2522
- Malay = "ms"
2523
- Filipino = "fil"
2524
- German = "de"
2525
- Italian = "it"
2526
- Russian = "ru"
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
  如果缺少满足您需求的语言,请联系我们技术人员。
2530
2561
  */
2531
2562
  Language?: string;
2532
2563
  /**
2533
- * 额外的可能替代语言,最多3个,仅高级版支持。Language指定中文方言时,不能设置该字段。
2564
+ * 发起模糊识别额外可能替代语言类型,最多填写3种语言类型。
2565
+ 注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
2534
2566
  */
2535
2567
  AlternativeLanguage?: Array<string>;
2536
2568
  /**
2537
- * 使用的模型,目前支持tencent和google,默认是tencent。
2569
+ * 目前已不支持
2538
2570
  * @deprecated
2539
2571
  */
2540
2572
  Model?: string;
2541
2573
  /**
2542
- * 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
2543
- 目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2544
- Chinese = "zh"
2545
- Chinese_TW = "zh-TW"
2546
- English = "en"
2547
- Vietnamese = "vi"
2548
- Japanese = "ja"
2549
- Korean = "ko"
2550
- Indonesia = "id"
2551
- Thai = "th"
2552
- Portuguese = "pt"
2553
- Turkish = "tr"
2554
- Arabic = "ar"
2555
- Spanish = "es"
2556
- Hindi = "hi"
2557
- French = "fr"
2558
- Malay = "ms"
2559
- Filipino = "fil"
2560
- German = "de"
2561
- Italian = "it"
2562
- Russian = "ru"
2563
-
2564
- 注意:
2565
- 如果缺少满足您需求的语言,请联系我们技术人员。
2574
+ * 目前已不支持
2575
+ * @deprecated
2566
2576
  */
2567
2577
  TranslationLanguage?: string;
2568
2578
  }
@@ -2618,7 +2628,7 @@ export interface StartAIConversationRequest {
2618
2628
  */
2619
2629
  AgentConfig: AgentConfig;
2620
2630
  /**
2621
- * 调用方传入的唯一Id,服务端用来去重。
2631
+ * 调用方传入的唯一Id,可用于客户侧防止重复发起任务以及可以通过该字段查询任务状态。
2622
2632
  */
2623
2633
  SessionId?: string;
2624
2634
  /**