tencentcloud-sdk-nodejs-trtc 4.0.905 → 4.0.907
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 +25 -25
- package/src/services/trtc/v20190722/trtc_client.ts +20 -7
- package/src/services/trtc/v20190722/trtc_models.ts +207 -163
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +5 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +6 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +203 -162
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-07-
|
|
9
|
+
| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-07-29 01:07:39 |
|
|
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 |
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 |
|
|
41
41
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-07-22 01:14:47 |
|
|
42
42
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-07-25 01:15:18 |
|
|
43
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-07-
|
|
43
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-07-30 01:15:40 |
|
|
44
44
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-07-17 01:09:51 |
|
|
45
45
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 |
|
|
46
46
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-07-24 01:18:18 |
|
|
49
49
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
|
|
50
50
|
| cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
|
|
51
|
-
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-
|
|
51
|
+
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-26 14:53:06 |
|
|
52
52
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-04-26 01:10:32 |
|
|
53
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-07-
|
|
53
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-07-30 01:19:22 |
|
|
54
54
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
|
|
55
55
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-06-17 01:21:02 |
|
|
56
56
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
|
|
@@ -62,19 +62,19 @@
|
|
|
62
62
|
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
|
|
63
63
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
|
|
64
64
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
|
|
65
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-07-
|
|
66
|
-
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-
|
|
65
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-07-30 01:22:32 |
|
|
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 |
|
|
69
69
|
| config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2024-03-20 01:12:18 |
|
|
70
70
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
|
|
71
71
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
72
|
-
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-07-
|
|
72
|
+
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-07-30 01:24:16 |
|
|
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-07-22 01:24:41 |
|
|
75
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-
|
|
75
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-30 01:25:44 |
|
|
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-07-
|
|
77
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-29 01:29:15 |
|
|
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 |
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
|
|
84
84
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
|
|
85
85
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-07-17 01:14:09 |
|
|
86
|
-
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-
|
|
86
|
+
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-29 01:33:59 |
|
|
87
87
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-02 01:14:51 |
|
|
88
88
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 |
|
|
89
89
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
99
99
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-25 14:51:25 |
|
|
100
100
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-22 01:39:08 |
|
|
101
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-
|
|
102
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-
|
|
101
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-29 01:40:13 |
|
|
102
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-29 01:41:10 |
|
|
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-19 01:47:20 |
|
|
105
105
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-06-28 01:12:56 |
|
|
126
126
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
|
127
127
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
|
|
128
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-07-
|
|
128
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-07-30 01:46:29 |
|
|
129
129
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
|
|
130
130
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-07-08 01:16:48 |
|
|
131
131
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-07-09 14:27:21 |
|
|
135
135
|
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
|
|
136
136
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
|
|
137
|
-
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-07-
|
|
137
|
+
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-07-29 01:51:41 |
|
|
138
138
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-26 01:52:51 |
|
|
139
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-
|
|
140
|
-
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-
|
|
139
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-30 01:53:06 |
|
|
140
|
+
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-29 01:54:14 |
|
|
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 |
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
|
|
158
158
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
159
159
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
|
|
160
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-
|
|
160
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-29 02:00:34 |
|
|
161
161
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
|
|
162
162
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-07-12 01:22:08 |
|
|
163
163
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-06-20 02:08:58 |
|
|
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-
|
|
182
|
+
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-07-29 02:06:40 |
|
|
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-07-05 01:16:31 |
|
|
185
185
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2024-05-14 02:28:40 |
|
|
195
195
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
196
196
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2024-03-20 01:24:24 |
|
|
197
|
-
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2024-
|
|
197
|
+
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2024-07-30 02:09:55 |
|
|
198
198
|
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-06-04 02:12:41 |
|
|
199
199
|
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2024-06-18 02:13:09 |
|
|
200
200
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
@@ -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-07-30 02:12:20 |
|
|
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 |
|
|
@@ -226,8 +226,8 @@
|
|
|
226
226
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
|
|
227
227
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-07-05 01:19:38 |
|
|
228
228
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
|
|
229
|
-
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-
|
|
230
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-
|
|
229
|
+
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-29 02:22:08 |
|
|
230
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-30 02:22:25 |
|
|
231
231
|
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-07-10 01:27:48 |
|
|
232
232
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-11 01:28:05 |
|
|
233
233
|
| tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-07-17 01:28:37 |
|
|
@@ -235,15 +235,15 @@
|
|
|
235
235
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-07-08 01:25:23 |
|
|
236
236
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
|
|
237
237
|
| vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 |
|
|
238
|
-
| vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-
|
|
238
|
+
| vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-29 02:25:41 |
|
|
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
242
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-23 11:34:10 |
|
|
243
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-
|
|
243
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-30 02:28:21 |
|
|
244
244
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
|
|
245
245
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
|
|
246
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-
|
|
246
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-29 02:30:48 |
|
|
247
247
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
|
|
248
248
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-07-25 02:32:09 |
|
|
249
249
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
|
|
@@ -20,9 +20,10 @@ import {
|
|
|
20
20
|
AgentConfig,
|
|
21
21
|
CreatePictureRequest,
|
|
22
22
|
AudioEncodeParams,
|
|
23
|
+
ServerPushText,
|
|
23
24
|
DescribeTRTCMarketQualityMetricDataResponse,
|
|
24
25
|
MixLayout,
|
|
25
|
-
|
|
26
|
+
McuVideoParams,
|
|
26
27
|
DescribeTRTCRealTimeScaleDataRequest,
|
|
27
28
|
StartAIConversationResponse,
|
|
28
29
|
STTConfig,
|
|
@@ -36,7 +37,7 @@ import {
|
|
|
36
37
|
AbnormalEvent,
|
|
37
38
|
ScaleInfomation,
|
|
38
39
|
DescribeTRTCRealTimeScaleMetricDataRequest,
|
|
39
|
-
|
|
40
|
+
ControlAIConversationResponse,
|
|
40
41
|
StopAITranscriptionRequest,
|
|
41
42
|
VideoEncodeParams,
|
|
42
43
|
DescribeUserEventResponse,
|
|
@@ -61,7 +62,6 @@ import {
|
|
|
61
62
|
DescribeWebRecordRequest,
|
|
62
63
|
DescribeTRTCRealTimeScaleDataResponse,
|
|
63
64
|
DescribeRecordStatisticRequest,
|
|
64
|
-
McuVideoParams,
|
|
65
65
|
DescribeRoomInfoRequest,
|
|
66
66
|
StorageParams,
|
|
67
67
|
CloudVod,
|
|
@@ -82,11 +82,12 @@ import {
|
|
|
82
82
|
EventList,
|
|
83
83
|
DescribeTrtcUsageRequest,
|
|
84
84
|
DescribeRoomInfoResponse,
|
|
85
|
-
|
|
85
|
+
McuLayoutParams,
|
|
86
86
|
DescribeTRTCRealTimeQualityMetricDataRequest,
|
|
87
87
|
DescribeAITranscriptionRequest,
|
|
88
88
|
SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
89
89
|
DescribeAIConversationResponse,
|
|
90
|
+
McuLayout,
|
|
90
91
|
DescribeUserInfoResponse,
|
|
91
92
|
RemoveUserByStrRoomIdResponse,
|
|
92
93
|
DescribeTRTCRealTimeScaleMetricDataResponse,
|
|
@@ -98,7 +99,7 @@ import {
|
|
|
98
99
|
DescribeTRTCMarketScaleMetricDataRequest,
|
|
99
100
|
DescribeRelayUsageResponse,
|
|
100
101
|
StartStreamIngestRequest,
|
|
101
|
-
|
|
102
|
+
DescribeRecordingUsageResponse,
|
|
102
103
|
StopMCUMixTranscodeRequest,
|
|
103
104
|
ModifyPictureResponse,
|
|
104
105
|
DescribeRecordingUsageRequest,
|
|
@@ -113,7 +114,7 @@ import {
|
|
|
113
114
|
AudioEncode,
|
|
114
115
|
RemoveUserRequest,
|
|
115
116
|
TRTCDataResult,
|
|
116
|
-
|
|
117
|
+
DismissRoomRequest,
|
|
117
118
|
DescribeUnusualEventRequest,
|
|
118
119
|
DescribeCloudRecordingRequest,
|
|
119
120
|
TencentVod,
|
|
@@ -144,11 +145,13 @@ import {
|
|
|
144
145
|
DeleteCloudRecordingRequest,
|
|
145
146
|
DescribePictureRequest,
|
|
146
147
|
TRTCDataResp,
|
|
148
|
+
VideoParams,
|
|
147
149
|
DescribePictureResponse,
|
|
148
150
|
DescribeTrtcRoomUsageRequest,
|
|
149
151
|
DescribeTrtcMcuTranscodeTimeRequest,
|
|
150
152
|
UserInformation,
|
|
151
153
|
DescribeScaleInfoRequest,
|
|
154
|
+
ControlAIConversationRequest,
|
|
152
155
|
DismissRoomByStrRoomIdResponse,
|
|
153
156
|
DescribeUnusualEventResponse,
|
|
154
157
|
ModifyCloudRecordingResponse,
|
|
@@ -168,7 +171,7 @@ import {
|
|
|
168
171
|
StopWebRecordResponse,
|
|
169
172
|
SummarizeTranscriptionResponse,
|
|
170
173
|
DeletePictureRequest,
|
|
171
|
-
|
|
174
|
+
StopWebRecordRequest,
|
|
172
175
|
McuSeiParams,
|
|
173
176
|
StopAIConversationRequest,
|
|
174
177
|
UpdatePublishCdnStreamResponse,
|
|
@@ -993,6 +996,16 @@ networkDelay :网络延迟率。
|
|
|
993
996
|
return this.request("DescribeTRTCMarketQualityData", req, cb)
|
|
994
997
|
}
|
|
995
998
|
|
|
999
|
+
/**
|
|
1000
|
+
* 提供服务端控制机器人的功能
|
|
1001
|
+
*/
|
|
1002
|
+
async ControlAIConversation(
|
|
1003
|
+
req: ControlAIConversationRequest,
|
|
1004
|
+
cb?: (error: string, rep: ControlAIConversationResponse) => void
|
|
1005
|
+
): Promise<ControlAIConversationResponse> {
|
|
1006
|
+
return this.request("ControlAIConversation", req, cb)
|
|
1007
|
+
}
|
|
1008
|
+
|
|
996
1009
|
/**
|
|
997
1010
|
* 停止AI转录任务。
|
|
998
1011
|
*/
|
|
@@ -97,6 +97,20 @@ export interface AudioEncodeParams {
|
|
|
97
97
|
Volume?: number
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
/**
|
|
101
|
+
* 服务端控制AI对话机器人播报指定文本
|
|
102
|
+
*/
|
|
103
|
+
export interface ServerPushText {
|
|
104
|
+
/**
|
|
105
|
+
* 服务端推送播报文本
|
|
106
|
+
*/
|
|
107
|
+
Text?: string
|
|
108
|
+
/**
|
|
109
|
+
* 是否允许该文本打断机器人说话
|
|
110
|
+
*/
|
|
111
|
+
Interrupt?: boolean
|
|
112
|
+
}
|
|
113
|
+
|
|
100
114
|
/**
|
|
101
115
|
* DescribeTRTCMarketQualityMetricData返回参数结构体
|
|
102
116
|
*/
|
|
@@ -167,21 +181,41 @@ export interface MixLayout {
|
|
|
167
181
|
}
|
|
168
182
|
|
|
169
183
|
/**
|
|
170
|
-
*
|
|
184
|
+
* 混流转推的视频相关参数。
|
|
171
185
|
*/
|
|
172
|
-
export interface
|
|
186
|
+
export interface McuVideoParams {
|
|
173
187
|
/**
|
|
174
|
-
*
|
|
188
|
+
* 输出流视频编码参数。
|
|
175
189
|
*/
|
|
176
|
-
|
|
190
|
+
VideoEncode?: VideoEncode
|
|
177
191
|
/**
|
|
178
|
-
*
|
|
192
|
+
* 混流布局参数。
|
|
179
193
|
*/
|
|
180
|
-
|
|
194
|
+
LayoutParams?: McuLayoutParams
|
|
181
195
|
/**
|
|
182
|
-
*
|
|
196
|
+
* 整个画布背景颜色,常用的颜色有:
|
|
197
|
+
红色:0xcc0033。
|
|
198
|
+
黄色:0xcc9900。
|
|
199
|
+
绿色:0xcccc33。
|
|
200
|
+
蓝色:0x99CCFF。
|
|
201
|
+
黑色:0x000000。
|
|
202
|
+
白色:0xFFFFFF。
|
|
203
|
+
灰色:0x999999。
|
|
183
204
|
*/
|
|
184
|
-
|
|
205
|
+
BackGroundColor?: string
|
|
206
|
+
/**
|
|
207
|
+
* 整个画布的背景图url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
|
|
208
|
+
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图将不会生效。
|
|
209
|
+
*/
|
|
210
|
+
BackgroundImageUrl?: string
|
|
211
|
+
/**
|
|
212
|
+
* 混流布局的水印参数。
|
|
213
|
+
*/
|
|
214
|
+
WaterMarkList?: Array<McuWaterMarkParams>
|
|
215
|
+
/**
|
|
216
|
+
* 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
|
|
217
|
+
*/
|
|
218
|
+
BackgroundRenderMode?: number
|
|
185
219
|
}
|
|
186
220
|
|
|
187
221
|
/**
|
|
@@ -493,13 +527,13 @@ export interface DescribeTRTCRealTimeScaleMetricDataRequest {
|
|
|
493
527
|
}
|
|
494
528
|
|
|
495
529
|
/**
|
|
496
|
-
*
|
|
530
|
+
* ControlAIConversation返回参数结构体
|
|
497
531
|
*/
|
|
498
|
-
export interface
|
|
532
|
+
export interface ControlAIConversationResponse {
|
|
499
533
|
/**
|
|
500
|
-
*
|
|
534
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
501
535
|
*/
|
|
502
|
-
|
|
536
|
+
RequestId?: string
|
|
503
537
|
}
|
|
504
538
|
|
|
505
539
|
/**
|
|
@@ -1039,44 +1073,6 @@ export interface DescribeRecordStatisticRequest {
|
|
|
1039
1073
|
SdkAppId?: number
|
|
1040
1074
|
}
|
|
1041
1075
|
|
|
1042
|
-
/**
|
|
1043
|
-
* 混流转推的视频相关参数。
|
|
1044
|
-
*/
|
|
1045
|
-
export interface McuVideoParams {
|
|
1046
|
-
/**
|
|
1047
|
-
* 输出流视频编码参数。
|
|
1048
|
-
*/
|
|
1049
|
-
VideoEncode?: VideoEncode
|
|
1050
|
-
/**
|
|
1051
|
-
* 混流布局参数。
|
|
1052
|
-
*/
|
|
1053
|
-
LayoutParams?: McuLayoutParams
|
|
1054
|
-
/**
|
|
1055
|
-
* 整个画布背景颜色,常用的颜色有:
|
|
1056
|
-
红色:0xcc0033。
|
|
1057
|
-
黄色:0xcc9900。
|
|
1058
|
-
绿色:0xcccc33。
|
|
1059
|
-
蓝色:0x99CCFF。
|
|
1060
|
-
黑色:0x000000。
|
|
1061
|
-
白色:0xFFFFFF。
|
|
1062
|
-
灰色:0x999999。
|
|
1063
|
-
*/
|
|
1064
|
-
BackGroundColor?: string
|
|
1065
|
-
/**
|
|
1066
|
-
* 整个画布的背景图url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
|
|
1067
|
-
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图将不会生效。
|
|
1068
|
-
*/
|
|
1069
|
-
BackgroundImageUrl?: string
|
|
1070
|
-
/**
|
|
1071
|
-
* 混流布局的水印参数。
|
|
1072
|
-
*/
|
|
1073
|
-
WaterMarkList?: Array<McuWaterMarkParams>
|
|
1074
|
-
/**
|
|
1075
|
-
* 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
|
|
1076
|
-
*/
|
|
1077
|
-
BackgroundRenderMode?: number
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
1076
|
/**
|
|
1081
1077
|
* DescribeRoomInfo请求参数结构体
|
|
1082
1078
|
*/
|
|
@@ -1496,17 +1492,29 @@ export interface DescribeRoomInfoResponse {
|
|
|
1496
1492
|
}
|
|
1497
1493
|
|
|
1498
1494
|
/**
|
|
1499
|
-
*
|
|
1495
|
+
* 混流布局参数。
|
|
1500
1496
|
*/
|
|
1501
|
-
export interface
|
|
1497
|
+
export interface McuLayoutParams {
|
|
1502
1498
|
/**
|
|
1503
|
-
*
|
|
1499
|
+
* 布局模式:动态布局(1:悬浮布局(默认),2:屏幕分享布局,3:九宫格布局),静态布局(4:自定义布局)。
|
|
1504
1500
|
*/
|
|
1505
|
-
|
|
1501
|
+
MixLayoutMode?: number
|
|
1506
1502
|
/**
|
|
1507
|
-
*
|
|
1503
|
+
* 纯音频上行是否占布局位置,只在动态布局中有效。0表示纯音频不占布局位置,1表示纯音频占布局位置,不填默认为0。
|
|
1508
1504
|
*/
|
|
1509
|
-
|
|
1505
|
+
PureAudioHoldPlaceMode?: number
|
|
1506
|
+
/**
|
|
1507
|
+
* 自定义模板中有效,指定用户视频在混合画面中的位置。
|
|
1508
|
+
*/
|
|
1509
|
+
MixLayoutList?: Array<McuLayout>
|
|
1510
|
+
/**
|
|
1511
|
+
* 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
|
|
1512
|
+
*/
|
|
1513
|
+
MaxVideoUser?: MaxVideoUser
|
|
1514
|
+
/**
|
|
1515
|
+
* 屏幕分享模板、悬浮模板、九宫格模版有效,画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底
|
|
1516
|
+
*/
|
|
1517
|
+
RenderMode?: number
|
|
1510
1518
|
}
|
|
1511
1519
|
|
|
1512
1520
|
/**
|
|
@@ -1609,6 +1617,85 @@ export interface DescribeAIConversationResponse {
|
|
|
1609
1617
|
RequestId?: string
|
|
1610
1618
|
}
|
|
1611
1619
|
|
|
1620
|
+
/**
|
|
1621
|
+
* 混流布局参数。
|
|
1622
|
+
*/
|
|
1623
|
+
export interface McuLayout {
|
|
1624
|
+
/**
|
|
1625
|
+
* 用户媒体流参数。不填时腾讯云后台按照上行主播的进房顺序自动填充。
|
|
1626
|
+
*/
|
|
1627
|
+
UserMediaStream?: UserMediaStream
|
|
1628
|
+
/**
|
|
1629
|
+
* 子画面在输出时的宽度,单位为像素值,不填默认为0。
|
|
1630
|
+
*/
|
|
1631
|
+
ImageWidth?: number
|
|
1632
|
+
/**
|
|
1633
|
+
* 子画面在输出时的高度,单位为像素值,不填默认为0。
|
|
1634
|
+
*/
|
|
1635
|
+
ImageHeight?: number
|
|
1636
|
+
/**
|
|
1637
|
+
* 子画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
|
|
1638
|
+
*/
|
|
1639
|
+
LocationX?: number
|
|
1640
|
+
/**
|
|
1641
|
+
* 子画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
|
|
1642
|
+
*/
|
|
1643
|
+
LocationY?: number
|
|
1644
|
+
/**
|
|
1645
|
+
* 子画面在输出时的层级,不填默认为0。
|
|
1646
|
+
*/
|
|
1647
|
+
ZOrder?: number
|
|
1648
|
+
/**
|
|
1649
|
+
* 子画面在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底。不填默认为0。
|
|
1650
|
+
*/
|
|
1651
|
+
RenderMode?: number
|
|
1652
|
+
/**
|
|
1653
|
+
* 【此参数配置无效,暂不支持】子画面的背景颜色,常用的颜色有:
|
|
1654
|
+
红色:0xcc0033。
|
|
1655
|
+
黄色:0xcc9900。
|
|
1656
|
+
绿色:0xcccc33。
|
|
1657
|
+
蓝色:0x99CCFF。
|
|
1658
|
+
黑色:0x000000。
|
|
1659
|
+
白色:0xFFFFFF。
|
|
1660
|
+
灰色:0x999999。
|
|
1661
|
+
*/
|
|
1662
|
+
BackGroundColor?: string
|
|
1663
|
+
/**
|
|
1664
|
+
* 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
|
|
1665
|
+
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,子画面的背景图将不会生效。
|
|
1666
|
+
*/
|
|
1667
|
+
BackgroundImageUrl?: string
|
|
1668
|
+
/**
|
|
1669
|
+
* 客户自定义裁剪,针对原始输入流裁剪
|
|
1670
|
+
*/
|
|
1671
|
+
CustomCrop?: McuCustomCrop
|
|
1672
|
+
/**
|
|
1673
|
+
* 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
|
|
1674
|
+
*/
|
|
1675
|
+
BackgroundRenderMode?: number
|
|
1676
|
+
/**
|
|
1677
|
+
* 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
|
|
1678
|
+
注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
|
|
1679
|
+
*/
|
|
1680
|
+
TransparentUrl?: string
|
|
1681
|
+
/**
|
|
1682
|
+
* 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。
|
|
1683
|
+
*/
|
|
1684
|
+
BackgroundCustomRender?: McuBackgroundCustomRender
|
|
1685
|
+
/**
|
|
1686
|
+
* 子背景色生效模式,默认值为0表示均不生效。
|
|
1687
|
+
bit0:占位图缩放是否生效。
|
|
1688
|
+
bit1:上行流缩放是否生效。
|
|
1689
|
+
您可以将相应bit位置1启动生效,例如:
|
|
1690
|
+
0(00)表示子背景色不生效。
|
|
1691
|
+
1(01)表示子背景色只在占位图缩放时生效。
|
|
1692
|
+
2(10)表示子背景色只在上行流缩放时生效。
|
|
1693
|
+
3(11)表示子背景色在占位图缩放和上行流缩放时均生效。
|
|
1694
|
+
|
|
1695
|
+
*/
|
|
1696
|
+
BackGroundColorMode?: number
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1612
1699
|
/**
|
|
1613
1700
|
* DescribeUserInfo返回参数结构体
|
|
1614
1701
|
*/
|
|
@@ -1874,82 +1961,21 @@ export interface StartStreamIngestRequest {
|
|
|
1874
1961
|
}
|
|
1875
1962
|
|
|
1876
1963
|
/**
|
|
1877
|
-
*
|
|
1964
|
+
* DescribeRecordingUsage返回参数结构体
|
|
1878
1965
|
*/
|
|
1879
|
-
export interface
|
|
1880
|
-
/**
|
|
1881
|
-
* 用户媒体流参数。不填时腾讯云后台按照上行主播的进房顺序自动填充。
|
|
1882
|
-
*/
|
|
1883
|
-
UserMediaStream?: UserMediaStream
|
|
1884
|
-
/**
|
|
1885
|
-
* 子画面在输出时的宽度,单位为像素值,不填默认为0。
|
|
1886
|
-
*/
|
|
1887
|
-
ImageWidth?: number
|
|
1888
|
-
/**
|
|
1889
|
-
* 子画面在输出时的高度,单位为像素值,不填默认为0。
|
|
1890
|
-
*/
|
|
1891
|
-
ImageHeight?: number
|
|
1892
|
-
/**
|
|
1893
|
-
* 子画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
|
|
1894
|
-
*/
|
|
1895
|
-
LocationX?: number
|
|
1896
|
-
/**
|
|
1897
|
-
* 子画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
|
|
1898
|
-
*/
|
|
1899
|
-
LocationY?: number
|
|
1900
|
-
/**
|
|
1901
|
-
* 子画面在输出时的层级,不填默认为0。
|
|
1902
|
-
*/
|
|
1903
|
-
ZOrder?: number
|
|
1904
|
-
/**
|
|
1905
|
-
* 子画面在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底。不填默认为0。
|
|
1906
|
-
*/
|
|
1907
|
-
RenderMode?: number
|
|
1908
|
-
/**
|
|
1909
|
-
* 【此参数配置无效,暂不支持】子画面的背景颜色,常用的颜色有:
|
|
1910
|
-
红色:0xcc0033。
|
|
1911
|
-
黄色:0xcc9900。
|
|
1912
|
-
绿色:0xcccc33。
|
|
1913
|
-
蓝色:0x99CCFF。
|
|
1914
|
-
黑色:0x000000。
|
|
1915
|
-
白色:0xFFFFFF。
|
|
1916
|
-
灰色:0x999999。
|
|
1917
|
-
*/
|
|
1918
|
-
BackGroundColor?: string
|
|
1919
|
-
/**
|
|
1920
|
-
* 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
|
|
1921
|
-
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,子画面的背景图将不会生效。
|
|
1922
|
-
*/
|
|
1923
|
-
BackgroundImageUrl?: string
|
|
1924
|
-
/**
|
|
1925
|
-
* 客户自定义裁剪,针对原始输入流裁剪
|
|
1926
|
-
*/
|
|
1927
|
-
CustomCrop?: McuCustomCrop
|
|
1928
|
-
/**
|
|
1929
|
-
* 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
|
|
1930
|
-
*/
|
|
1931
|
-
BackgroundRenderMode?: number
|
|
1966
|
+
export interface DescribeRecordingUsageResponse {
|
|
1932
1967
|
/**
|
|
1933
|
-
*
|
|
1934
|
-
注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
|
|
1968
|
+
* 用量类型,与UsageValue中各个位置的值对应。
|
|
1935
1969
|
*/
|
|
1936
|
-
|
|
1970
|
+
UsageKey?: Array<string>
|
|
1937
1971
|
/**
|
|
1938
|
-
*
|
|
1972
|
+
* 各个时间点用量明细。
|
|
1939
1973
|
*/
|
|
1940
|
-
|
|
1974
|
+
UsageList?: Array<TrtcUsage>
|
|
1941
1975
|
/**
|
|
1942
|
-
*
|
|
1943
|
-
bit0:占位图缩放是否生效。
|
|
1944
|
-
bit1:上行流缩放是否生效。
|
|
1945
|
-
您可以将相应bit位置1启动生效,例如:
|
|
1946
|
-
0(00)表示子背景色不生效。
|
|
1947
|
-
1(01)表示子背景色只在占位图缩放时生效。
|
|
1948
|
-
2(10)表示子背景色只在上行流缩放时生效。
|
|
1949
|
-
3(11)表示子背景色在占位图缩放和上行流缩放时均生效。
|
|
1950
|
-
|
|
1976
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1951
1977
|
*/
|
|
1952
|
-
|
|
1978
|
+
RequestId?: string
|
|
1953
1979
|
}
|
|
1954
1980
|
|
|
1955
1981
|
/**
|
|
@@ -2262,29 +2288,17 @@ export interface TRTCDataResult {
|
|
|
2262
2288
|
}
|
|
2263
2289
|
|
|
2264
2290
|
/**
|
|
2265
|
-
*
|
|
2291
|
+
* DismissRoom请求参数结构体
|
|
2266
2292
|
*/
|
|
2267
|
-
export interface
|
|
2268
|
-
/**
|
|
2269
|
-
* 布局模式:动态布局(1:悬浮布局(默认),2:屏幕分享布局,3:九宫格布局),静态布局(4:自定义布局)。
|
|
2270
|
-
*/
|
|
2271
|
-
MixLayoutMode?: number
|
|
2272
|
-
/**
|
|
2273
|
-
* 纯音频上行是否占布局位置,只在动态布局中有效。0表示纯音频不占布局位置,1表示纯音频占布局位置,不填默认为0。
|
|
2274
|
-
*/
|
|
2275
|
-
PureAudioHoldPlaceMode?: number
|
|
2276
|
-
/**
|
|
2277
|
-
* 自定义模板中有效,指定用户视频在混合画面中的位置。
|
|
2278
|
-
*/
|
|
2279
|
-
MixLayoutList?: Array<McuLayout>
|
|
2293
|
+
export interface DismissRoomRequest {
|
|
2280
2294
|
/**
|
|
2281
|
-
*
|
|
2295
|
+
* TRTC的SDKAppId。
|
|
2282
2296
|
*/
|
|
2283
|
-
|
|
2297
|
+
SdkAppId: number
|
|
2284
2298
|
/**
|
|
2285
|
-
*
|
|
2299
|
+
* 数字房间号。本接口仅支持解散数字类型房间号,如需解散字符串类型房间号,请使用DismissRoomByStrRoomId。
|
|
2286
2300
|
*/
|
|
2287
|
-
|
|
2301
|
+
RoomId: number
|
|
2288
2302
|
}
|
|
2289
2303
|
|
|
2290
2304
|
/**
|
|
@@ -2999,6 +3013,32 @@ export interface TRTCDataResp {
|
|
|
2999
3013
|
Total: number
|
|
3000
3014
|
}
|
|
3001
3015
|
|
|
3016
|
+
/**
|
|
3017
|
+
* 录制视频转码参数。
|
|
3018
|
+
*/
|
|
3019
|
+
export interface VideoParams {
|
|
3020
|
+
/**
|
|
3021
|
+
* 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
|
|
3022
|
+
*/
|
|
3023
|
+
Width: number
|
|
3024
|
+
/**
|
|
3025
|
+
* 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
|
|
3026
|
+
*/
|
|
3027
|
+
Height: number
|
|
3028
|
+
/**
|
|
3029
|
+
* 视频的帧率,范围[1, 60],默认15。
|
|
3030
|
+
*/
|
|
3031
|
+
Fps: number
|
|
3032
|
+
/**
|
|
3033
|
+
* 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
|
|
3034
|
+
*/
|
|
3035
|
+
BitRate: number
|
|
3036
|
+
/**
|
|
3037
|
+
* 视频关键帧时间间隔,单位秒,默认值10秒。
|
|
3038
|
+
*/
|
|
3039
|
+
Gop: number
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3002
3042
|
/**
|
|
3003
3043
|
* DescribePicture返回参数结构体
|
|
3004
3044
|
*/
|
|
@@ -3112,6 +3152,26 @@ export interface DescribeScaleInfoRequest {
|
|
|
3112
3152
|
EndTime: number
|
|
3113
3153
|
}
|
|
3114
3154
|
|
|
3155
|
+
/**
|
|
3156
|
+
* ControlAIConversation请求参数结构体
|
|
3157
|
+
*/
|
|
3158
|
+
export interface ControlAIConversationRequest {
|
|
3159
|
+
/**
|
|
3160
|
+
* 任务唯一标识
|
|
3161
|
+
*/
|
|
3162
|
+
TaskId: string
|
|
3163
|
+
/**
|
|
3164
|
+
* 控制命令,目前支持命令如下:
|
|
3165
|
+
|
|
3166
|
+
- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
|
3167
|
+
*/
|
|
3168
|
+
Command: string
|
|
3169
|
+
/**
|
|
3170
|
+
* 服务端发送播报文本命令,当Command为ServerPushText时必填
|
|
3171
|
+
*/
|
|
3172
|
+
ServerPushText?: ServerPushText
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3115
3175
|
/**
|
|
3116
3176
|
* DismissRoomByStrRoomId返回参数结构体
|
|
3117
3177
|
*/
|
|
@@ -3489,29 +3549,13 @@ export interface DeletePictureRequest {
|
|
|
3489
3549
|
}
|
|
3490
3550
|
|
|
3491
3551
|
/**
|
|
3492
|
-
*
|
|
3552
|
+
* StopWebRecord请求参数结构体
|
|
3493
3553
|
*/
|
|
3494
|
-
export interface
|
|
3495
|
-
/**
|
|
3496
|
-
* 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
|
|
3497
|
-
*/
|
|
3498
|
-
Width: number
|
|
3499
|
-
/**
|
|
3500
|
-
* 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
|
|
3501
|
-
*/
|
|
3502
|
-
Height: number
|
|
3503
|
-
/**
|
|
3504
|
-
* 视频的帧率,范围[1, 60],默认15。
|
|
3505
|
-
*/
|
|
3506
|
-
Fps: number
|
|
3507
|
-
/**
|
|
3508
|
-
* 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
|
|
3509
|
-
*/
|
|
3510
|
-
BitRate: number
|
|
3554
|
+
export interface StopWebRecordRequest {
|
|
3511
3555
|
/**
|
|
3512
|
-
*
|
|
3556
|
+
* 需要停止的任务Id
|
|
3513
3557
|
*/
|
|
3514
|
-
|
|
3558
|
+
TaskId: string
|
|
3515
3559
|
}
|
|
3516
3560
|
|
|
3517
3561
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse,
|
|
2
|
+
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, ControlAIConversationResponse, StopAITranscriptionRequest, 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, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeAITranscriptionRequest, DescribeAIConversationResponse, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DismissRoomRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, StartWebRecordResponse, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, StartAIConversationRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StopAIConversationResponse, StartPublishCdnStreamRequest, DescribeAIConversationRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, ControlAIConversationRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, StartAITranscriptionRequest, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCMarketQualityDataRequest, SummarizeTranscriptionRequest, UpdatePublishCdnStreamRequest, StartWebRecordRequest, StopWebRecordResponse, SummarizeTranscriptionResponse, DeletePictureRequest, StopWebRecordRequest, StopAIConversationRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DescribeStreamIngestRequest, DescribeTRTCMarketScaleMetricDataResponse, StopAITranscriptionResponse, DescribeAITranscriptionResponse, CreatePictureResponse, StartAITranscriptionResponse, RemoveUserResponse } from "./trtc_models";
|
|
3
3
|
/**
|
|
4
4
|
* trtc client
|
|
5
5
|
* @class
|
|
@@ -493,6 +493,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
493
493
|
2.查询时间范围根据监控仪表盘功能版本而定,【基础版】可查近30天,【进阶版】可查近60天。
|
|
494
494
|
*/
|
|
495
495
|
DescribeTRTCMarketQualityData(req: DescribeTRTCMarketQualityDataRequest, cb?: (error: string, rep: DescribeTRTCMarketQualityDataResponse) => void): Promise<DescribeTRTCMarketQualityDataResponse>;
|
|
496
|
+
/**
|
|
497
|
+
* 提供服务端控制机器人的功能
|
|
498
|
+
*/
|
|
499
|
+
ControlAIConversation(req: ControlAIConversationRequest, cb?: (error: string, rep: ControlAIConversationResponse) => void): Promise<ControlAIConversationResponse>;
|
|
496
500
|
/**
|
|
497
501
|
* 停止AI转录任务。
|
|
498
502
|
*/
|
|
@@ -614,6 +614,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
614
614
|
async DescribeTRTCMarketQualityData(req, cb) {
|
|
615
615
|
return this.request("DescribeTRTCMarketQualityData", req, cb);
|
|
616
616
|
}
|
|
617
|
+
/**
|
|
618
|
+
* 提供服务端控制机器人的功能
|
|
619
|
+
*/
|
|
620
|
+
async ControlAIConversation(req, cb) {
|
|
621
|
+
return this.request("ControlAIConversation", req, cb);
|
|
622
|
+
}
|
|
617
623
|
/**
|
|
618
624
|
* 停止AI转录任务。
|
|
619
625
|
*/
|
|
@@ -77,6 +77,19 @@ export interface AudioEncodeParams {
|
|
|
77
77
|
*/
|
|
78
78
|
Volume?: number;
|
|
79
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* 服务端控制AI对话机器人播报指定文本
|
|
82
|
+
*/
|
|
83
|
+
export interface ServerPushText {
|
|
84
|
+
/**
|
|
85
|
+
* 服务端推送播报文本
|
|
86
|
+
*/
|
|
87
|
+
Text?: string;
|
|
88
|
+
/**
|
|
89
|
+
* 是否允许该文本打断机器人说话
|
|
90
|
+
*/
|
|
91
|
+
Interrupt?: boolean;
|
|
92
|
+
}
|
|
80
93
|
/**
|
|
81
94
|
* DescribeTRTCMarketQualityMetricData返回参数结构体
|
|
82
95
|
*/
|
|
@@ -145,21 +158,41 @@ export interface MixLayout {
|
|
|
145
158
|
SubBackgroundImage?: string;
|
|
146
159
|
}
|
|
147
160
|
/**
|
|
148
|
-
*
|
|
161
|
+
* 混流转推的视频相关参数。
|
|
149
162
|
*/
|
|
150
|
-
export interface
|
|
163
|
+
export interface McuVideoParams {
|
|
151
164
|
/**
|
|
152
|
-
*
|
|
165
|
+
* 输出流视频编码参数。
|
|
153
166
|
*/
|
|
154
|
-
|
|
167
|
+
VideoEncode?: VideoEncode;
|
|
155
168
|
/**
|
|
156
|
-
*
|
|
169
|
+
* 混流布局参数。
|
|
157
170
|
*/
|
|
158
|
-
|
|
171
|
+
LayoutParams?: McuLayoutParams;
|
|
159
172
|
/**
|
|
160
|
-
*
|
|
173
|
+
* 整个画布背景颜色,常用的颜色有:
|
|
174
|
+
红色:0xcc0033。
|
|
175
|
+
黄色:0xcc9900。
|
|
176
|
+
绿色:0xcccc33。
|
|
177
|
+
蓝色:0x99CCFF。
|
|
178
|
+
黑色:0x000000。
|
|
179
|
+
白色:0xFFFFFF。
|
|
180
|
+
灰色:0x999999。
|
|
161
181
|
*/
|
|
162
|
-
|
|
182
|
+
BackGroundColor?: string;
|
|
183
|
+
/**
|
|
184
|
+
* 整个画布的背景图url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
|
|
185
|
+
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图将不会生效。
|
|
186
|
+
*/
|
|
187
|
+
BackgroundImageUrl?: string;
|
|
188
|
+
/**
|
|
189
|
+
* 混流布局的水印参数。
|
|
190
|
+
*/
|
|
191
|
+
WaterMarkList?: Array<McuWaterMarkParams>;
|
|
192
|
+
/**
|
|
193
|
+
* 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
|
|
194
|
+
*/
|
|
195
|
+
BackgroundRenderMode?: number;
|
|
163
196
|
}
|
|
164
197
|
/**
|
|
165
198
|
* DescribeTRTCRealTimeScaleData请求参数结构体
|
|
@@ -457,13 +490,13 @@ export interface DescribeTRTCRealTimeScaleMetricDataRequest {
|
|
|
457
490
|
RoomId?: string;
|
|
458
491
|
}
|
|
459
492
|
/**
|
|
460
|
-
*
|
|
493
|
+
* ControlAIConversation返回参数结构体
|
|
461
494
|
*/
|
|
462
|
-
export interface
|
|
495
|
+
export interface ControlAIConversationResponse {
|
|
463
496
|
/**
|
|
464
|
-
*
|
|
497
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
465
498
|
*/
|
|
466
|
-
|
|
499
|
+
RequestId?: string;
|
|
467
500
|
}
|
|
468
501
|
/**
|
|
469
502
|
* StopAITranscription请求参数结构体
|
|
@@ -978,43 +1011,6 @@ export interface DescribeRecordStatisticRequest {
|
|
|
978
1011
|
*/
|
|
979
1012
|
SdkAppId?: number;
|
|
980
1013
|
}
|
|
981
|
-
/**
|
|
982
|
-
* 混流转推的视频相关参数。
|
|
983
|
-
*/
|
|
984
|
-
export interface McuVideoParams {
|
|
985
|
-
/**
|
|
986
|
-
* 输出流视频编码参数。
|
|
987
|
-
*/
|
|
988
|
-
VideoEncode?: VideoEncode;
|
|
989
|
-
/**
|
|
990
|
-
* 混流布局参数。
|
|
991
|
-
*/
|
|
992
|
-
LayoutParams?: McuLayoutParams;
|
|
993
|
-
/**
|
|
994
|
-
* 整个画布背景颜色,常用的颜色有:
|
|
995
|
-
红色:0xcc0033。
|
|
996
|
-
黄色:0xcc9900。
|
|
997
|
-
绿色:0xcccc33。
|
|
998
|
-
蓝色:0x99CCFF。
|
|
999
|
-
黑色:0x000000。
|
|
1000
|
-
白色:0xFFFFFF。
|
|
1001
|
-
灰色:0x999999。
|
|
1002
|
-
*/
|
|
1003
|
-
BackGroundColor?: string;
|
|
1004
|
-
/**
|
|
1005
|
-
* 整个画布的背景图url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
|
|
1006
|
-
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图将不会生效。
|
|
1007
|
-
*/
|
|
1008
|
-
BackgroundImageUrl?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
* 混流布局的水印参数。
|
|
1011
|
-
*/
|
|
1012
|
-
WaterMarkList?: Array<McuWaterMarkParams>;
|
|
1013
|
-
/**
|
|
1014
|
-
* 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
|
|
1015
|
-
*/
|
|
1016
|
-
BackgroundRenderMode?: number;
|
|
1017
|
-
}
|
|
1018
1014
|
/**
|
|
1019
1015
|
* DescribeRoomInfo请求参数结构体
|
|
1020
1016
|
*/
|
|
@@ -1414,17 +1410,29 @@ export interface DescribeRoomInfoResponse {
|
|
|
1414
1410
|
RequestId?: string;
|
|
1415
1411
|
}
|
|
1416
1412
|
/**
|
|
1417
|
-
*
|
|
1413
|
+
* 混流布局参数。
|
|
1418
1414
|
*/
|
|
1419
|
-
export interface
|
|
1415
|
+
export interface McuLayoutParams {
|
|
1420
1416
|
/**
|
|
1421
|
-
*
|
|
1417
|
+
* 布局模式:动态布局(1:悬浮布局(默认),2:屏幕分享布局,3:九宫格布局),静态布局(4:自定义布局)。
|
|
1422
1418
|
*/
|
|
1423
|
-
|
|
1419
|
+
MixLayoutMode?: number;
|
|
1424
1420
|
/**
|
|
1425
|
-
*
|
|
1421
|
+
* 纯音频上行是否占布局位置,只在动态布局中有效。0表示纯音频不占布局位置,1表示纯音频占布局位置,不填默认为0。
|
|
1426
1422
|
*/
|
|
1427
|
-
|
|
1423
|
+
PureAudioHoldPlaceMode?: number;
|
|
1424
|
+
/**
|
|
1425
|
+
* 自定义模板中有效,指定用户视频在混合画面中的位置。
|
|
1426
|
+
*/
|
|
1427
|
+
MixLayoutList?: Array<McuLayout>;
|
|
1428
|
+
/**
|
|
1429
|
+
* 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
|
|
1430
|
+
*/
|
|
1431
|
+
MaxVideoUser?: MaxVideoUser;
|
|
1432
|
+
/**
|
|
1433
|
+
* 屏幕分享模板、悬浮模板、九宫格模版有效,画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底
|
|
1434
|
+
*/
|
|
1435
|
+
RenderMode?: number;
|
|
1428
1436
|
}
|
|
1429
1437
|
/**
|
|
1430
1438
|
* DescribeTRTCRealTimeQualityMetricData请求参数结构体
|
|
@@ -1522,6 +1530,84 @@ export interface DescribeAIConversationResponse {
|
|
|
1522
1530
|
*/
|
|
1523
1531
|
RequestId?: string;
|
|
1524
1532
|
}
|
|
1533
|
+
/**
|
|
1534
|
+
* 混流布局参数。
|
|
1535
|
+
*/
|
|
1536
|
+
export interface McuLayout {
|
|
1537
|
+
/**
|
|
1538
|
+
* 用户媒体流参数。不填时腾讯云后台按照上行主播的进房顺序自动填充。
|
|
1539
|
+
*/
|
|
1540
|
+
UserMediaStream?: UserMediaStream;
|
|
1541
|
+
/**
|
|
1542
|
+
* 子画面在输出时的宽度,单位为像素值,不填默认为0。
|
|
1543
|
+
*/
|
|
1544
|
+
ImageWidth?: number;
|
|
1545
|
+
/**
|
|
1546
|
+
* 子画面在输出时的高度,单位为像素值,不填默认为0。
|
|
1547
|
+
*/
|
|
1548
|
+
ImageHeight?: number;
|
|
1549
|
+
/**
|
|
1550
|
+
* 子画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
|
|
1551
|
+
*/
|
|
1552
|
+
LocationX?: number;
|
|
1553
|
+
/**
|
|
1554
|
+
* 子画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
|
|
1555
|
+
*/
|
|
1556
|
+
LocationY?: number;
|
|
1557
|
+
/**
|
|
1558
|
+
* 子画面在输出时的层级,不填默认为0。
|
|
1559
|
+
*/
|
|
1560
|
+
ZOrder?: number;
|
|
1561
|
+
/**
|
|
1562
|
+
* 子画面在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底。不填默认为0。
|
|
1563
|
+
*/
|
|
1564
|
+
RenderMode?: number;
|
|
1565
|
+
/**
|
|
1566
|
+
* 【此参数配置无效,暂不支持】子画面的背景颜色,常用的颜色有:
|
|
1567
|
+
红色:0xcc0033。
|
|
1568
|
+
黄色:0xcc9900。
|
|
1569
|
+
绿色:0xcccc33。
|
|
1570
|
+
蓝色:0x99CCFF。
|
|
1571
|
+
黑色:0x000000。
|
|
1572
|
+
白色:0xFFFFFF。
|
|
1573
|
+
灰色:0x999999。
|
|
1574
|
+
*/
|
|
1575
|
+
BackGroundColor?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
|
|
1578
|
+
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,子画面的背景图将不会生效。
|
|
1579
|
+
*/
|
|
1580
|
+
BackgroundImageUrl?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* 客户自定义裁剪,针对原始输入流裁剪
|
|
1583
|
+
*/
|
|
1584
|
+
CustomCrop?: McuCustomCrop;
|
|
1585
|
+
/**
|
|
1586
|
+
* 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
|
|
1587
|
+
*/
|
|
1588
|
+
BackgroundRenderMode?: number;
|
|
1589
|
+
/**
|
|
1590
|
+
* 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
|
|
1591
|
+
注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
|
|
1592
|
+
*/
|
|
1593
|
+
TransparentUrl?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。
|
|
1596
|
+
*/
|
|
1597
|
+
BackgroundCustomRender?: McuBackgroundCustomRender;
|
|
1598
|
+
/**
|
|
1599
|
+
* 子背景色生效模式,默认值为0表示均不生效。
|
|
1600
|
+
bit0:占位图缩放是否生效。
|
|
1601
|
+
bit1:上行流缩放是否生效。
|
|
1602
|
+
您可以将相应bit位置1启动生效,例如:
|
|
1603
|
+
0(00)表示子背景色不生效。
|
|
1604
|
+
1(01)表示子背景色只在占位图缩放时生效。
|
|
1605
|
+
2(10)表示子背景色只在上行流缩放时生效。
|
|
1606
|
+
3(11)表示子背景色在占位图缩放和上行流缩放时均生效。
|
|
1607
|
+
|
|
1608
|
+
*/
|
|
1609
|
+
BackGroundColorMode?: number;
|
|
1610
|
+
}
|
|
1525
1611
|
/**
|
|
1526
1612
|
* DescribeUserInfo返回参数结构体
|
|
1527
1613
|
*/
|
|
@@ -1776,82 +1862,21 @@ export interface StartStreamIngestRequest {
|
|
|
1776
1862
|
SeekSecond?: number;
|
|
1777
1863
|
}
|
|
1778
1864
|
/**
|
|
1779
|
-
*
|
|
1865
|
+
* DescribeRecordingUsage返回参数结构体
|
|
1780
1866
|
*/
|
|
1781
|
-
export interface
|
|
1782
|
-
/**
|
|
1783
|
-
* 用户媒体流参数。不填时腾讯云后台按照上行主播的进房顺序自动填充。
|
|
1784
|
-
*/
|
|
1785
|
-
UserMediaStream?: UserMediaStream;
|
|
1786
|
-
/**
|
|
1787
|
-
* 子画面在输出时的宽度,单位为像素值,不填默认为0。
|
|
1788
|
-
*/
|
|
1789
|
-
ImageWidth?: number;
|
|
1790
|
-
/**
|
|
1791
|
-
* 子画面在输出时的高度,单位为像素值,不填默认为0。
|
|
1792
|
-
*/
|
|
1793
|
-
ImageHeight?: number;
|
|
1794
|
-
/**
|
|
1795
|
-
* 子画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
|
|
1796
|
-
*/
|
|
1797
|
-
LocationX?: number;
|
|
1798
|
-
/**
|
|
1799
|
-
* 子画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
|
|
1800
|
-
*/
|
|
1801
|
-
LocationY?: number;
|
|
1802
|
-
/**
|
|
1803
|
-
* 子画面在输出时的层级,不填默认为0。
|
|
1804
|
-
*/
|
|
1805
|
-
ZOrder?: number;
|
|
1806
|
-
/**
|
|
1807
|
-
* 子画面在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底。不填默认为0。
|
|
1808
|
-
*/
|
|
1809
|
-
RenderMode?: number;
|
|
1810
|
-
/**
|
|
1811
|
-
* 【此参数配置无效,暂不支持】子画面的背景颜色,常用的颜色有:
|
|
1812
|
-
红色:0xcc0033。
|
|
1813
|
-
黄色:0xcc9900。
|
|
1814
|
-
绿色:0xcccc33。
|
|
1815
|
-
蓝色:0x99CCFF。
|
|
1816
|
-
黑色:0x000000。
|
|
1817
|
-
白色:0xFFFFFF。
|
|
1818
|
-
灰色:0x999999。
|
|
1819
|
-
*/
|
|
1820
|
-
BackGroundColor?: string;
|
|
1821
|
-
/**
|
|
1822
|
-
* 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
|
|
1823
|
-
注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,子画面的背景图将不会生效。
|
|
1824
|
-
*/
|
|
1825
|
-
BackgroundImageUrl?: string;
|
|
1826
|
-
/**
|
|
1827
|
-
* 客户自定义裁剪,针对原始输入流裁剪
|
|
1828
|
-
*/
|
|
1829
|
-
CustomCrop?: McuCustomCrop;
|
|
1830
|
-
/**
|
|
1831
|
-
* 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
|
|
1832
|
-
*/
|
|
1833
|
-
BackgroundRenderMode?: number;
|
|
1867
|
+
export interface DescribeRecordingUsageResponse {
|
|
1834
1868
|
/**
|
|
1835
|
-
*
|
|
1836
|
-
注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
|
|
1869
|
+
* 用量类型,与UsageValue中各个位置的值对应。
|
|
1837
1870
|
*/
|
|
1838
|
-
|
|
1871
|
+
UsageKey?: Array<string>;
|
|
1839
1872
|
/**
|
|
1840
|
-
*
|
|
1873
|
+
* 各个时间点用量明细。
|
|
1841
1874
|
*/
|
|
1842
|
-
|
|
1875
|
+
UsageList?: Array<TrtcUsage>;
|
|
1843
1876
|
/**
|
|
1844
|
-
*
|
|
1845
|
-
bit0:占位图缩放是否生效。
|
|
1846
|
-
bit1:上行流缩放是否生效。
|
|
1847
|
-
您可以将相应bit位置1启动生效,例如:
|
|
1848
|
-
0(00)表示子背景色不生效。
|
|
1849
|
-
1(01)表示子背景色只在占位图缩放时生效。
|
|
1850
|
-
2(10)表示子背景色只在上行流缩放时生效。
|
|
1851
|
-
3(11)表示子背景色在占位图缩放和上行流缩放时均生效。
|
|
1852
|
-
|
|
1877
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1853
1878
|
*/
|
|
1854
|
-
|
|
1879
|
+
RequestId?: string;
|
|
1855
1880
|
}
|
|
1856
1881
|
/**
|
|
1857
1882
|
* StopMCUMixTranscode请求参数结构体
|
|
@@ -2149,29 +2174,17 @@ export interface TRTCDataResult {
|
|
|
2149
2174
|
Total?: number;
|
|
2150
2175
|
}
|
|
2151
2176
|
/**
|
|
2152
|
-
*
|
|
2177
|
+
* DismissRoom请求参数结构体
|
|
2153
2178
|
*/
|
|
2154
|
-
export interface
|
|
2155
|
-
/**
|
|
2156
|
-
* 布局模式:动态布局(1:悬浮布局(默认),2:屏幕分享布局,3:九宫格布局),静态布局(4:自定义布局)。
|
|
2157
|
-
*/
|
|
2158
|
-
MixLayoutMode?: number;
|
|
2159
|
-
/**
|
|
2160
|
-
* 纯音频上行是否占布局位置,只在动态布局中有效。0表示纯音频不占布局位置,1表示纯音频占布局位置,不填默认为0。
|
|
2161
|
-
*/
|
|
2162
|
-
PureAudioHoldPlaceMode?: number;
|
|
2163
|
-
/**
|
|
2164
|
-
* 自定义模板中有效,指定用户视频在混合画面中的位置。
|
|
2165
|
-
*/
|
|
2166
|
-
MixLayoutList?: Array<McuLayout>;
|
|
2179
|
+
export interface DismissRoomRequest {
|
|
2167
2180
|
/**
|
|
2168
|
-
*
|
|
2181
|
+
* TRTC的SDKAppId。
|
|
2169
2182
|
*/
|
|
2170
|
-
|
|
2183
|
+
SdkAppId: number;
|
|
2171
2184
|
/**
|
|
2172
|
-
*
|
|
2185
|
+
* 数字房间号。本接口仅支持解散数字类型房间号,如需解散字符串类型房间号,请使用DismissRoomByStrRoomId。
|
|
2173
2186
|
*/
|
|
2174
|
-
|
|
2187
|
+
RoomId: number;
|
|
2175
2188
|
}
|
|
2176
2189
|
/**
|
|
2177
2190
|
* DescribeUnusualEvent请求参数结构体
|
|
@@ -2855,6 +2868,31 @@ export interface TRTCDataResp {
|
|
|
2855
2868
|
*/
|
|
2856
2869
|
Total: number;
|
|
2857
2870
|
}
|
|
2871
|
+
/**
|
|
2872
|
+
* 录制视频转码参数。
|
|
2873
|
+
*/
|
|
2874
|
+
export interface VideoParams {
|
|
2875
|
+
/**
|
|
2876
|
+
* 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
|
|
2877
|
+
*/
|
|
2878
|
+
Width: number;
|
|
2879
|
+
/**
|
|
2880
|
+
* 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
|
|
2881
|
+
*/
|
|
2882
|
+
Height: number;
|
|
2883
|
+
/**
|
|
2884
|
+
* 视频的帧率,范围[1, 60],默认15。
|
|
2885
|
+
*/
|
|
2886
|
+
Fps: number;
|
|
2887
|
+
/**
|
|
2888
|
+
* 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
|
|
2889
|
+
*/
|
|
2890
|
+
BitRate: number;
|
|
2891
|
+
/**
|
|
2892
|
+
* 视频关键帧时间间隔,单位秒,默认值10秒。
|
|
2893
|
+
*/
|
|
2894
|
+
Gop: number;
|
|
2895
|
+
}
|
|
2858
2896
|
/**
|
|
2859
2897
|
* DescribePicture返回参数结构体
|
|
2860
2898
|
*/
|
|
@@ -2963,6 +3001,25 @@ export interface DescribeScaleInfoRequest {
|
|
|
2963
3001
|
*/
|
|
2964
3002
|
EndTime: number;
|
|
2965
3003
|
}
|
|
3004
|
+
/**
|
|
3005
|
+
* ControlAIConversation请求参数结构体
|
|
3006
|
+
*/
|
|
3007
|
+
export interface ControlAIConversationRequest {
|
|
3008
|
+
/**
|
|
3009
|
+
* 任务唯一标识
|
|
3010
|
+
*/
|
|
3011
|
+
TaskId: string;
|
|
3012
|
+
/**
|
|
3013
|
+
* 控制命令,目前支持命令如下:
|
|
3014
|
+
|
|
3015
|
+
- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
|
3016
|
+
*/
|
|
3017
|
+
Command: string;
|
|
3018
|
+
/**
|
|
3019
|
+
* 服务端发送播报文本命令,当Command为ServerPushText时必填
|
|
3020
|
+
*/
|
|
3021
|
+
ServerPushText?: ServerPushText;
|
|
3022
|
+
}
|
|
2966
3023
|
/**
|
|
2967
3024
|
* DismissRoomByStrRoomId返回参数结构体
|
|
2968
3025
|
*/
|
|
@@ -3321,29 +3378,13 @@ export interface DeletePictureRequest {
|
|
|
3321
3378
|
SdkAppId: number;
|
|
3322
3379
|
}
|
|
3323
3380
|
/**
|
|
3324
|
-
*
|
|
3381
|
+
* StopWebRecord请求参数结构体
|
|
3325
3382
|
*/
|
|
3326
|
-
export interface
|
|
3327
|
-
/**
|
|
3328
|
-
* 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
|
|
3329
|
-
*/
|
|
3330
|
-
Width: number;
|
|
3331
|
-
/**
|
|
3332
|
-
* 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
|
|
3333
|
-
*/
|
|
3334
|
-
Height: number;
|
|
3335
|
-
/**
|
|
3336
|
-
* 视频的帧率,范围[1, 60],默认15。
|
|
3337
|
-
*/
|
|
3338
|
-
Fps: number;
|
|
3339
|
-
/**
|
|
3340
|
-
* 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
|
|
3341
|
-
*/
|
|
3342
|
-
BitRate: number;
|
|
3383
|
+
export interface StopWebRecordRequest {
|
|
3343
3384
|
/**
|
|
3344
|
-
*
|
|
3385
|
+
* 需要停止的任务Id
|
|
3345
3386
|
*/
|
|
3346
|
-
|
|
3387
|
+
TaskId: string;
|
|
3347
3388
|
}
|
|
3348
3389
|
/**
|
|
3349
3390
|
* 混流SEI参数
|