tencentcloud-sdk-nodejs-trtc 4.0.857 → 4.0.859
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 +17 -17
- package/src/services/trtc/v20190722/trtc_client.ts +56 -6
- package/src/services/trtc/v20190722/trtc_models.ts +166 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +19 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +27 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +156 -0
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-03-25 01:07:43 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-05-10 01:10:01 |
|
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-05-17 01:06:16 |
|
|
20
|
-
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-05-
|
|
20
|
+
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-05-21 01:09:55 |
|
|
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 |
|
|
23
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-05-
|
|
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
25
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-05-17 01:07:50 |
|
|
26
26
|
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-05-13 01:09:20 |
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-05-20 01:15:04 |
|
|
43
43
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-05-14 01:20:49 |
|
|
44
44
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
|
|
45
|
-
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-05-
|
|
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 |
|
|
47
47
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-04-26 01:10:21 |
|
|
48
48
|
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-05-15 01:12:20 |
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-05-17 01:23:32 |
|
|
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
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-05-
|
|
75
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-05-22 01:28:40 |
|
|
76
76
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2024-04-22 01:14:04 |
|
|
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 |
|
|
@@ -80,12 +80,12 @@
|
|
|
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-
|
|
83
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-05-22 01:32:04 |
|
|
84
84
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-05-16 01:37:56 |
|
|
85
85
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-04-29 01:14:52 |
|
|
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
|
-
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-05-
|
|
88
|
+
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-05-21 01:34:24 |
|
|
89
89
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
90
90
|
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-05-14 01:47:51 |
|
|
91
91
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-04-18 01:19:26 |
|
|
@@ -103,7 +103,7 @@
|
|
|
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 |
|
|
106
|
-
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-
|
|
106
|
+
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-05-21 01:42:29 |
|
|
107
107
|
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2024-03-20 01:17:31 |
|
|
108
108
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
109
109
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2024-04-25 01:17:27 |
|
|
@@ -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-
|
|
126
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-05-22 01:45:12 |
|
|
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 |
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-04-12 01:19:07 |
|
|
148
148
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-04-18 01:24:29 |
|
|
149
149
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-05-08 01:22:13 |
|
|
150
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-05-
|
|
150
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-05-22 01:56:25 |
|
|
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 |
|
|
@@ -155,7 +155,7 @@
|
|
|
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
157
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-04-19 01:23:09 |
|
|
158
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-05-
|
|
158
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-05-21 01:58:59 |
|
|
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 |
|
|
161
161
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-03-20 01:22:23 |
|
|
@@ -174,14 +174,14 @@
|
|
|
174
174
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-04-16 01:18:21 |
|
|
175
175
|
| smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-04-11 01:20:38 |
|
|
176
176
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2024-03-20 01:23:29 |
|
|
177
|
-
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-
|
|
177
|
+
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-05-20 17:02:26 |
|
|
178
178
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-04-11 01:20:45 |
|
|
179
179
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
180
180
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-04-15 02:06:58 |
|
|
181
181
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
|
|
182
182
|
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-05-20 02:06:11 |
|
|
183
183
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
|
|
184
|
-
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-
|
|
184
|
+
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 |
|
|
185
185
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-03-20 01:24:08 |
|
|
186
186
|
| svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-03-20 01:24:09 |
|
|
187
187
|
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-03-21 01:24:01 |
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-05-17 02:19:56 |
|
|
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 |
|
|
209
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-05-
|
|
209
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-05-21 17:37:30 |
|
|
210
210
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-03-20 01:27:05 |
|
|
211
211
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
212
212
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -214,20 +214,20 @@
|
|
|
214
214
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2024-03-20 01:27:08 |
|
|
215
215
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
216
216
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-03-20 01:27:09 |
|
|
217
|
-
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-05-
|
|
217
|
+
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-05-22 02:16:53 |
|
|
218
218
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 |
|
|
219
219
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-05-15 01:34:42 |
|
|
220
220
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
221
221
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-04-29 01:26:41 |
|
|
222
|
-
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-05-
|
|
222
|
+
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-05-21 02:20:14 |
|
|
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
225
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-05-16 02:33:50 |
|
|
226
226
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-04-22 01:28:30 |
|
|
227
227
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-03-20 01:29:13 |
|
|
228
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-05-
|
|
228
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-05-21 02:21:25 |
|
|
229
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-
|
|
230
|
+
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-05-22 02:22:39 |
|
|
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 |
|
|
@@ -79,6 +79,7 @@ import {
|
|
|
79
79
|
DescribeRoomInfoResponse,
|
|
80
80
|
DismissRoomRequest,
|
|
81
81
|
DescribeTRTCRealTimeQualityMetricDataRequest,
|
|
82
|
+
DescribeAITranscriptionRequest,
|
|
82
83
|
SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
83
84
|
McuLayout,
|
|
84
85
|
DescribeUserInfoResponse,
|
|
@@ -120,6 +121,7 @@ import {
|
|
|
120
121
|
OutputParams,
|
|
121
122
|
DeleteCloudRecordingResponse,
|
|
122
123
|
StopMCUMixTranscodeByStrRoomIdRequest,
|
|
124
|
+
RecognizeConfig,
|
|
123
125
|
QualityData,
|
|
124
126
|
StopPublishCdnStreamRequest,
|
|
125
127
|
DeletePictureResponse,
|
|
@@ -145,20 +147,25 @@ import {
|
|
|
145
147
|
ModifyCloudRecordingResponse,
|
|
146
148
|
StartMCUMixTranscodeByStrRoomIdRequest,
|
|
147
149
|
DescribeCloudRecordingResponse,
|
|
150
|
+
StartAITranscriptionRequest,
|
|
148
151
|
DismissRoomResponse,
|
|
149
152
|
StopStreamIngestResponse,
|
|
150
153
|
MixUserInfo,
|
|
151
154
|
EventMessage,
|
|
152
155
|
DescribeTRTCMarketQualityDataRequest,
|
|
156
|
+
SummarizeTranscriptionRequest,
|
|
153
157
|
UpdatePublishCdnStreamRequest,
|
|
154
158
|
StartWebRecordRequest,
|
|
155
159
|
MaxVideoUser,
|
|
156
160
|
AgentParams,
|
|
157
161
|
StopWebRecordResponse,
|
|
162
|
+
SummarizeTranscriptionResponse,
|
|
158
163
|
DeletePictureRequest,
|
|
159
164
|
McuSeiParams,
|
|
165
|
+
StopAITranscriptionRequest,
|
|
160
166
|
UpdatePublishCdnStreamResponse,
|
|
161
167
|
McuWaterMarkText,
|
|
168
|
+
TranscriptionParams,
|
|
162
169
|
SeriesInfos,
|
|
163
170
|
RemoveUserByStrRoomIdRequest,
|
|
164
171
|
RecordParams,
|
|
@@ -168,14 +175,17 @@ import {
|
|
|
168
175
|
PresetLayoutConfig,
|
|
169
176
|
McuPublishCdnParam,
|
|
170
177
|
AudioParams,
|
|
178
|
+
StopAITranscriptionResponse,
|
|
171
179
|
SeriesInfo,
|
|
172
180
|
WaterMarkTimestamp,
|
|
173
181
|
SingleSubscribeParams,
|
|
174
182
|
PublishCdnParams,
|
|
183
|
+
DescribeAITranscriptionResponse,
|
|
175
184
|
McuWaterMarkParams,
|
|
176
185
|
AbnormalExperience,
|
|
177
186
|
RoomState,
|
|
178
187
|
CreatePictureResponse,
|
|
188
|
+
StartAITranscriptionResponse,
|
|
179
189
|
RemoveUserResponse,
|
|
180
190
|
} from "./trtc_models"
|
|
181
191
|
|
|
@@ -577,6 +587,16 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
577
587
|
return this.request("StartMCUMixTranscode", req, cb)
|
|
578
588
|
}
|
|
579
589
|
|
|
590
|
+
/**
|
|
591
|
+
* 这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
|
|
592
|
+
*/
|
|
593
|
+
async StartAITranscription(
|
|
594
|
+
req: StartAITranscriptionRequest,
|
|
595
|
+
cb?: (error: string, rep: StartAITranscriptionResponse) => void
|
|
596
|
+
): Promise<StartAITranscriptionResponse> {
|
|
597
|
+
return this.request("StartAITranscription", req, cb)
|
|
598
|
+
}
|
|
599
|
+
|
|
580
600
|
/**
|
|
581
601
|
* 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
|
|
582
602
|
userCount:通话人数,
|
|
@@ -604,6 +624,16 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
604
624
|
return this.request("StopWebRecord", req, cb)
|
|
605
625
|
}
|
|
606
626
|
|
|
627
|
+
/**
|
|
628
|
+
* 停止转推任务。
|
|
629
|
+
*/
|
|
630
|
+
async StopPublishCdnStream(
|
|
631
|
+
req: StopPublishCdnStreamRequest,
|
|
632
|
+
cb?: (error: string, rep: StopPublishCdnStreamResponse) => void
|
|
633
|
+
): Promise<StopPublishCdnStreamResponse> {
|
|
634
|
+
return this.request("StopPublishCdnStream", req, cb)
|
|
635
|
+
}
|
|
636
|
+
|
|
607
637
|
/**
|
|
608
638
|
* 接口说明:
|
|
609
639
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。
|
|
@@ -685,6 +715,16 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
685
715
|
return this.request("StopMCUMixTranscodeByStrRoomId", req, cb)
|
|
686
716
|
}
|
|
687
717
|
|
|
718
|
+
/**
|
|
719
|
+
* 对转录的文本进行总结
|
|
720
|
+
*/
|
|
721
|
+
async SummarizeTranscription(
|
|
722
|
+
req?: SummarizeTranscriptionRequest,
|
|
723
|
+
cb?: (error: string, rep: SummarizeTranscriptionResponse) => void
|
|
724
|
+
): Promise<SummarizeTranscriptionResponse> {
|
|
725
|
+
return this.request("SummarizeTranscription", req, cb)
|
|
726
|
+
}
|
|
727
|
+
|
|
688
728
|
/**
|
|
689
729
|
* 获取TRTC录制的用量明细。
|
|
690
730
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -799,6 +839,16 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
799
839
|
return this.request("ModifyPicture", req, cb)
|
|
800
840
|
}
|
|
801
841
|
|
|
842
|
+
/**
|
|
843
|
+
* 查询AI转录状态
|
|
844
|
+
*/
|
|
845
|
+
async DescribeAITranscription(
|
|
846
|
+
req: DescribeAITranscriptionRequest,
|
|
847
|
+
cb?: (error: string, rep: DescribeAITranscriptionResponse) => void
|
|
848
|
+
): Promise<DescribeAITranscriptionResponse> {
|
|
849
|
+
return this.request("DescribeAITranscription", req, cb)
|
|
850
|
+
}
|
|
851
|
+
|
|
802
852
|
/**
|
|
803
853
|
* 更新转推任务。
|
|
804
854
|
注:请参见启动转推任务的接口说明和使用说明。
|
|
@@ -864,13 +914,13 @@ networkDelay :网络延迟率。
|
|
|
864
914
|
}
|
|
865
915
|
|
|
866
916
|
/**
|
|
867
|
-
*
|
|
917
|
+
* 停止AI转录
|
|
868
918
|
*/
|
|
869
|
-
async
|
|
870
|
-
req:
|
|
871
|
-
cb?: (error: string, rep:
|
|
872
|
-
): Promise<
|
|
873
|
-
return this.request("
|
|
919
|
+
async StopAITranscription(
|
|
920
|
+
req: StopAITranscriptionRequest,
|
|
921
|
+
cb?: (error: string, rep: StopAITranscriptionResponse) => void
|
|
922
|
+
): Promise<StopAITranscriptionResponse> {
|
|
923
|
+
return this.request("StopAITranscription", req, cb)
|
|
874
924
|
}
|
|
875
925
|
|
|
876
926
|
/**
|
|
@@ -1422,6 +1422,16 @@ export interface DescribeTRTCRealTimeQualityMetricDataRequest {
|
|
|
1422
1422
|
RoomId?: string
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
|
+
/**
|
|
1426
|
+
* DescribeAITranscription请求参数结构体
|
|
1427
|
+
*/
|
|
1428
|
+
export interface DescribeAITranscriptionRequest {
|
|
1429
|
+
/**
|
|
1430
|
+
* 唯一标识AI转录任务。
|
|
1431
|
+
*/
|
|
1432
|
+
TaskId: string
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1425
1435
|
/**
|
|
1426
1436
|
* 查询旁路转码计费时长。
|
|
1427
1437
|
查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -2447,6 +2457,34 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
|
|
|
2447
2457
|
StrRoomId: string
|
|
2448
2458
|
}
|
|
2449
2459
|
|
|
2460
|
+
/**
|
|
2461
|
+
* 语音识别使用的配置
|
|
2462
|
+
*/
|
|
2463
|
+
export interface RecognizeConfig {
|
|
2464
|
+
/**
|
|
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"
|
|
2480
|
+
*/
|
|
2481
|
+
Language?: string
|
|
2482
|
+
/**
|
|
2483
|
+
* 选填,如果填写,则会启用翻译,不填则忽略。支持语言同Language字段。
|
|
2484
|
+
*/
|
|
2485
|
+
TranslationLanguage?: string
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2450
2488
|
/**
|
|
2451
2489
|
* Es返回的质量数据
|
|
2452
2490
|
*/
|
|
@@ -2942,6 +2980,32 @@ Exited:表示当前录制任务正在退出的过程中。
|
|
|
2942
2980
|
RequestId?: string
|
|
2943
2981
|
}
|
|
2944
2982
|
|
|
2983
|
+
/**
|
|
2984
|
+
* StartAITranscription请求参数结构体
|
|
2985
|
+
*/
|
|
2986
|
+
export interface StartAITranscriptionRequest {
|
|
2987
|
+
/**
|
|
2988
|
+
* TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),使用该sdkappid开启任务。
|
|
2989
|
+
*/
|
|
2990
|
+
SdkAppId: number
|
|
2991
|
+
/**
|
|
2992
|
+
* TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),使用该roomid开启任务。
|
|
2993
|
+
*/
|
|
2994
|
+
RoomId: string
|
|
2995
|
+
/**
|
|
2996
|
+
* 启动转录机器人和鉴权的参数。
|
|
2997
|
+
*/
|
|
2998
|
+
TranscriptionParams: TranscriptionParams
|
|
2999
|
+
/**
|
|
3000
|
+
* TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
|
|
3001
|
+
*/
|
|
3002
|
+
RoomIdType?: number
|
|
3003
|
+
/**
|
|
3004
|
+
* 语音识别配置
|
|
3005
|
+
*/
|
|
3006
|
+
RecognizeConfig?: RecognizeConfig
|
|
3007
|
+
}
|
|
3008
|
+
|
|
2945
3009
|
/**
|
|
2946
3010
|
* DismissRoom返回参数结构体
|
|
2947
3011
|
*/
|
|
@@ -3034,6 +3098,11 @@ h:按小时。此时返回查询时间范围内 UTC 时间为整小时的数
|
|
|
3034
3098
|
Period: string
|
|
3035
3099
|
}
|
|
3036
3100
|
|
|
3101
|
+
/**
|
|
3102
|
+
* SummarizeTranscription请求参数结构体
|
|
3103
|
+
*/
|
|
3104
|
+
export type SummarizeTranscriptionRequest = null
|
|
3105
|
+
|
|
3037
3106
|
/**
|
|
3038
3107
|
* UpdatePublishCdnStream请求参数结构体
|
|
3039
3108
|
*/
|
|
@@ -3155,6 +3224,16 @@ export interface StopWebRecordResponse {
|
|
|
3155
3224
|
RequestId?: string
|
|
3156
3225
|
}
|
|
3157
3226
|
|
|
3227
|
+
/**
|
|
3228
|
+
* SummarizeTranscription返回参数结构体
|
|
3229
|
+
*/
|
|
3230
|
+
export interface SummarizeTranscriptionResponse {
|
|
3231
|
+
/**
|
|
3232
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3233
|
+
*/
|
|
3234
|
+
RequestId?: string
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3158
3237
|
/**
|
|
3159
3238
|
* DeletePicture请求参数结构体
|
|
3160
3239
|
*/
|
|
@@ -3183,6 +3262,16 @@ export interface McuSeiParams {
|
|
|
3183
3262
|
PassThrough?: McuPassThrough
|
|
3184
3263
|
}
|
|
3185
3264
|
|
|
3265
|
+
/**
|
|
3266
|
+
* StopAITranscription请求参数结构体
|
|
3267
|
+
*/
|
|
3268
|
+
export interface StopAITranscriptionRequest {
|
|
3269
|
+
/**
|
|
3270
|
+
* 唯一标识转录任务。
|
|
3271
|
+
*/
|
|
3272
|
+
TaskId: string
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3186
3275
|
/**
|
|
3187
3276
|
* UpdatePublishCdnStream返回参数结构体
|
|
3188
3277
|
*/
|
|
@@ -3247,6 +3336,41 @@ export interface McuWaterMarkText {
|
|
|
3247
3336
|
Font?: string
|
|
3248
3337
|
}
|
|
3249
3338
|
|
|
3339
|
+
/**
|
|
3340
|
+
* AI转录参数
|
|
3341
|
+
*/
|
|
3342
|
+
export interface TranscriptionParams {
|
|
3343
|
+
/**
|
|
3344
|
+
* 转录机器人的UserId,用于进房发起转录任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个转录任务时,机器人的userid也不能相互重复,否则会中断前一个任务。需要保证转录机器人UserId在房间内唯一。
|
|
3345
|
+
*/
|
|
3346
|
+
UserId: string
|
|
3347
|
+
/**
|
|
3348
|
+
* 转录机器人UserId对应的校验签名,即UserId和UserSig相当于转录机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
3349
|
+
*/
|
|
3350
|
+
UserSig: string
|
|
3351
|
+
/**
|
|
3352
|
+
* IM[管理员账户](
|
|
3353
|
+
https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.91.98),如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。
|
|
3354
|
+
*/
|
|
3355
|
+
IMAdminUserId?: string
|
|
3356
|
+
/**
|
|
3357
|
+
* IM管理员账户生成的签名,用于向特定群组发送消息。如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。必须和IM管理员的UserId一起填写。
|
|
3358
|
+
*/
|
|
3359
|
+
IMAdminUserSig?: string
|
|
3360
|
+
/**
|
|
3361
|
+
* 房间内推流用户全部退出后超过MaxIdleTime秒,后台自动关闭转录任务,默认值是60s。
|
|
3362
|
+
*/
|
|
3363
|
+
MaxIdleTime?: number
|
|
3364
|
+
/**
|
|
3365
|
+
* 1表示机器人只订阅单个人的流,0表示机器人订阅整个房间的流,如果不填默认订阅整个房间的流。
|
|
3366
|
+
*/
|
|
3367
|
+
TranscriptionMode?: number
|
|
3368
|
+
/**
|
|
3369
|
+
* TranscriptionMode为1时必填,机器人只会拉该userid的流,忽略房间里其他用户。
|
|
3370
|
+
*/
|
|
3371
|
+
TargetUserId?: string
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3250
3374
|
/**
|
|
3251
3375
|
* SeriesInfos类型
|
|
3252
3376
|
*/
|
|
@@ -3464,6 +3588,16 @@ export interface AudioParams {
|
|
|
3464
3588
|
BitRate: number
|
|
3465
3589
|
}
|
|
3466
3590
|
|
|
3591
|
+
/**
|
|
3592
|
+
* StopAITranscription返回参数结构体
|
|
3593
|
+
*/
|
|
3594
|
+
export interface StopAITranscriptionResponse {
|
|
3595
|
+
/**
|
|
3596
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3597
|
+
*/
|
|
3598
|
+
RequestId?: string
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3467
3601
|
/**
|
|
3468
3602
|
* SeriesInfo类型
|
|
3469
3603
|
*/
|
|
@@ -3524,6 +3658,24 @@ export interface PublishCdnParams {
|
|
|
3524
3658
|
PublishCdnUrls: Array<string>
|
|
3525
3659
|
}
|
|
3526
3660
|
|
|
3661
|
+
/**
|
|
3662
|
+
* DescribeAITranscription返回参数结构体
|
|
3663
|
+
*/
|
|
3664
|
+
export interface DescribeAITranscriptionResponse {
|
|
3665
|
+
/**
|
|
3666
|
+
* 起始时间。
|
|
3667
|
+
*/
|
|
3668
|
+
StartTime?: string
|
|
3669
|
+
/**
|
|
3670
|
+
* 转录任务状态。
|
|
3671
|
+
*/
|
|
3672
|
+
Status?: string
|
|
3673
|
+
/**
|
|
3674
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3675
|
+
*/
|
|
3676
|
+
RequestId?: string
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3527
3679
|
/**
|
|
3528
3680
|
* 水印参数。
|
|
3529
3681
|
*/
|
|
@@ -3612,6 +3764,20 @@ export interface CreatePictureResponse {
|
|
|
3612
3764
|
RequestId?: string
|
|
3613
3765
|
}
|
|
3614
3766
|
|
|
3767
|
+
/**
|
|
3768
|
+
* StartAITranscription返回参数结构体
|
|
3769
|
+
*/
|
|
3770
|
+
export interface StartAITranscriptionResponse {
|
|
3771
|
+
/**
|
|
3772
|
+
* 用于唯一标识转录任务。
|
|
3773
|
+
*/
|
|
3774
|
+
TaskId?: string
|
|
3775
|
+
/**
|
|
3776
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3777
|
+
*/
|
|
3778
|
+
RequestId?: string
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3615
3781
|
/**
|
|
3616
3782
|
* RemoveUser返回参数结构体
|
|
3617
3783
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, StopWebRecordRequest, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeUserInfoRequest, DescribeTRTCMarketQualityDataResponse, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeWebRecordRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest, DescribeTRTCRealTimeQualityDataRequest, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DismissRoomRequest, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, StartWebRecordResponse, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StartPublishCdnStreamRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCMarketQualityDataRequest, UpdatePublishCdnStreamRequest, StartWebRecordRequest, StopWebRecordResponse, DeletePictureRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DescribeStreamIngestRequest, DescribeTRTCMarketScaleMetricDataResponse, CreatePictureResponse, RemoveUserResponse } from "./trtc_models";
|
|
2
|
+
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, StopWebRecordRequest, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeUserInfoRequest, DescribeTRTCMarketQualityDataResponse, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeWebRecordRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest, DescribeTRTCRealTimeQualityDataRequest, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DismissRoomRequest, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeAITranscriptionRequest, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, StartWebRecordResponse, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StartPublishCdnStreamRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, StartAITranscriptionRequest, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCMarketQualityDataRequest, SummarizeTranscriptionRequest, UpdatePublishCdnStreamRequest, StartWebRecordRequest, StopWebRecordResponse, SummarizeTranscriptionResponse, DeletePictureRequest, StopAITranscriptionRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DescribeStreamIngestRequest, DescribeTRTCMarketScaleMetricDataResponse, StopAITranscriptionResponse, DescribeAITranscriptionResponse, CreatePictureResponse, StartAITranscriptionResponse, RemoveUserResponse } from "./trtc_models";
|
|
3
3
|
/**
|
|
4
4
|
* trtc client
|
|
5
5
|
* @class
|
|
@@ -269,6 +269,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
269
269
|
3、客户端混流和服务端混流不能混用。
|
|
270
270
|
*/
|
|
271
271
|
StartMCUMixTranscode(req: StartMCUMixTranscodeRequest, cb?: (error: string, rep: StartMCUMixTranscodeResponse) => void): Promise<StartMCUMixTranscodeResponse>;
|
|
272
|
+
/**
|
|
273
|
+
* 这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
|
|
274
|
+
*/
|
|
275
|
+
StartAITranscription(req: StartAITranscriptionRequest, cb?: (error: string, rep: StartAITranscriptionResponse) => void): Promise<StartAITranscriptionResponse>;
|
|
272
276
|
/**
|
|
273
277
|
* 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
|
|
274
278
|
userCount:通话人数,
|
|
@@ -284,6 +288,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
284
288
|
* 停止页面录制任务
|
|
285
289
|
*/
|
|
286
290
|
StopWebRecord(req: StopWebRecordRequest, cb?: (error: string, rep: StopWebRecordResponse) => void): Promise<StopWebRecordResponse>;
|
|
291
|
+
/**
|
|
292
|
+
* 停止转推任务。
|
|
293
|
+
*/
|
|
294
|
+
StopPublishCdnStream(req: StopPublishCdnStreamRequest, cb?: (error: string, rep: StopPublishCdnStreamResponse) => void): Promise<StopPublishCdnStreamResponse>;
|
|
287
295
|
/**
|
|
288
296
|
* 接口说明:
|
|
289
297
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。
|
|
@@ -329,6 +337,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
329
337
|
* 接口说明:结束云端混流
|
|
330
338
|
*/
|
|
331
339
|
StopMCUMixTranscodeByStrRoomId(req: StopMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StopMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StopMCUMixTranscodeByStrRoomIdResponse>;
|
|
340
|
+
/**
|
|
341
|
+
* 对转录的文本进行总结
|
|
342
|
+
*/
|
|
343
|
+
SummarizeTranscription(req?: SummarizeTranscriptionRequest, cb?: (error: string, rep: SummarizeTranscriptionResponse) => void): Promise<SummarizeTranscriptionResponse>;
|
|
332
344
|
/**
|
|
333
345
|
* 获取TRTC录制的用量明细。
|
|
334
346
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -389,6 +401,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
389
401
|
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
390
402
|
*/
|
|
391
403
|
ModifyPicture(req: ModifyPictureRequest, cb?: (error: string, rep: ModifyPictureResponse) => void): Promise<ModifyPictureResponse>;
|
|
404
|
+
/**
|
|
405
|
+
* 查询AI转录状态
|
|
406
|
+
*/
|
|
407
|
+
DescribeAITranscription(req: DescribeAITranscriptionRequest, cb?: (error: string, rep: DescribeAITranscriptionResponse) => void): Promise<DescribeAITranscriptionResponse>;
|
|
392
408
|
/**
|
|
393
409
|
* 更新转推任务。
|
|
394
410
|
注:请参见启动转推任务的接口说明和使用说明。
|
|
@@ -424,9 +440,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
424
440
|
*/
|
|
425
441
|
DescribeTRTCMarketQualityData(req: DescribeTRTCMarketQualityDataRequest, cb?: (error: string, rep: DescribeTRTCMarketQualityDataResponse) => void): Promise<DescribeTRTCMarketQualityDataResponse>;
|
|
426
442
|
/**
|
|
427
|
-
*
|
|
443
|
+
* 停止AI转录
|
|
428
444
|
*/
|
|
429
|
-
|
|
445
|
+
StopAITranscription(req: StopAITranscriptionRequest, cb?: (error: string, rep: StopAITranscriptionResponse) => void): Promise<StopAITranscriptionResponse>;
|
|
430
446
|
/**
|
|
431
447
|
* 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
|
|
432
448
|
异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
|
|
@@ -332,6 +332,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
332
332
|
async StartMCUMixTranscode(req, cb) {
|
|
333
333
|
return this.request("StartMCUMixTranscode", req, cb);
|
|
334
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* 这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
|
|
337
|
+
*/
|
|
338
|
+
async StartAITranscription(req, cb) {
|
|
339
|
+
return this.request("StartAITranscription", req, cb);
|
|
340
|
+
}
|
|
335
341
|
/**
|
|
336
342
|
* 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
|
|
337
343
|
userCount:通话人数,
|
|
@@ -351,6 +357,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
351
357
|
async StopWebRecord(req, cb) {
|
|
352
358
|
return this.request("StopWebRecord", req, cb);
|
|
353
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* 停止转推任务。
|
|
362
|
+
*/
|
|
363
|
+
async StopPublishCdnStream(req, cb) {
|
|
364
|
+
return this.request("StopPublishCdnStream", req, cb);
|
|
365
|
+
}
|
|
354
366
|
/**
|
|
355
367
|
* 接口说明:
|
|
356
368
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。
|
|
@@ -408,6 +420,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
408
420
|
async StopMCUMixTranscodeByStrRoomId(req, cb) {
|
|
409
421
|
return this.request("StopMCUMixTranscodeByStrRoomId", req, cb);
|
|
410
422
|
}
|
|
423
|
+
/**
|
|
424
|
+
* 对转录的文本进行总结
|
|
425
|
+
*/
|
|
426
|
+
async SummarizeTranscription(req, cb) {
|
|
427
|
+
return this.request("SummarizeTranscription", req, cb);
|
|
428
|
+
}
|
|
411
429
|
/**
|
|
412
430
|
* 获取TRTC录制的用量明细。
|
|
413
431
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -486,6 +504,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
486
504
|
async ModifyPicture(req, cb) {
|
|
487
505
|
return this.request("ModifyPicture", req, cb);
|
|
488
506
|
}
|
|
507
|
+
/**
|
|
508
|
+
* 查询AI转录状态
|
|
509
|
+
*/
|
|
510
|
+
async DescribeAITranscription(req, cb) {
|
|
511
|
+
return this.request("DescribeAITranscription", req, cb);
|
|
512
|
+
}
|
|
489
513
|
/**
|
|
490
514
|
* 更新转推任务。
|
|
491
515
|
注:请参见启动转推任务的接口说明和使用说明。
|
|
@@ -531,10 +555,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
531
555
|
return this.request("DescribeTRTCMarketQualityData", req, cb);
|
|
532
556
|
}
|
|
533
557
|
/**
|
|
534
|
-
*
|
|
558
|
+
* 停止AI转录
|
|
535
559
|
*/
|
|
536
|
-
async
|
|
537
|
-
return this.request("
|
|
560
|
+
async StopAITranscription(req, cb) {
|
|
561
|
+
return this.request("StopAITranscription", req, cb);
|
|
538
562
|
}
|
|
539
563
|
/**
|
|
540
564
|
* 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
|
|
@@ -1343,6 +1343,15 @@ export interface DescribeTRTCRealTimeQualityMetricDataRequest {
|
|
|
1343
1343
|
*/
|
|
1344
1344
|
RoomId?: string;
|
|
1345
1345
|
}
|
|
1346
|
+
/**
|
|
1347
|
+
* DescribeAITranscription请求参数结构体
|
|
1348
|
+
*/
|
|
1349
|
+
export interface DescribeAITranscriptionRequest {
|
|
1350
|
+
/**
|
|
1351
|
+
* 唯一标识AI转录任务。
|
|
1352
|
+
*/
|
|
1353
|
+
TaskId: string;
|
|
1354
|
+
}
|
|
1346
1355
|
/**
|
|
1347
1356
|
* 查询旁路转码计费时长。
|
|
1348
1357
|
查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -2327,6 +2336,33 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
|
|
|
2327
2336
|
*/
|
|
2328
2337
|
StrRoomId: string;
|
|
2329
2338
|
}
|
|
2339
|
+
/**
|
|
2340
|
+
* 语音识别使用的配置
|
|
2341
|
+
*/
|
|
2342
|
+
export interface RecognizeConfig {
|
|
2343
|
+
/**
|
|
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"
|
|
2359
|
+
*/
|
|
2360
|
+
Language?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* 选填,如果填写,则会启用翻译,不填则忽略。支持语言同Language字段。
|
|
2363
|
+
*/
|
|
2364
|
+
TranslationLanguage?: string;
|
|
2365
|
+
}
|
|
2330
2366
|
/**
|
|
2331
2367
|
* Es返回的质量数据
|
|
2332
2368
|
*/
|
|
@@ -2797,6 +2833,31 @@ export interface DescribeCloudRecordingResponse {
|
|
|
2797
2833
|
*/
|
|
2798
2834
|
RequestId?: string;
|
|
2799
2835
|
}
|
|
2836
|
+
/**
|
|
2837
|
+
* StartAITranscription请求参数结构体
|
|
2838
|
+
*/
|
|
2839
|
+
export interface StartAITranscriptionRequest {
|
|
2840
|
+
/**
|
|
2841
|
+
* TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),使用该sdkappid开启任务。
|
|
2842
|
+
*/
|
|
2843
|
+
SdkAppId: number;
|
|
2844
|
+
/**
|
|
2845
|
+
* TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),使用该roomid开启任务。
|
|
2846
|
+
*/
|
|
2847
|
+
RoomId: string;
|
|
2848
|
+
/**
|
|
2849
|
+
* 启动转录机器人和鉴权的参数。
|
|
2850
|
+
*/
|
|
2851
|
+
TranscriptionParams: TranscriptionParams;
|
|
2852
|
+
/**
|
|
2853
|
+
* TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
|
|
2854
|
+
*/
|
|
2855
|
+
RoomIdType?: number;
|
|
2856
|
+
/**
|
|
2857
|
+
* 语音识别配置
|
|
2858
|
+
*/
|
|
2859
|
+
RecognizeConfig?: RecognizeConfig;
|
|
2860
|
+
}
|
|
2800
2861
|
/**
|
|
2801
2862
|
* DismissRoom返回参数结构体
|
|
2802
2863
|
*/
|
|
@@ -2884,6 +2945,10 @@ export interface DescribeTRTCMarketQualityDataRequest {
|
|
|
2884
2945
|
*/
|
|
2885
2946
|
Period: string;
|
|
2886
2947
|
}
|
|
2948
|
+
/**
|
|
2949
|
+
* SummarizeTranscription请求参数结构体
|
|
2950
|
+
*/
|
|
2951
|
+
export declare type SummarizeTranscriptionRequest = null;
|
|
2887
2952
|
/**
|
|
2888
2953
|
* UpdatePublishCdnStream请求参数结构体
|
|
2889
2954
|
*/
|
|
@@ -3000,6 +3065,15 @@ export interface StopWebRecordResponse {
|
|
|
3000
3065
|
*/
|
|
3001
3066
|
RequestId?: string;
|
|
3002
3067
|
}
|
|
3068
|
+
/**
|
|
3069
|
+
* SummarizeTranscription返回参数结构体
|
|
3070
|
+
*/
|
|
3071
|
+
export interface SummarizeTranscriptionResponse {
|
|
3072
|
+
/**
|
|
3073
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3074
|
+
*/
|
|
3075
|
+
RequestId?: string;
|
|
3076
|
+
}
|
|
3003
3077
|
/**
|
|
3004
3078
|
* DeletePicture请求参数结构体
|
|
3005
3079
|
*/
|
|
@@ -3026,6 +3100,15 @@ export interface McuSeiParams {
|
|
|
3026
3100
|
*/
|
|
3027
3101
|
PassThrough?: McuPassThrough;
|
|
3028
3102
|
}
|
|
3103
|
+
/**
|
|
3104
|
+
* StopAITranscription请求参数结构体
|
|
3105
|
+
*/
|
|
3106
|
+
export interface StopAITranscriptionRequest {
|
|
3107
|
+
/**
|
|
3108
|
+
* 唯一标识转录任务。
|
|
3109
|
+
*/
|
|
3110
|
+
TaskId: string;
|
|
3111
|
+
}
|
|
3029
3112
|
/**
|
|
3030
3113
|
* UpdatePublishCdnStream返回参数结构体
|
|
3031
3114
|
*/
|
|
@@ -3088,6 +3171,40 @@ export interface McuWaterMarkText {
|
|
|
3088
3171
|
*/
|
|
3089
3172
|
Font?: string;
|
|
3090
3173
|
}
|
|
3174
|
+
/**
|
|
3175
|
+
* AI转录参数
|
|
3176
|
+
*/
|
|
3177
|
+
export interface TranscriptionParams {
|
|
3178
|
+
/**
|
|
3179
|
+
* 转录机器人的UserId,用于进房发起转录任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个转录任务时,机器人的userid也不能相互重复,否则会中断前一个任务。需要保证转录机器人UserId在房间内唯一。
|
|
3180
|
+
*/
|
|
3181
|
+
UserId: string;
|
|
3182
|
+
/**
|
|
3183
|
+
* 转录机器人UserId对应的校验签名,即UserId和UserSig相当于转录机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
3184
|
+
*/
|
|
3185
|
+
UserSig: string;
|
|
3186
|
+
/**
|
|
3187
|
+
* IM[管理员账户](
|
|
3188
|
+
https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.91.98),如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。
|
|
3189
|
+
*/
|
|
3190
|
+
IMAdminUserId?: string;
|
|
3191
|
+
/**
|
|
3192
|
+
* IM管理员账户生成的签名,用于向特定群组发送消息。如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。必须和IM管理员的UserId一起填写。
|
|
3193
|
+
*/
|
|
3194
|
+
IMAdminUserSig?: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* 房间内推流用户全部退出后超过MaxIdleTime秒,后台自动关闭转录任务,默认值是60s。
|
|
3197
|
+
*/
|
|
3198
|
+
MaxIdleTime?: number;
|
|
3199
|
+
/**
|
|
3200
|
+
* 1表示机器人只订阅单个人的流,0表示机器人订阅整个房间的流,如果不填默认订阅整个房间的流。
|
|
3201
|
+
*/
|
|
3202
|
+
TranscriptionMode?: number;
|
|
3203
|
+
/**
|
|
3204
|
+
* TranscriptionMode为1时必填,机器人只会拉该userid的流,忽略房间里其他用户。
|
|
3205
|
+
*/
|
|
3206
|
+
TargetUserId?: string;
|
|
3207
|
+
}
|
|
3091
3208
|
/**
|
|
3092
3209
|
* SeriesInfos类型
|
|
3093
3210
|
*/
|
|
@@ -3296,6 +3413,15 @@ export interface AudioParams {
|
|
|
3296
3413
|
*/
|
|
3297
3414
|
BitRate: number;
|
|
3298
3415
|
}
|
|
3416
|
+
/**
|
|
3417
|
+
* StopAITranscription返回参数结构体
|
|
3418
|
+
*/
|
|
3419
|
+
export interface StopAITranscriptionResponse {
|
|
3420
|
+
/**
|
|
3421
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3422
|
+
*/
|
|
3423
|
+
RequestId?: string;
|
|
3424
|
+
}
|
|
3299
3425
|
/**
|
|
3300
3426
|
* SeriesInfo类型
|
|
3301
3427
|
*/
|
|
@@ -3352,6 +3478,23 @@ export interface PublishCdnParams {
|
|
|
3352
3478
|
*/
|
|
3353
3479
|
PublishCdnUrls: Array<string>;
|
|
3354
3480
|
}
|
|
3481
|
+
/**
|
|
3482
|
+
* DescribeAITranscription返回参数结构体
|
|
3483
|
+
*/
|
|
3484
|
+
export interface DescribeAITranscriptionResponse {
|
|
3485
|
+
/**
|
|
3486
|
+
* 起始时间。
|
|
3487
|
+
*/
|
|
3488
|
+
StartTime?: string;
|
|
3489
|
+
/**
|
|
3490
|
+
* 转录任务状态。
|
|
3491
|
+
*/
|
|
3492
|
+
Status?: string;
|
|
3493
|
+
/**
|
|
3494
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3495
|
+
*/
|
|
3496
|
+
RequestId?: string;
|
|
3497
|
+
}
|
|
3355
3498
|
/**
|
|
3356
3499
|
* 水印参数。
|
|
3357
3500
|
*/
|
|
@@ -3436,6 +3579,19 @@ export interface CreatePictureResponse {
|
|
|
3436
3579
|
*/
|
|
3437
3580
|
RequestId?: string;
|
|
3438
3581
|
}
|
|
3582
|
+
/**
|
|
3583
|
+
* StartAITranscription返回参数结构体
|
|
3584
|
+
*/
|
|
3585
|
+
export interface StartAITranscriptionResponse {
|
|
3586
|
+
/**
|
|
3587
|
+
* 用于唯一标识转录任务。
|
|
3588
|
+
*/
|
|
3589
|
+
TaskId?: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3592
|
+
*/
|
|
3593
|
+
RequestId?: string;
|
|
3594
|
+
}
|
|
3439
3595
|
/**
|
|
3440
3596
|
* RemoveUser返回参数结构体
|
|
3441
3597
|
*/
|