tencentcloud-sdk-nodejs-trtc 4.0.865 → 4.0.868

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.865",
3
+ "version": "4.0.868",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -4,13 +4,13 @@
4
4
  | aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
5
5
  | acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2024-03-20 01:07:29 |
6
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 |
7
- | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-03-20 01:07:31 |
8
- | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-04-22 01:07:18 |
7
+ | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-05-31 01:07:20 |
8
+ | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 |
9
9
  | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-05-11 14:22:26 |
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-04-22 01:07:21 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
13
- | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-05-14 01:08:57 |
13
+ | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-06-04 01:07:52 |
14
14
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
15
15
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
16
16
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
@@ -22,7 +22,7 @@
22
22
  | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-05-22 01:10:06 |
24
24
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-03-20 01:08:23 |
25
- | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-05-17 01:07:50 |
25
+ | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-05-31 01:10:46 |
26
26
  | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-05-13 01:09:20 |
27
27
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
28
28
  | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 |
@@ -40,7 +40,7 @@
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-05-28 01:14:36 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-03-21 01:09:20 |
42
42
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-05-28 01:15:06 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-05-14 01:20:49 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-06-04 01:16:12 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-05-21 01:17:01 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-04-22 01:10:25 |
@@ -49,7 +49,7 @@
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
50
50
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-04-10 01:10:22 |
51
51
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-04-26 01:10:32 |
52
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-05-17 01:17:27 |
52
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-05-31 01:19:08 |
53
53
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
54
54
  | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-03-20 01:10:58 |
55
55
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
@@ -73,16 +73,16 @@
73
73
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-05-16 01:28:30 |
74
74
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
75
75
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-05-27 01:28:43 |
76
- | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-05-29 01:29:52 |
76
+ | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-05-31 01:30:02 |
77
77
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
78
78
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
79
79
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-05-27 01:30:50 |
80
80
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-03-20 01:14:24 |
81
81
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-03-20 01:14:27 |
82
82
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-04-26 01:13:59 |
83
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-05-27 01:32:23 |
83
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-05-31 01:32:25 |
84
84
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-05-30 01:33:24 |
85
- | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-05-28 01:34:04 |
85
+ | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-06-04 01:35:42 |
86
86
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-04-22 01:15:04 |
87
87
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
88
88
  | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-05-27 01:34:38 |
@@ -96,10 +96,10 @@
96
96
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
97
97
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-05-17 01:39:38 |
98
98
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-05-14 01:51:30 |
99
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-05-30 01:39:34 |
100
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-05-30 01:40:27 |
101
- | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-04-18 01:20:43 |
102
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-05-30 01:41:19 |
99
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-06-04 01:41:39 |
100
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-05-31 01:40:33 |
101
+ | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-05-31 01:41:22 |
102
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-04 01:43:35 |
103
103
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-05-09 01:15:52 |
104
104
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
105
105
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-04-17 01:14:36 |
@@ -123,7 +123,7 @@
123
123
  | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-04-03 11:20:41 |
124
124
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
125
125
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-03-20 01:18:04 |
126
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-05-30 01:45:30 |
126
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-06-03 01:47:39 |
127
127
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
128
128
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-05-14 02:02:07 |
129
129
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
@@ -133,9 +133,9 @@
133
133
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
134
134
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
135
135
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-04-26 01:18:49 |
136
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-05-30 01:51:13 |
136
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-06-04 01:54:03 |
137
137
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-05-29 01:52:02 |
138
- | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-05-24 01:53:20 |
138
+ | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-05-31 01:53:17 |
139
139
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
140
140
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
141
141
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -146,15 +146,15 @@
146
146
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-03-20 01:20:23 |
147
147
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-05-28 01:54:57 |
148
148
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-04-18 01:24:29 |
149
- | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-05-30 01:55:28 |
150
- | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-05-29 01:56:55 |
149
+ | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-05-31 01:55:32 |
150
+ | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-05-31 01:56:55 |
151
151
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-05-13 01:23:45 |
152
152
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-05-20 01:58:10 |
153
153
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
154
154
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
155
155
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
156
156
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
157
- | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-04-19 01:23:09 |
157
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-05-31 01:58:53 |
158
158
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-05-28 01:59:27 |
159
159
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-04-22 01:22:30 |
160
160
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-05-08 01:23:38 |
@@ -164,7 +164,7 @@
164
164
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-03-20 01:22:42 |
165
165
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-04-19 01:24:07 |
166
166
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-05-20 02:02:25 |
167
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-05-30 02:02:41 |
167
+ | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-06-03 02:05:36 |
168
168
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 |
169
169
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
170
170
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
@@ -193,16 +193,16 @@
193
193
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
194
194
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2024-03-20 01:24:24 |
195
195
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2024-03-20 01:24:25 |
196
- | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-05-30 02:08:52 |
196
+ | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-06-04 02:12:41 |
197
197
  | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2024-04-22 01:25:05 |
198
198
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
199
199
  | tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2024-03-20 01:24:49 |
200
200
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
201
201
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2024-03-20 01:24:49 |
202
- | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-03-20 01:24:52 |
203
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-05-17 02:16:33 |
202
+ | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-06-04 02:13:52 |
203
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-05-31 02:10:49 |
204
204
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-03-20 01:25:48 |
205
- | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-04-25 01:24:56 |
205
+ | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
206
206
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-05-29 02:13:49 |
207
207
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
208
208
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-03-20 01:26:14 |
@@ -222,25 +222,26 @@
222
222
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-05-28 02:20:13 |
223
223
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
224
224
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
225
- | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-05-29 02:20:10 |
225
+ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-06-03 02:23:52 |
226
226
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-05-30 02:20:31 |
227
- | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-05-30 02:21:01 |
228
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-05-29 02:21:14 |
229
- | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-05-15 01:35:13 |
230
- | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-05-23 02:22:11 |
227
+ | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-03 02:24:47 |
228
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-03 02:25:00 |
229
+ | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-06-04 02:26:13 |
230
+ | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-06-04 02:27:15 |
231
231
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
232
232
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-04-24 01:23:54 |
233
233
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
234
234
  | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-05-16 16:26:14 |
235
+ | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-06-03 15:48:04 |
235
236
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-03-20 01:30:12 |
236
237
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
237
238
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-05-17 02:33:00 |
238
239
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-05-10 02:45:29 |
239
240
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
240
241
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-05-16 16:17:26 |
241
- | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-05-08 19:38:01 |
242
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-06-04 02:34:05 |
242
243
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
243
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-05-29 02:30:31 |
244
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-06-04 02:35:39 |
244
245
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
245
246
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
246
247
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-03-20 01:33:11 |
@@ -588,8 +588,51 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
588
588
  }
589
589
 
590
590
  /**
591
- * 这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
592
- */
591
+ * 这个接口调用后,后台会启动转录机器人,实时进行语音识别并下发字幕和转录消息。
592
+ 转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:
593
+ - 拉取全房间的流。
594
+ - 拉取特定用户的流。
595
+
596
+ 服务端实时下发字幕和会议记录有两种方式,通过IMAdminUserId和IMAdminUserSig字段控制:
597
+ - 如果填写IMAdminUserId和IMAdminUserSig,服务端会调用IM的[发送群组消息](https://cloud.tencent.com/document/product/269/1629)API来向端上实时下发消息。客户端只需监听群组消息的回调即可,比如[web端回调](https://cloud.tencent.com/document/product/269/75319)。
598
+ - 如果不填写IMAdminUserId和IMAdminUserSig,服务端使用TRTC自定义消息通道下发消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。
599
+
600
+ 服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:
601
+ `{
602
+ "type": "subtitle",
603
+ "userid": "xxx",
604
+ "text": "xxx",
605
+ "translation_text": "xxx",
606
+ "start_time": "00:00:02",
607
+ "end_time": "00:00:05"
608
+ }`
609
+ 字段作用如下:
610
+ - type是subtitle,表示这是实时字幕消息。
611
+ - userid表示是哪个用户说的话。
612
+ - text是语音识别出的文本。
613
+ - translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
614
+ - start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
615
+
616
+ 转录消息具体格式如下:
617
+ `{
618
+ "type": "transcription",
619
+ "userid": "xxx",
620
+ "text": "xxx",
621
+ "translation_text": "xx",
622
+ "start_time": "00:00:02",
623
+ "end_time": "00:00:05"
624
+ }`
625
+ 字段作用如下:
626
+ - type是transcription,表示这是转录消息。
627
+ - 其余字段同实时字幕消息。
628
+
629
+ 转录消息和实时字幕消息的区别是,转录消息是完整的一句话,实时字幕消息则是这一句话的中间阶段。
630
+ 假如有一句完整的话,“今天天气怎么样?”,那么服务的下发消息的顺序可能是这样:
631
+ - 字幕消息,“今天”
632
+ - 字幕消息,“今天天气”
633
+ - 字幕消息,“今天天气怎么样”
634
+ - 转录消息,“今天天气怎么样?”
635
+ */
593
636
  async StartAITranscription(
594
637
  req: StartAITranscriptionRequest,
595
638
  cb?: (error: string, rep: StartAITranscriptionResponse) => void
@@ -716,7 +759,7 @@ peakCurrentUsers:峰值同时在线人数。
716
759
  }
717
760
 
718
761
  /**
719
- * 对转录的文本进行总结
762
+ * 对转录的文本进行总结。
720
763
  */
721
764
  async SummarizeTranscription(
722
765
  req?: SummarizeTranscriptionRequest,
@@ -840,7 +883,7 @@ peakCurrentUsers:峰值同时在线人数。
840
883
  }
841
884
 
842
885
  /**
843
- * 查询AI转录状态
886
+ * 查询AI转录任务状态。
844
887
  */
845
888
  async DescribeAITranscription(
846
889
  req: DescribeAITranscriptionRequest,
@@ -914,7 +957,7 @@ networkDelay :网络延迟率。
914
957
  }
915
958
 
916
959
  /**
917
- * 停止AI转录
960
+ * 停止AI转录任务。
918
961
  */
919
962
  async StopAITranscription(
920
963
  req: StopAITranscriptionRequest,
@@ -1427,9 +1427,20 @@ export interface DescribeTRTCRealTimeQualityMetricDataRequest {
1427
1427
  */
1428
1428
  export interface DescribeAITranscriptionRequest {
1429
1429
  /**
1430
- * 唯一标识AI转录任务。
1430
+ * 查询任务状态,不使用时传入空字符串。
1431
+ 有两种查询方式:
1432
+ 1、只填写TaskId,这种方式使用TaskId来查询任务
1433
+ 2、TaskId为空字符串,填写SdkAppId和SessionId,这种方式不需要使用TaskId查询任务
1431
1434
  */
1432
1435
  TaskId: string
1436
+ /**
1437
+ * TRTC的SdkAppId,和SessionId配合使用。
1438
+ */
1439
+ SdkAppId?: number
1440
+ /**
1441
+ * 开启转录任务时传入的SessionId,和SdkAppId配合使用。
1442
+ */
1443
+ SessionId?: string
1433
1444
  }
1434
1445
 
1435
1446
  /**
@@ -2462,25 +2473,82 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
2462
2473
  */
2463
2474
  export interface RecognizeConfig {
2464
2475
  /**
2465
- * 支持的语言,目前支持语言如下:
2466
- Chinese = "zh"
2467
- Chinese_TW = "zh-TW"
2468
- English = "en"
2469
- Vietnamese = "vi"
2470
- Japanese = "ja"
2471
- Korean = "ko"
2472
- Indonesia = "id"
2473
- Thai = "th"
2474
- Portuguese = "pt"
2475
- Turkish = "tr"
2476
- Arabic = "ar"
2477
- Spanish = "es"
2478
- Hindi = "hi"
2479
- French = "fr"
2476
+ * 语音识别支持的语言,默认是"zh"。目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2477
+ Chinese = "zh"
2478
+ Chinese_TW = "zh-TW"
2479
+ English = "en"
2480
+ Vietnamese = "vi"
2481
+ Japanese = "ja"
2482
+ Korean = "ko"
2483
+ Indonesia = "id"
2484
+ Thai = "th"
2485
+ Portuguese = "pt"
2486
+ Turkish = "tr"
2487
+ Arabic = "ar"
2488
+ Spanish = "es"
2489
+ Hindi = "hi"
2490
+ French = "fr"
2491
+ Malay = "ms"
2492
+ Filipino = "fil"
2493
+ German = "de"
2494
+ Italian = "it"
2495
+ Russian = "ru"
2496
+
2497
+ 注意:
2498
+ 如果缺少满足您需求的语言,请联系我们技术人员。
2499
+ tencent asr不支持"it"和"ru",google asr全都支持。
2480
2500
  */
2481
2501
  Language?: string
2482
2502
  /**
2483
- * 选填,如果填写,则会启用翻译,不填则忽略。支持语言同Language字段。
2503
+ * 使用的模型,目前支持tencent和google,默认是tencent。
2504
+ */
2505
+ Model?: string
2506
+ /**
2507
+ * 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
2508
+ 目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2509
+ Chinese = "zh"
2510
+ Chinese_TW = "zh-TW"
2511
+ English = "en"
2512
+ Vietnamese = "vi"
2513
+ Japanese = "ja"
2514
+ Korean = "ko"
2515
+ Indonesia = "id"
2516
+ Thai = "th"
2517
+ Portuguese = "pt"
2518
+ Turkish = "tr"
2519
+ Arabic = "ar"
2520
+ Spanish = "es"
2521
+ Hindi = "hi"
2522
+ French = "fr"
2523
+ Malay = "ms"
2524
+ Filipino = "fil"
2525
+ German = "de"
2526
+ Italian = "it"
2527
+ Russian = "ru"
2528
+
2529
+ 注意:
2530
+ 如果缺少满足您需求的语言,请联系我们技术人员。
2531
+ google支持上述语言两两之间翻译,tencent只支持部分语言之间翻译。
2532
+
2533
+ tencnet目标语言,各源语言的目标语言支持列表如下,冒号左侧是目标语言,右侧是源语言:
2534
+ - zh(简体中文):zh-TW(繁体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
2535
+ - zh-TW(繁体中文):zh(简体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
2536
+ - en(英语):zh(中文)、zh-TW(繁体中文)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)、hi(印地语)
2537
+ - ja(日语):zh(中文)、zh-TW(繁体中文)、en(英语)、ko(韩语)
2538
+ - ko(韩语):zh(中文)、zh-TW(繁体中文)、en(英语)、ja(日语)
2539
+ - fr(法语):zh(中文)、zh-TW(繁体中文)、en(英语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2540
+ - es(西班牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2541
+ - it(意大利语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2542
+ - de(德语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2543
+ - tr(土耳其语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、ru(俄语)、pt(葡萄牙语)
2544
+ - ru(俄语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、pt(葡萄牙语)
2545
+ - pt(葡萄牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)
2546
+ - vi(越南语):zh(中文)、zh-TW(繁体中文)、en(英语)
2547
+ - id(印尼语):zh(中文)、zh-TW(繁体中文)、en(英语)
2548
+ - th(泰语):zh(中文)、zh-TW(繁体中文)、en(英语)
2549
+ - ms(马来语):zh(中文)、zh-TW(繁体中文)、en(英语)
2550
+ - ar(阿拉伯语):en(英语)
2551
+ - hi(印地语):en(英语)
2484
2552
  */
2485
2553
  TranslationLanguage?: string
2486
2554
  }
@@ -2985,23 +3053,32 @@ Exited:表示当前录制任务正在退出的过程中。
2985
3053
  */
2986
3054
  export interface StartAITranscriptionRequest {
2987
3055
  /**
2988
- * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),使用该sdkappid开启任务。
3056
+ * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和开启转录任务的房间使用的SdkAppId相同。
2989
3057
  */
2990
3058
  SdkAppId: number
2991
3059
  /**
2992
- * TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),使用该roomid开启任务。
3060
+ * TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),表示开启转录任务的房间号。
2993
3061
  */
2994
3062
  RoomId: string
2995
3063
  /**
2996
- * 启动转录机器人和鉴权的参数。
3064
+ * 转录机器人的参数。
2997
3065
  */
2998
3066
  TranscriptionParams: TranscriptionParams
3067
+ /**
3068
+ * 调用方传入的唯一Id,服务端用来去重。
3069
+ 注意:
3070
+ 如果传入该参数,服务端优先使用该参数来去重。
3071
+ 如果不传该参数,服务端的去重策略如下:
3072
+ - 如果TranscriptionMode字段是0,则一个房间只能开启一个任务
3073
+ - 如果TranscriptionMode字段是1,则一个TargetUserId只能开启一个任务
3074
+ */
3075
+ SessionId?: string
2999
3076
  /**
3000
3077
  * TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
3001
3078
  */
3002
3079
  RoomIdType?: number
3003
3080
  /**
3004
- * 语音识别配置
3081
+ * 语音识别配置。
3005
3082
  */
3006
3083
  RecognizeConfig?: RecognizeConfig
3007
3084
  }
@@ -3663,13 +3740,26 @@ export interface PublishCdnParams {
3663
3740
  */
3664
3741
  export interface DescribeAITranscriptionResponse {
3665
3742
  /**
3666
- * 起始时间。
3743
+ * 任务开始时间。
3667
3744
  */
3668
3745
  StartTime?: string
3669
3746
  /**
3670
3747
  * 转录任务状态。
3748
+ 有4个值:
3749
+ 1、Idle表示任务未开始
3750
+ 2、Preparing表示任务准备中
3751
+ 3、InProgress表示任务正在运行
3752
+ 4、Stopped表示任务已停止,正在清理资源中
3671
3753
  */
3672
3754
  Status?: string
3755
+ /**
3756
+ * 唯一标识一次任务。
3757
+ */
3758
+ TaskId?: string
3759
+ /**
3760
+ * 开启转录任务时填写的SessionId,如果没写则不返回。
3761
+ */
3762
+ SessionId?: string
3673
3763
  /**
3674
3764
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3675
3765
  */
@@ -270,8 +270,51 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
270
270
  */
271
271
  StartMCUMixTranscode(req: StartMCUMixTranscodeRequest, cb?: (error: string, rep: StartMCUMixTranscodeResponse) => void): Promise<StartMCUMixTranscodeResponse>;
272
272
  /**
273
- * 这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
274
- */
273
+ * 这个接口调用后,后台会启动转录机器人,实时进行语音识别并下发字幕和转录消息。
274
+ 转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:
275
+ - 拉取全房间的流。
276
+ - 拉取特定用户的流。
277
+
278
+ 服务端实时下发字幕和会议记录有两种方式,通过IMAdminUserId和IMAdminUserSig字段控制:
279
+ - 如果填写IMAdminUserId和IMAdminUserSig,服务端会调用IM的[发送群组消息](https://cloud.tencent.com/document/product/269/1629)API来向端上实时下发消息。客户端只需监听群组消息的回调即可,比如[web端回调](https://cloud.tencent.com/document/product/269/75319)。
280
+ - 如果不填写IMAdminUserId和IMAdminUserSig,服务端使用TRTC自定义消息通道下发消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。
281
+
282
+ 服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:
283
+ `{
284
+ "type": "subtitle",
285
+ "userid": "xxx",
286
+ "text": "xxx",
287
+ "translation_text": "xxx",
288
+ "start_time": "00:00:02",
289
+ "end_time": "00:00:05"
290
+ }`
291
+ 字段作用如下:
292
+ - type是subtitle,表示这是实时字幕消息。
293
+ - userid表示是哪个用户说的话。
294
+ - text是语音识别出的文本。
295
+ - translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
296
+ - start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
297
+
298
+ 转录消息具体格式如下:
299
+ `{
300
+ "type": "transcription",
301
+ "userid": "xxx",
302
+ "text": "xxx",
303
+ "translation_text": "xx",
304
+ "start_time": "00:00:02",
305
+ "end_time": "00:00:05"
306
+ }`
307
+ 字段作用如下:
308
+ - type是transcription,表示这是转录消息。
309
+ - 其余字段同实时字幕消息。
310
+
311
+ 转录消息和实时字幕消息的区别是,转录消息是完整的一句话,实时字幕消息则是这一句话的中间阶段。
312
+ 假如有一句完整的话,“今天天气怎么样?”,那么服务的下发消息的顺序可能是这样:
313
+ - 字幕消息,“今天”
314
+ - 字幕消息,“今天天气”
315
+ - 字幕消息,“今天天气怎么样”
316
+ - 转录消息,“今天天气怎么样?”
317
+ */
275
318
  StartAITranscription(req: StartAITranscriptionRequest, cb?: (error: string, rep: StartAITranscriptionResponse) => void): Promise<StartAITranscriptionResponse>;
276
319
  /**
277
320
  * 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
@@ -338,7 +381,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
338
381
  */
339
382
  StopMCUMixTranscodeByStrRoomId(req: StopMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StopMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StopMCUMixTranscodeByStrRoomIdResponse>;
340
383
  /**
341
- * 对转录的文本进行总结
384
+ * 对转录的文本进行总结。
342
385
  */
343
386
  SummarizeTranscription(req?: SummarizeTranscriptionRequest, cb?: (error: string, rep: SummarizeTranscriptionResponse) => void): Promise<SummarizeTranscriptionResponse>;
344
387
  /**
@@ -402,7 +445,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
402
445
  */
403
446
  ModifyPicture(req: ModifyPictureRequest, cb?: (error: string, rep: ModifyPictureResponse) => void): Promise<ModifyPictureResponse>;
404
447
  /**
405
- * 查询AI转录状态
448
+ * 查询AI转录任务状态。
406
449
  */
407
450
  DescribeAITranscription(req: DescribeAITranscriptionRequest, cb?: (error: string, rep: DescribeAITranscriptionResponse) => void): Promise<DescribeAITranscriptionResponse>;
408
451
  /**
@@ -440,7 +483,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
440
483
  */
441
484
  DescribeTRTCMarketQualityData(req: DescribeTRTCMarketQualityDataRequest, cb?: (error: string, rep: DescribeTRTCMarketQualityDataResponse) => void): Promise<DescribeTRTCMarketQualityDataResponse>;
442
485
  /**
443
- * 停止AI转录
486
+ * 停止AI转录任务。
444
487
  */
445
488
  StopAITranscription(req: StopAITranscriptionRequest, cb?: (error: string, rep: StopAITranscriptionResponse) => void): Promise<StopAITranscriptionResponse>;
446
489
  /**
@@ -333,8 +333,51 @@ class Client extends TencentCloudCommon.AbstractClient {
333
333
  return this.request("StartMCUMixTranscode", req, cb);
334
334
  }
335
335
  /**
336
- * 这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
337
- */
336
+ * 这个接口调用后,后台会启动转录机器人,实时进行语音识别并下发字幕和转录消息。
337
+ 转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:
338
+ - 拉取全房间的流。
339
+ - 拉取特定用户的流。
340
+
341
+ 服务端实时下发字幕和会议记录有两种方式,通过IMAdminUserId和IMAdminUserSig字段控制:
342
+ - 如果填写IMAdminUserId和IMAdminUserSig,服务端会调用IM的[发送群组消息](https://cloud.tencent.com/document/product/269/1629)API来向端上实时下发消息。客户端只需监听群组消息的回调即可,比如[web端回调](https://cloud.tencent.com/document/product/269/75319)。
343
+ - 如果不填写IMAdminUserId和IMAdminUserSig,服务端使用TRTC自定义消息通道下发消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。
344
+
345
+ 服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:
346
+ `{
347
+ "type": "subtitle",
348
+ "userid": "xxx",
349
+ "text": "xxx",
350
+ "translation_text": "xxx",
351
+ "start_time": "00:00:02",
352
+ "end_time": "00:00:05"
353
+ }`
354
+ 字段作用如下:
355
+ - type是subtitle,表示这是实时字幕消息。
356
+ - userid表示是哪个用户说的话。
357
+ - text是语音识别出的文本。
358
+ - translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
359
+ - start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
360
+
361
+ 转录消息具体格式如下:
362
+ `{
363
+ "type": "transcription",
364
+ "userid": "xxx",
365
+ "text": "xxx",
366
+ "translation_text": "xx",
367
+ "start_time": "00:00:02",
368
+ "end_time": "00:00:05"
369
+ }`
370
+ 字段作用如下:
371
+ - type是transcription,表示这是转录消息。
372
+ - 其余字段同实时字幕消息。
373
+
374
+ 转录消息和实时字幕消息的区别是,转录消息是完整的一句话,实时字幕消息则是这一句话的中间阶段。
375
+ 假如有一句完整的话,“今天天气怎么样?”,那么服务的下发消息的顺序可能是这样:
376
+ - 字幕消息,“今天”
377
+ - 字幕消息,“今天天气”
378
+ - 字幕消息,“今天天气怎么样”
379
+ - 转录消息,“今天天气怎么样?”
380
+ */
338
381
  async StartAITranscription(req, cb) {
339
382
  return this.request("StartAITranscription", req, cb);
340
383
  }
@@ -421,7 +464,7 @@ class Client extends TencentCloudCommon.AbstractClient {
421
464
  return this.request("StopMCUMixTranscodeByStrRoomId", req, cb);
422
465
  }
423
466
  /**
424
- * 对转录的文本进行总结
467
+ * 对转录的文本进行总结。
425
468
  */
426
469
  async SummarizeTranscription(req, cb) {
427
470
  return this.request("SummarizeTranscription", req, cb);
@@ -505,7 +548,7 @@ class Client extends TencentCloudCommon.AbstractClient {
505
548
  return this.request("ModifyPicture", req, cb);
506
549
  }
507
550
  /**
508
- * 查询AI转录状态
551
+ * 查询AI转录任务状态。
509
552
  */
510
553
  async DescribeAITranscription(req, cb) {
511
554
  return this.request("DescribeAITranscription", req, cb);
@@ -555,7 +598,7 @@ class Client extends TencentCloudCommon.AbstractClient {
555
598
  return this.request("DescribeTRTCMarketQualityData", req, cb);
556
599
  }
557
600
  /**
558
- * 停止AI转录
601
+ * 停止AI转录任务。
559
602
  */
560
603
  async StopAITranscription(req, cb) {
561
604
  return this.request("StopAITranscription", req, cb);
@@ -1348,9 +1348,20 @@ export interface DescribeTRTCRealTimeQualityMetricDataRequest {
1348
1348
  */
1349
1349
  export interface DescribeAITranscriptionRequest {
1350
1350
  /**
1351
- * 唯一标识AI转录任务。
1351
+ * 查询任务状态,不使用时传入空字符串。
1352
+ 有两种查询方式:
1353
+ 1、只填写TaskId,这种方式使用TaskId来查询任务
1354
+ 2、TaskId为空字符串,填写SdkAppId和SessionId,这种方式不需要使用TaskId查询任务
1352
1355
  */
1353
1356
  TaskId: string;
1357
+ /**
1358
+ * TRTC的SdkAppId,和SessionId配合使用。
1359
+ */
1360
+ SdkAppId?: number;
1361
+ /**
1362
+ * 开启转录任务时传入的SessionId,和SdkAppId配合使用。
1363
+ */
1364
+ SessionId?: string;
1354
1365
  }
1355
1366
  /**
1356
1367
  * 查询旁路转码计费时长。
@@ -2341,25 +2352,82 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
2341
2352
  */
2342
2353
  export interface RecognizeConfig {
2343
2354
  /**
2344
- * 支持的语言,目前支持语言如下:
2345
- Chinese = "zh"
2346
- Chinese_TW = "zh-TW"
2347
- English = "en"
2348
- Vietnamese = "vi"
2349
- Japanese = "ja"
2350
- Korean = "ko"
2351
- Indonesia = "id"
2352
- Thai = "th"
2353
- Portuguese = "pt"
2354
- Turkish = "tr"
2355
- Arabic = "ar"
2356
- Spanish = "es"
2357
- Hindi = "hi"
2358
- French = "fr"
2355
+ * 语音识别支持的语言,默认是"zh"。目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2356
+ Chinese = "zh"
2357
+ Chinese_TW = "zh-TW"
2358
+ English = "en"
2359
+ Vietnamese = "vi"
2360
+ Japanese = "ja"
2361
+ Korean = "ko"
2362
+ Indonesia = "id"
2363
+ Thai = "th"
2364
+ Portuguese = "pt"
2365
+ Turkish = "tr"
2366
+ Arabic = "ar"
2367
+ Spanish = "es"
2368
+ Hindi = "hi"
2369
+ French = "fr"
2370
+ Malay = "ms"
2371
+ Filipino = "fil"
2372
+ German = "de"
2373
+ Italian = "it"
2374
+ Russian = "ru"
2375
+
2376
+ 注意:
2377
+ 如果缺少满足您需求的语言,请联系我们技术人员。
2378
+ tencent asr不支持"it"和"ru",google asr全都支持。
2359
2379
  */
2360
2380
  Language?: string;
2361
2381
  /**
2362
- * 选填,如果填写,则会启用翻译,不填则忽略。支持语言同Language字段。
2382
+ * 使用的模型,目前支持tencent和google,默认是tencent。
2383
+ */
2384
+ Model?: string;
2385
+ /**
2386
+ * 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
2387
+ 目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2388
+ Chinese = "zh"
2389
+ Chinese_TW = "zh-TW"
2390
+ English = "en"
2391
+ Vietnamese = "vi"
2392
+ Japanese = "ja"
2393
+ Korean = "ko"
2394
+ Indonesia = "id"
2395
+ Thai = "th"
2396
+ Portuguese = "pt"
2397
+ Turkish = "tr"
2398
+ Arabic = "ar"
2399
+ Spanish = "es"
2400
+ Hindi = "hi"
2401
+ French = "fr"
2402
+ Malay = "ms"
2403
+ Filipino = "fil"
2404
+ German = "de"
2405
+ Italian = "it"
2406
+ Russian = "ru"
2407
+
2408
+ 注意:
2409
+ 如果缺少满足您需求的语言,请联系我们技术人员。
2410
+ google支持上述语言两两之间翻译,tencent只支持部分语言之间翻译。
2411
+
2412
+ tencnet目标语言,各源语言的目标语言支持列表如下,冒号左侧是目标语言,右侧是源语言:
2413
+ - zh(简体中文):zh-TW(繁体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
2414
+ - zh-TW(繁体中文):zh(简体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
2415
+ - en(英语):zh(中文)、zh-TW(繁体中文)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)、hi(印地语)
2416
+ - ja(日语):zh(中文)、zh-TW(繁体中文)、en(英语)、ko(韩语)
2417
+ - ko(韩语):zh(中文)、zh-TW(繁体中文)、en(英语)、ja(日语)
2418
+ - fr(法语):zh(中文)、zh-TW(繁体中文)、en(英语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2419
+ - es(西班牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2420
+ - it(意大利语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2421
+ - de(德语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
2422
+ - tr(土耳其语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、ru(俄语)、pt(葡萄牙语)
2423
+ - ru(俄语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、pt(葡萄牙语)
2424
+ - pt(葡萄牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)
2425
+ - vi(越南语):zh(中文)、zh-TW(繁体中文)、en(英语)
2426
+ - id(印尼语):zh(中文)、zh-TW(繁体中文)、en(英语)
2427
+ - th(泰语):zh(中文)、zh-TW(繁体中文)、en(英语)
2428
+ - ms(马来语):zh(中文)、zh-TW(繁体中文)、en(英语)
2429
+ - ar(阿拉伯语):en(英语)
2430
+ - hi(印地语):en(英语)
2363
2431
  */
2364
2432
  TranslationLanguage?: string;
2365
2433
  }
@@ -2838,23 +2906,32 @@ export interface DescribeCloudRecordingResponse {
2838
2906
  */
2839
2907
  export interface StartAITranscriptionRequest {
2840
2908
  /**
2841
- * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),使用该sdkappid开启任务。
2909
+ * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和开启转录任务的房间使用的SdkAppId相同。
2842
2910
  */
2843
2911
  SdkAppId: number;
2844
2912
  /**
2845
- * TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),使用该roomid开启任务。
2913
+ * TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),表示开启转录任务的房间号。
2846
2914
  */
2847
2915
  RoomId: string;
2848
2916
  /**
2849
- * 启动转录机器人和鉴权的参数。
2917
+ * 转录机器人的参数。
2850
2918
  */
2851
2919
  TranscriptionParams: TranscriptionParams;
2920
+ /**
2921
+ * 调用方传入的唯一Id,服务端用来去重。
2922
+ 注意:
2923
+ 如果传入该参数,服务端优先使用该参数来去重。
2924
+ 如果不传该参数,服务端的去重策略如下:
2925
+ - 如果TranscriptionMode字段是0,则一个房间只能开启一个任务
2926
+ - 如果TranscriptionMode字段是1,则一个TargetUserId只能开启一个任务
2927
+ */
2928
+ SessionId?: string;
2852
2929
  /**
2853
2930
  * TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
2854
2931
  */
2855
2932
  RoomIdType?: number;
2856
2933
  /**
2857
- * 语音识别配置
2934
+ * 语音识别配置。
2858
2935
  */
2859
2936
  RecognizeConfig?: RecognizeConfig;
2860
2937
  }
@@ -3483,13 +3560,26 @@ export interface PublishCdnParams {
3483
3560
  */
3484
3561
  export interface DescribeAITranscriptionResponse {
3485
3562
  /**
3486
- * 起始时间。
3563
+ * 任务开始时间。
3487
3564
  */
3488
3565
  StartTime?: string;
3489
3566
  /**
3490
3567
  * 转录任务状态。
3568
+ 有4个值:
3569
+ 1、Idle表示任务未开始
3570
+ 2、Preparing表示任务准备中
3571
+ 3、InProgress表示任务正在运行
3572
+ 4、Stopped表示任务已停止,正在清理资源中
3491
3573
  */
3492
3574
  Status?: string;
3575
+ /**
3576
+ * 唯一标识一次任务。
3577
+ */
3578
+ TaskId?: string;
3579
+ /**
3580
+ * 开启转录任务时填写的SessionId,如果没写则不返回。
3581
+ */
3582
+ SessionId?: string;
3493
3583
  /**
3494
3584
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3495
3585
  */