tencentcloud-sdk-nodejs-trtc 4.0.913 → 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 +1 -1
- package/products.md +18 -18
- package/src/services/trtc/v20190722/trtc_client.ts +0 -3
- package/src/services/trtc/v20190722/trtc_models.ts +3 -28
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +0 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +3 -28
package/package.json
CHANGED
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-
|
|
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 |
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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 |
|
|
@@ -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-
|
|
99
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-08-12 01:41:17 |
|
|
100
100
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-08-08 01:41:08 |
|
|
101
101
|
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-07 01:41:05 |
|
|
102
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-
|
|
102
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-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-
|
|
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,7 +122,7 @@
|
|
|
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-
|
|
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
128
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-08-08 01:47:56 |
|
|
@@ -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-
|
|
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
|
|
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-
|
|
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,13 +173,13 @@
|
|
|
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-
|
|
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
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-
|
|
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
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 |
|
|
@@ -202,7 +202,7 @@
|
|
|
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-
|
|
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,10 +224,10 @@
|
|
|
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-
|
|
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-
|
|
230
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-08-12 02:26:47 |
|
|
231
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 |
|
|
@@ -239,11 +239,11 @@
|
|
|
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-
|
|
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-
|
|
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
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 |
|
|
@@ -556,7 +556,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
556
556
|
"type": "subtitle",
|
|
557
557
|
"userid": "xxx",
|
|
558
558
|
"text": "xxx",
|
|
559
|
-
"translation_text": "xxx",
|
|
560
559
|
"start_time": "00:00:02",
|
|
561
560
|
"end_time": "00:00:05"
|
|
562
561
|
}`
|
|
@@ -564,7 +563,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
564
563
|
- type是subtitle,表示这是实时字幕消息。
|
|
565
564
|
- userid表示是哪个用户说的话。
|
|
566
565
|
- text是语音识别出的文本。
|
|
567
|
-
- translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
|
|
568
566
|
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
|
569
567
|
|
|
570
568
|
转录消息具体格式如下:
|
|
@@ -572,7 +570,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
572
570
|
"type": "transcription",
|
|
573
571
|
"userid": "xxx",
|
|
574
572
|
"text": "xxx",
|
|
575
|
-
"translation_text": "xx",
|
|
576
573
|
"start_time": "00:00:02",
|
|
577
574
|
"end_time": "00:00:05"
|
|
578
575
|
}`
|
|
@@ -2685,7 +2685,6 @@ export interface RecognizeConfig {
|
|
|
2685
2685
|
|
|
2686
2686
|
注意:
|
|
2687
2687
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2688
|
-
示例值:zh
|
|
2689
2688
|
*/
|
|
2690
2689
|
Language?: string
|
|
2691
2690
|
/**
|
|
@@ -2694,37 +2693,13 @@ export interface RecognizeConfig {
|
|
|
2694
2693
|
*/
|
|
2695
2694
|
AlternativeLanguage?: Array<string>
|
|
2696
2695
|
/**
|
|
2697
|
-
*
|
|
2696
|
+
* 目前已不支持
|
|
2698
2697
|
* @deprecated
|
|
2699
2698
|
*/
|
|
2700
2699
|
Model?: string
|
|
2701
2700
|
/**
|
|
2702
|
-
*
|
|
2703
|
-
|
|
2704
|
-
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2705
|
-
Chinese = "zh"
|
|
2706
|
-
Chinese_TW = "zh-TW"
|
|
2707
|
-
English = "en"
|
|
2708
|
-
Vietnamese = "vi"
|
|
2709
|
-
Japanese = "ja"
|
|
2710
|
-
Korean = "ko"
|
|
2711
|
-
Indonesia = "id"
|
|
2712
|
-
Thai = "th"
|
|
2713
|
-
Portuguese = "pt"
|
|
2714
|
-
Turkish = "tr"
|
|
2715
|
-
Arabic = "ar"
|
|
2716
|
-
Spanish = "es"
|
|
2717
|
-
Hindi = "hi"
|
|
2718
|
-
French = "fr"
|
|
2719
|
-
Malay = "ms"
|
|
2720
|
-
Filipino = "fil"
|
|
2721
|
-
German = "de"
|
|
2722
|
-
Italian = "it"
|
|
2723
|
-
Russian = "ru"
|
|
2724
|
-
|
|
2725
|
-
注意:
|
|
2726
|
-
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2727
|
-
示例值:en
|
|
2701
|
+
* 目前已不支持
|
|
2702
|
+
* @deprecated
|
|
2728
2703
|
*/
|
|
2729
2704
|
TranslationLanguage?: string
|
|
2730
2705
|
}
|
|
@@ -209,7 +209,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
209
209
|
"type": "subtitle",
|
|
210
210
|
"userid": "xxx",
|
|
211
211
|
"text": "xxx",
|
|
212
|
-
"translation_text": "xxx",
|
|
213
212
|
"start_time": "00:00:02",
|
|
214
213
|
"end_time": "00:00:05"
|
|
215
214
|
}`
|
|
@@ -217,7 +216,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
217
216
|
- type是subtitle,表示这是实时字幕消息。
|
|
218
217
|
- userid表示是哪个用户说的话。
|
|
219
218
|
- text是语音识别出的文本。
|
|
220
|
-
- translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
|
|
221
219
|
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
|
222
220
|
|
|
223
221
|
转录消息具体格式如下:
|
|
@@ -225,7 +223,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
225
223
|
"type": "transcription",
|
|
226
224
|
"userid": "xxx",
|
|
227
225
|
"text": "xxx",
|
|
228
|
-
"translation_text": "xx",
|
|
229
226
|
"start_time": "00:00:02",
|
|
230
227
|
"end_time": "00:00:05"
|
|
231
228
|
}`
|
|
@@ -278,7 +278,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
278
278
|
"type": "subtitle",
|
|
279
279
|
"userid": "xxx",
|
|
280
280
|
"text": "xxx",
|
|
281
|
-
"translation_text": "xxx",
|
|
282
281
|
"start_time": "00:00:02",
|
|
283
282
|
"end_time": "00:00:05"
|
|
284
283
|
}`
|
|
@@ -286,7 +285,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
286
285
|
- type是subtitle,表示这是实时字幕消息。
|
|
287
286
|
- userid表示是哪个用户说的话。
|
|
288
287
|
- text是语音识别出的文本。
|
|
289
|
-
- translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
|
|
290
288
|
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
|
291
289
|
|
|
292
290
|
转录消息具体格式如下:
|
|
@@ -294,7 +292,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
294
292
|
"type": "transcription",
|
|
295
293
|
"userid": "xxx",
|
|
296
294
|
"text": "xxx",
|
|
297
|
-
"translation_text": "xx",
|
|
298
295
|
"start_time": "00:00:02",
|
|
299
296
|
"end_time": "00:00:05"
|
|
300
297
|
}`
|
|
@@ -2558,7 +2558,6 @@ export interface RecognizeConfig {
|
|
|
2558
2558
|
|
|
2559
2559
|
注意:
|
|
2560
2560
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2561
|
-
示例值:zh
|
|
2562
2561
|
*/
|
|
2563
2562
|
Language?: string;
|
|
2564
2563
|
/**
|
|
@@ -2567,37 +2566,13 @@ export interface RecognizeConfig {
|
|
|
2567
2566
|
*/
|
|
2568
2567
|
AlternativeLanguage?: Array<string>;
|
|
2569
2568
|
/**
|
|
2570
|
-
*
|
|
2569
|
+
* 目前已不支持
|
|
2571
2570
|
* @deprecated
|
|
2572
2571
|
*/
|
|
2573
2572
|
Model?: string;
|
|
2574
2573
|
/**
|
|
2575
|
-
*
|
|
2576
|
-
|
|
2577
|
-
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2578
|
-
Chinese = "zh"
|
|
2579
|
-
Chinese_TW = "zh-TW"
|
|
2580
|
-
English = "en"
|
|
2581
|
-
Vietnamese = "vi"
|
|
2582
|
-
Japanese = "ja"
|
|
2583
|
-
Korean = "ko"
|
|
2584
|
-
Indonesia = "id"
|
|
2585
|
-
Thai = "th"
|
|
2586
|
-
Portuguese = "pt"
|
|
2587
|
-
Turkish = "tr"
|
|
2588
|
-
Arabic = "ar"
|
|
2589
|
-
Spanish = "es"
|
|
2590
|
-
Hindi = "hi"
|
|
2591
|
-
French = "fr"
|
|
2592
|
-
Malay = "ms"
|
|
2593
|
-
Filipino = "fil"
|
|
2594
|
-
German = "de"
|
|
2595
|
-
Italian = "it"
|
|
2596
|
-
Russian = "ru"
|
|
2597
|
-
|
|
2598
|
-
注意:
|
|
2599
|
-
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2600
|
-
示例值:en
|
|
2574
|
+
* 目前已不支持
|
|
2575
|
+
* @deprecated
|
|
2601
2576
|
*/
|
|
2602
2577
|
TranslationLanguage?: string;
|
|
2603
2578
|
}
|