tencentcloud-sdk-nodejs-trtc 4.0.911 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-trtc",
3
- "version": "4.0.911",
3
+ "version": "4.0.913",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
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-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 |
@@ -71,18 +71,18 @@
71
71
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
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
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-07-22 01:24:41 |
75
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-30 01:25:44 |
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 |
76
76
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
77
77
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-08-05 01:24:50 |
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 |
81
- | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-07-25 01:31:31 |
81
+ | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-08-07 01:30:42 |
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-07-31 01:28:29 |
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-07-22 01:39:08 |
101
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-06 01:40:35 |
102
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-02 01:37:11 |
100
+ | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-08-08 01:41:08 |
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-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 |
@@ -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-02 01:40:08 |
117
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-08-07 01:45:31 |
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 |
@@ -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-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 |
@@ -157,16 +157,16 @@
157
157
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
158
158
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
159
159
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
160
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-29 02:00:34 |
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
162
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-02 01:58:09 |
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-06-20 02:06:03 |
167
+ | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-07 02:07:54 |
168
168
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-08-01 02:05:51 |
169
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-08-06 02:04:25 |
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 |
171
171
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
172
172
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
@@ -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-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
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-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 |
@@ -195,8 +195,8 @@
195
195
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
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
- | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-06-04 02:12:41 |
199
- | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2024-06-18 02:13:09 |
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-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 |
@@ -206,7 +206,7 @@
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 |
209
- | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
209
+ | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-08-07 02:22:38 |
210
210
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 |
211
211
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-07-03 19:33:55 |
212
212
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-07-24 02:16:49 |
@@ -227,12 +227,12 @@
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-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-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 |
235
- | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-07-08 01:25:23 |
235
+ | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-08-07 02:33:08 |
236
236
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
237
237
  | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 |
238
238
  | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-31 02:21:05 |
@@ -240,12 +240,12 @@
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
242
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-23 11:34:10 |
243
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-06 02:28:26 |
244
- | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
243
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-07 02:36:08 |
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
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-07-25 02:32:09 |
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
@@ -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,34 +2655,42 @@ 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
  如果缺少满足您需求的语言,请联系我们技术人员。
2688
+ 示例值:zh
2657
2689
  */
2658
2690
  Language?: string
2659
2691
  /**
2660
- * 额外的可能替代语言,最多3个,仅高级版支持。Language指定中文方言时,不能设置该字段。
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
- * 启动一个任务,机器人将进入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对话任务状态。
@@ -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
  }
@@ -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,34 +2528,42 @@ 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
  如果缺少满足您需求的语言,请联系我们技术人员。
2561
+ 示例值:zh
2530
2562
  */
2531
2563
  Language?: string;
2532
2564
  /**
2533
- * 额外的可能替代语言,最多3个,仅高级版支持。Language指定中文方言时,不能设置该字段。
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
  /**