tencentcloud-sdk-nodejs-trtc 4.0.459 → 4.0.460
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/CHANGELOG.md +201 -0
- package/SERVICE_CHANGELOG.md +286 -46
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/services/trtc/v20190722/trtc_client.ts +128 -59
- package/src/services/trtc/v20190722/trtc_models.ts +189 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +76 -40
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +90 -46
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +161 -0
package/products.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-08-15 06:09:23 |
|
|
25
25
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
26
26
|
| bm | [黑石物理服务器1.0](https://cloud.tencent.com/document/product/386) | 2022-08-09 11:50:03 |
|
|
27
|
-
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2022-10-
|
|
27
|
+
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2022-10-14 06:10:41 |
|
|
28
28
|
| bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2022-04-19 06:04:56 |
|
|
29
29
|
| bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2022-04-04 06:09:37 |
|
|
30
30
|
| bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2022-04-15 06:02:36 |
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-08-03 06:08:12 |
|
|
38
38
|
| casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
|
|
39
39
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-09-15 11:03:22 |
|
|
40
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-
|
|
40
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-10-14 06:13:09 |
|
|
41
41
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-09-22 06:12:48 |
|
|
42
42
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-10-11 06:14:09 |
|
|
43
43
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-06-27 06:06:02 |
|
|
52
52
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
53
53
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
54
|
-
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-
|
|
54
|
+
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-10-14 06:17:04 |
|
|
55
55
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-09-22 06:16:46 |
|
|
56
56
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-07-08 06:05:30 |
|
|
57
57
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-06-22 06:04:38 |
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-08-24 06:19:05 |
|
|
61
61
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
|
|
62
62
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
63
|
-
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-10-
|
|
63
|
+
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-10-14 06:19:40 |
|
|
64
64
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
65
65
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-10-12 06:23:14 |
|
|
66
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-10-
|
|
66
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-10-14 06:21:52 |
|
|
67
67
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
68
|
-
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-
|
|
68
|
+
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-10-14 06:23:27 |
|
|
69
69
|
| dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-08-16 06:19:02 |
|
|
70
70
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
71
71
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
|
|
72
72
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-09-29 06:25:38 |
|
|
73
73
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-07-27 06:08:38 |
|
|
74
|
-
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-
|
|
74
|
+
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-10-14 06:25:18 |
|
|
75
75
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-08-31 06:24:58 |
|
|
76
76
|
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-09-14 06:20:02 |
|
|
77
77
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-09-16 06:21:57 |
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-08-19 06:27:03 |
|
|
118
118
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-09-20 19:36:34 |
|
|
119
119
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-08-05 06:26:44 |
|
|
120
|
-
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-
|
|
120
|
+
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-10-14 06:37:15 |
|
|
121
121
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-09-14 06:27:13 |
|
|
122
122
|
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-09-23 06:36:42 |
|
|
123
123
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-09-19 06:43:11 |
|
|
147
147
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2022-09-19 06:43:24 |
|
|
148
148
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-09-23 06:43:17 |
|
|
149
|
-
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-10-
|
|
149
|
+
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-10-14 06:44:02 |
|
|
150
150
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2022-07-27 21:10:02 |
|
|
151
151
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
|
|
152
152
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
161
161
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-10-13 06:43:00 |
|
|
162
162
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-08-16 06:39:20 |
|
|
163
|
-
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-
|
|
163
|
+
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-10-14 06:47:12 |
|
|
164
164
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
|
|
165
165
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-07-18 06:15:58 |
|
|
166
166
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-07-07 06:15:25 |
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-10-11 06:54:36 |
|
|
181
181
|
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-09-26 06:53:07 |
|
|
182
182
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-09-08 06:41:25 |
|
|
183
|
-
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-
|
|
183
|
+
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-14 06:51:40 |
|
|
184
184
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
|
|
185
185
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-09-22 06:48:45 |
|
|
186
186
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-10-10 06:42:56 |
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
201
201
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-08-31 06:55:53 |
|
|
202
202
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-10-12 19:31:50 |
|
|
203
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-
|
|
203
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-10-14 06:56:44 |
|
|
204
204
|
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-10-12 07:03:55 |
|
|
205
205
|
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-10-11 07:02:55 |
|
|
206
206
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
209
209
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-09-16 06:48:14 |
|
|
210
210
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
211
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-10-
|
|
211
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-10-14 06:59:02 |
|
|
212
212
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-10-10 06:50:01 |
|
|
213
213
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-09-15 06:49:04 |
|
|
214
214
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
20
|
CreatePictureRequest,
|
|
21
|
+
DescribeRelayUsageRequest,
|
|
21
22
|
MixLayout,
|
|
22
23
|
RemoveUserByStrRoomIdResponse,
|
|
23
24
|
StartMCUMixTranscodeRequest,
|
|
@@ -34,6 +35,7 @@ import {
|
|
|
34
35
|
DescribeRecordStatisticResponse,
|
|
35
36
|
StartMCUMixTranscodeByStrRoomIdResponse,
|
|
36
37
|
CloudStorage,
|
|
38
|
+
DescribeTrtcUsageResponse,
|
|
37
39
|
TimeValue,
|
|
38
40
|
DismissRoomByStrRoomIdRequest,
|
|
39
41
|
EventMessage,
|
|
@@ -44,20 +46,27 @@ import {
|
|
|
44
46
|
EncodeParams,
|
|
45
47
|
DescribeCallDetailInfoResponse,
|
|
46
48
|
TrtcTimeNewUsage,
|
|
49
|
+
DescribeMixTranscodingUsageRequest,
|
|
47
50
|
ModifyPictureRequest,
|
|
48
51
|
SmallVideoLayoutParams,
|
|
49
52
|
SubscribeStreamUserIds,
|
|
50
53
|
WaterMarkImage,
|
|
51
54
|
EventList,
|
|
55
|
+
DescribeTrtcUsageRequest,
|
|
52
56
|
DescribeRoomInfoResponse,
|
|
53
57
|
SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
54
58
|
DescribeUserInfoResponse,
|
|
59
|
+
TrtcUsage,
|
|
60
|
+
DescribeRelayUsageResponse,
|
|
61
|
+
DescribeRecordingUsageResponse,
|
|
55
62
|
ModifyPictureResponse,
|
|
63
|
+
DescribeRecordingUsageRequest,
|
|
56
64
|
StorageFile,
|
|
57
65
|
WaterMark,
|
|
58
66
|
DescribeScaleInfoResponse,
|
|
59
67
|
MixLayoutParams,
|
|
60
68
|
StopMCUMixTranscodeResponse,
|
|
69
|
+
DescribeMixTranscodingUsageResponse,
|
|
61
70
|
SdkAppIdNewTrtcTimeUsage,
|
|
62
71
|
RemoveUserRequest,
|
|
63
72
|
DismissRoomRequest,
|
|
@@ -129,33 +138,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
129
138
|
}
|
|
130
139
|
|
|
131
140
|
/**
|
|
132
|
-
*
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
-
|
|
138
|
-
- 设置各路画面的位置和布局,您只需要在启动时设置一次,排版引擎会自动完成后续的画面排布。
|
|
139
|
-
- 设置录制文件名,用于二次回放。
|
|
140
|
-
- 设置 CDN 直播流 ID,用于在 CDN 进行直播观看。
|
|
141
|
-
|
|
142
|
-
目前已经支持了如下几种布局模板:
|
|
143
|
-
- 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面,如果用户只发送音频,仍然会占用画面位置。
|
|
144
|
-
- 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小。最多支持16个画面,如果用户只发送音频,仍然会占用画面位置。
|
|
145
|
-
- 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。
|
|
146
|
-
- 画中画模板:适用于混合大小两路视频画面和其他用户混音,或者混合一路大画面和其他用户混音的场景。小画面悬浮于大画面之上,可以指定大小画面的用户以及小画面的显示位置,最多支持2个画面。
|
|
147
|
-
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
148
|
-
|
|
149
|
-
注意:
|
|
150
|
-
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
151
|
-
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
152
|
-
3、客户端混流和服务端混流不能混用。
|
|
141
|
+
* 获取TRTC音视频互动的用量明细。
|
|
142
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
143
|
+
- 单次查询统计区间最多不能超过31天。
|
|
144
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
145
|
+
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
146
|
+
- 默认接口请求频率限制:5次/秒。
|
|
153
147
|
*/
|
|
154
|
-
async
|
|
155
|
-
req:
|
|
156
|
-
cb?: (error: string, rep:
|
|
157
|
-
): Promise<
|
|
158
|
-
return this.request("
|
|
148
|
+
async DescribeTrtcUsage(
|
|
149
|
+
req: DescribeTrtcUsageRequest,
|
|
150
|
+
cb?: (error: string, rep: DescribeTrtcUsageResponse) => void
|
|
151
|
+
): Promise<DescribeTrtcUsageResponse> {
|
|
152
|
+
return this.request("DescribeTrtcUsage", req, cb)
|
|
159
153
|
}
|
|
160
154
|
|
|
161
155
|
/**
|
|
@@ -181,6 +175,36 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
181
175
|
return this.request("StopMCUMixTranscode", req, cb)
|
|
182
176
|
}
|
|
183
177
|
|
|
178
|
+
/**
|
|
179
|
+
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
180
|
+
|
|
181
|
+
TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过此 API 接口,通知腾讯云服务端将多路视频画面合成一路,并指定每一路画面的位置,同时将多路声音进行混音,最终形成一路音视频流,以便用于录制和直播观看。
|
|
182
|
+
|
|
183
|
+
您可以通过此接口实现如下目标:
|
|
184
|
+
- 设置最终直播流的画质和音质,包括视频分辨率、视频码率、视频帧率、以及声音质量等。
|
|
185
|
+
- 设置各路画面的位置和布局,您只需要在启动时设置一次,排版引擎会自动完成后续的画面排布。
|
|
186
|
+
- 设置录制文件名,用于二次回放。
|
|
187
|
+
- 设置 CDN 直播流 ID,用于在 CDN 进行直播观看。
|
|
188
|
+
|
|
189
|
+
目前已经支持了如下几种布局模板:
|
|
190
|
+
- 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面,如果用户只发送音频,仍然会占用画面位置。
|
|
191
|
+
- 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小。最多支持16个画面,如果用户只发送音频,仍然会占用画面位置。
|
|
192
|
+
- 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。
|
|
193
|
+
- 画中画模板:适用于混合大小两路视频画面和其他用户混音,或者混合一路大画面和其他用户混音的场景。小画面悬浮于大画面之上,可以指定大小画面的用户以及小画面的显示位置。
|
|
194
|
+
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
195
|
+
|
|
196
|
+
注意:
|
|
197
|
+
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
198
|
+
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
199
|
+
3、客户端混流和服务端混流不能混用。
|
|
200
|
+
*/
|
|
201
|
+
async StartMCUMixTranscodeByStrRoomId(
|
|
202
|
+
req: StartMCUMixTranscodeByStrRoomIdRequest,
|
|
203
|
+
cb?: (error: string, rep: StartMCUMixTranscodeByStrRoomIdResponse) => void
|
|
204
|
+
): Promise<StartMCUMixTranscodeByStrRoomIdResponse> {
|
|
205
|
+
return this.request("StartMCUMixTranscodeByStrRoomId", req, cb)
|
|
206
|
+
}
|
|
207
|
+
|
|
184
208
|
/**
|
|
185
209
|
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
186
210
|
*/
|
|
@@ -231,6 +255,36 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
231
255
|
return this.request("DescribeUserEvent", req, cb)
|
|
232
256
|
}
|
|
233
257
|
|
|
258
|
+
/**
|
|
259
|
+
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
260
|
+
|
|
261
|
+
TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过此 API 接口,通知腾讯云服务端将多路视频画面合成一路,并指定每一路画面的位置,同时将多路声音进行混音,最终形成一路音视频流,以便用于录制和直播观看。房间销毁后混流自动结束。
|
|
262
|
+
|
|
263
|
+
您可以通过此接口实现如下目标:
|
|
264
|
+
- 设置最终直播流的画质和音质,包括视频分辨率、视频码率、视频帧率、以及声音质量等。
|
|
265
|
+
- 设置各路画面的位置和布局,您只需要在启动时设置一次,排版引擎会自动完成后续的画面排布。
|
|
266
|
+
- 设置录制文件名,用于二次回放。
|
|
267
|
+
- 设置 CDN 直播流 ID,用于在 CDN 进行直播观看。
|
|
268
|
+
|
|
269
|
+
目前已经支持了如下几种布局模板:
|
|
270
|
+
- 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面,如果用户只发送音频,仍然会占用画面位置。
|
|
271
|
+
- 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小。最多支持16个画面,如果用户只发送音频,仍然会占用画面位置。
|
|
272
|
+
- 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。
|
|
273
|
+
- 画中画模板:适用于混合大小两路视频画面和其他用户混音,或者混合一路大画面和其他用户混音的场景。小画面悬浮于大画面之上,可以指定大小画面的用户以及小画面的显示位置,最多支持2个画面。
|
|
274
|
+
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
275
|
+
|
|
276
|
+
注意:
|
|
277
|
+
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
278
|
+
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
279
|
+
3、客户端混流和服务端混流不能混用。
|
|
280
|
+
*/
|
|
281
|
+
async StartMCUMixTranscode(
|
|
282
|
+
req: StartMCUMixTranscodeRequest,
|
|
283
|
+
cb?: (error: string, rep: StartMCUMixTranscodeResponse) => void
|
|
284
|
+
): Promise<StartMCUMixTranscodeResponse> {
|
|
285
|
+
return this.request("StartMCUMixTranscode", req, cb)
|
|
286
|
+
}
|
|
287
|
+
|
|
234
288
|
/**
|
|
235
289
|
* 接口说明:
|
|
236
290
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制有或者多路视频画面混流一路。
|
|
@@ -273,13 +327,18 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
273
327
|
}
|
|
274
328
|
|
|
275
329
|
/**
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
330
|
+
* 获取TRTC旁路转推的用量明细。
|
|
331
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
332
|
+
- 单次查询统计区间最多不能超过31天。
|
|
333
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
334
|
+
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
335
|
+
- 默认接口请求频率限制:5次/秒。
|
|
336
|
+
*/
|
|
337
|
+
async DescribeRelayUsage(
|
|
338
|
+
req: DescribeRelayUsageRequest,
|
|
339
|
+
cb?: (error: string, rep: DescribeRelayUsageResponse) => void
|
|
340
|
+
): Promise<DescribeRelayUsageResponse> {
|
|
341
|
+
return this.request("DescribeRelayUsage", req, cb)
|
|
283
342
|
}
|
|
284
343
|
|
|
285
344
|
/**
|
|
@@ -316,33 +375,18 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
316
375
|
}
|
|
317
376
|
|
|
318
377
|
/**
|
|
319
|
-
*
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
-
|
|
325
|
-
- 设置各路画面的位置和布局,您只需要在启动时设置一次,排版引擎会自动完成后续的画面排布。
|
|
326
|
-
- 设置录制文件名,用于二次回放。
|
|
327
|
-
- 设置 CDN 直播流 ID,用于在 CDN 进行直播观看。
|
|
328
|
-
|
|
329
|
-
目前已经支持了如下几种布局模板:
|
|
330
|
-
- 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面,如果用户只发送音频,仍然会占用画面位置。
|
|
331
|
-
- 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小。最多支持16个画面,如果用户只发送音频,仍然会占用画面位置。
|
|
332
|
-
- 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。
|
|
333
|
-
- 画中画模板:适用于混合大小两路视频画面和其他用户混音,或者混合一路大画面和其他用户混音的场景。小画面悬浮于大画面之上,可以指定大小画面的用户以及小画面的显示位置。
|
|
334
|
-
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
335
|
-
|
|
336
|
-
注意:
|
|
337
|
-
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
338
|
-
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
339
|
-
3、客户端混流和服务端混流不能混用。
|
|
378
|
+
* 获取TRTC录制的用量明细。
|
|
379
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
380
|
+
- 单次查询统计区间最多不能超过31天。
|
|
381
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
382
|
+
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
383
|
+
- 默认接口请求频率限制:5次/秒。
|
|
340
384
|
*/
|
|
341
|
-
async
|
|
342
|
-
req:
|
|
343
|
-
cb?: (error: string, rep:
|
|
344
|
-
): Promise<
|
|
345
|
-
return this.request("
|
|
385
|
+
async DescribeRecordingUsage(
|
|
386
|
+
req: DescribeRecordingUsageRequest,
|
|
387
|
+
cb?: (error: string, rep: DescribeRecordingUsageResponse) => void
|
|
388
|
+
): Promise<DescribeRecordingUsageResponse> {
|
|
389
|
+
return this.request("DescribeRecordingUsage", req, cb)
|
|
346
390
|
}
|
|
347
391
|
|
|
348
392
|
/**
|
|
@@ -355,6 +399,21 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
355
399
|
return this.request("RemoveUserByStrRoomId", req, cb)
|
|
356
400
|
}
|
|
357
401
|
|
|
402
|
+
/**
|
|
403
|
+
* 获取TRTC混流转码的用量明细。
|
|
404
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
405
|
+
- 单次查询统计区间最多不能超过31天。
|
|
406
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
407
|
+
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
408
|
+
- 默认接口请求频率限制:5次/秒。
|
|
409
|
+
*/
|
|
410
|
+
async DescribeMixTranscodingUsage(
|
|
411
|
+
req: DescribeMixTranscodingUsageRequest,
|
|
412
|
+
cb?: (error: string, rep: DescribeMixTranscodingUsageResponse) => void
|
|
413
|
+
): Promise<DescribeMixTranscodingUsageResponse> {
|
|
414
|
+
return this.request("DescribeMixTranscodingUsage", req, cb)
|
|
415
|
+
}
|
|
416
|
+
|
|
358
417
|
/**
|
|
359
418
|
* 接口说明:把房间所有用户从房间移出,解散房间。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
|
|
360
419
|
*/
|
|
@@ -405,6 +464,16 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
405
464
|
return this.request("DescribeCloudRecording", req, cb)
|
|
406
465
|
}
|
|
407
466
|
|
|
467
|
+
/**
|
|
468
|
+
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
469
|
+
*/
|
|
470
|
+
async ModifyPicture(
|
|
471
|
+
req: ModifyPictureRequest,
|
|
472
|
+
cb?: (error: string, rep: ModifyPictureResponse) => void
|
|
473
|
+
): Promise<ModifyPictureResponse> {
|
|
474
|
+
return this.request("ModifyPicture", req, cb)
|
|
475
|
+
}
|
|
476
|
+
|
|
408
477
|
/**
|
|
409
478
|
* 成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
|
410
479
|
*/
|
|
@@ -55,6 +55,27 @@ export interface CreatePictureRequest {
|
|
|
55
55
|
YPosition: number
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
/**
|
|
59
|
+
* DescribeRelayUsage请求参数结构体
|
|
60
|
+
*/
|
|
61
|
+
export interface DescribeRelayUsageRequest {
|
|
62
|
+
/**
|
|
63
|
+
* 查询开始时间,格式为YYYY-MM-DD。
|
|
64
|
+
*/
|
|
65
|
+
StartTime: string
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 查询结束时间,格式为YYYY-MM-DD。
|
|
69
|
+
单次查询统计区间最多不能超过31天。
|
|
70
|
+
*/
|
|
71
|
+
EndTime: string
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
|
75
|
+
*/
|
|
76
|
+
SdkAppId?: number
|
|
77
|
+
}
|
|
78
|
+
|
|
58
79
|
/**
|
|
59
80
|
* 用户自定义混流布局参数列表。
|
|
60
81
|
*/
|
|
@@ -543,6 +564,26 @@ export interface CloudStorage {
|
|
|
543
564
|
FileNamePrefix?: Array<string>
|
|
544
565
|
}
|
|
545
566
|
|
|
567
|
+
/**
|
|
568
|
+
* DescribeTrtcUsage返回参数结构体
|
|
569
|
+
*/
|
|
570
|
+
export interface DescribeTrtcUsageResponse {
|
|
571
|
+
/**
|
|
572
|
+
* 用量类型,与UsageValue中各个位置的值对应。
|
|
573
|
+
*/
|
|
574
|
+
UsageKey: Array<string>
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* 各个时间点用量明细。
|
|
578
|
+
*/
|
|
579
|
+
UsageList: Array<TrtcUsage>
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
583
|
+
*/
|
|
584
|
+
RequestId?: string
|
|
585
|
+
}
|
|
586
|
+
|
|
546
587
|
/**
|
|
547
588
|
* 返回的质量数据,时间:值
|
|
548
589
|
*/
|
|
@@ -846,6 +887,27 @@ export interface TrtcTimeNewUsage {
|
|
|
846
887
|
Video4KTime: number
|
|
847
888
|
}
|
|
848
889
|
|
|
890
|
+
/**
|
|
891
|
+
* DescribeMixTranscodingUsage请求参数结构体
|
|
892
|
+
*/
|
|
893
|
+
export interface DescribeMixTranscodingUsageRequest {
|
|
894
|
+
/**
|
|
895
|
+
* 查询开始时间,格式为YYYY-MM-DD。
|
|
896
|
+
*/
|
|
897
|
+
StartTime: string
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* 查询结束时间,格式为YYYY-MM-DD。
|
|
901
|
+
单次查询统计区间最多不能超过31天。
|
|
902
|
+
*/
|
|
903
|
+
EndTime: string
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
|
907
|
+
*/
|
|
908
|
+
SdkAppId?: number
|
|
909
|
+
}
|
|
910
|
+
|
|
849
911
|
/**
|
|
850
912
|
* ModifyPicture请求参数结构体
|
|
851
913
|
*/
|
|
@@ -986,6 +1048,27 @@ export interface EventList {
|
|
|
986
1048
|
PeerId: string
|
|
987
1049
|
}
|
|
988
1050
|
|
|
1051
|
+
/**
|
|
1052
|
+
* DescribeTrtcUsage请求参数结构体
|
|
1053
|
+
*/
|
|
1054
|
+
export interface DescribeTrtcUsageRequest {
|
|
1055
|
+
/**
|
|
1056
|
+
* 查询开始时间,格式为YYYY-MM-DD。
|
|
1057
|
+
*/
|
|
1058
|
+
StartTime: string
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* 查询结束时间,格式为YYYY-MM-DD。
|
|
1062
|
+
单次查询统计区间最多不能超过31天。
|
|
1063
|
+
*/
|
|
1064
|
+
EndTime: string
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
|
1068
|
+
*/
|
|
1069
|
+
SdkAppId?: number
|
|
1070
|
+
}
|
|
1071
|
+
|
|
989
1072
|
/**
|
|
990
1073
|
* DescribeRoomInfo返回参数结构体
|
|
991
1074
|
*/
|
|
@@ -1035,6 +1118,11 @@ export interface SdkAppIdTrtcMcuTranscodeTimeUsage {
|
|
|
1035
1118
|
* 视频时长-全高清FHD,单位:秒。
|
|
1036
1119
|
*/
|
|
1037
1120
|
VideoTimeFhd: number
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* 带宽,单位:Mbps。
|
|
1124
|
+
*/
|
|
1125
|
+
Flux: number
|
|
1038
1126
|
}
|
|
1039
1127
|
|
|
1040
1128
|
/**
|
|
@@ -1058,6 +1146,61 @@ export interface DescribeUserInfoResponse {
|
|
|
1058
1146
|
RequestId?: string
|
|
1059
1147
|
}
|
|
1060
1148
|
|
|
1149
|
+
/**
|
|
1150
|
+
* 实时音视频用量在某一时间段的统计信息。
|
|
1151
|
+
*/
|
|
1152
|
+
export interface TrtcUsage {
|
|
1153
|
+
/**
|
|
1154
|
+
* 时间点,格式为YYYY-MM-DD HH:mm:ss。多天查询时,HH:mm:ss为00:00:00。
|
|
1155
|
+
*/
|
|
1156
|
+
TimeKey: string
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* 用量数组。每个数值含义与UsageKey对应。单位:分钟。
|
|
1160
|
+
*/
|
|
1161
|
+
UsageValue: Array<number>
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* DescribeRelayUsage返回参数结构体
|
|
1166
|
+
*/
|
|
1167
|
+
export interface DescribeRelayUsageResponse {
|
|
1168
|
+
/**
|
|
1169
|
+
* 用量类型,与UsageValue中各个位置的值对应。
|
|
1170
|
+
*/
|
|
1171
|
+
UsageKey: Array<string>
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* 各个时间点用量明细。
|
|
1175
|
+
*/
|
|
1176
|
+
UsageList: Array<TrtcUsage>
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1180
|
+
*/
|
|
1181
|
+
RequestId?: string
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* DescribeRecordingUsage返回参数结构体
|
|
1186
|
+
*/
|
|
1187
|
+
export interface DescribeRecordingUsageResponse {
|
|
1188
|
+
/**
|
|
1189
|
+
* 用量类型,与UsageValue中各个位置的值对应。
|
|
1190
|
+
*/
|
|
1191
|
+
UsageKey: Array<string>
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* 各个时间点用量明细。
|
|
1195
|
+
*/
|
|
1196
|
+
UsageList: Array<TrtcUsage>
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1200
|
+
*/
|
|
1201
|
+
RequestId?: string
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1061
1204
|
/**
|
|
1062
1205
|
* ModifyPicture返回参数结构体
|
|
1063
1206
|
*/
|
|
@@ -1068,6 +1211,32 @@ export interface ModifyPictureResponse {
|
|
|
1068
1211
|
RequestId?: string
|
|
1069
1212
|
}
|
|
1070
1213
|
|
|
1214
|
+
/**
|
|
1215
|
+
* DescribeRecordingUsage请求参数结构体
|
|
1216
|
+
*/
|
|
1217
|
+
export interface DescribeRecordingUsageRequest {
|
|
1218
|
+
/**
|
|
1219
|
+
* 查询开始时间,格式为YYYY-MM-DD。
|
|
1220
|
+
*/
|
|
1221
|
+
StartTime: string
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* 查询结束时间,格式为YYYY-MM-DD。
|
|
1225
|
+
单次查询统计区间最多不能超过31天。
|
|
1226
|
+
*/
|
|
1227
|
+
EndTime: string
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* 查询单流录制或合流录制,值为"single"或"multi"。
|
|
1231
|
+
*/
|
|
1232
|
+
MixType: string
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
|
1236
|
+
*/
|
|
1237
|
+
SdkAppId?: number
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1071
1240
|
/**
|
|
1072
1241
|
* 云端录制查询接口,录制文件的信息
|
|
1073
1242
|
*/
|
|
@@ -1215,6 +1384,26 @@ export interface StopMCUMixTranscodeResponse {
|
|
|
1215
1384
|
RequestId?: string
|
|
1216
1385
|
}
|
|
1217
1386
|
|
|
1387
|
+
/**
|
|
1388
|
+
* DescribeMixTranscodingUsage返回参数结构体
|
|
1389
|
+
*/
|
|
1390
|
+
export interface DescribeMixTranscodingUsageResponse {
|
|
1391
|
+
/**
|
|
1392
|
+
* 用量类型,与UsageValue中各个位置的值对应。
|
|
1393
|
+
*/
|
|
1394
|
+
UsageKey: Array<string>
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* 各个时间点用量明细。
|
|
1398
|
+
*/
|
|
1399
|
+
UsageList: Array<TrtcUsage>
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1403
|
+
*/
|
|
1404
|
+
RequestId?: string
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1218
1407
|
/**
|
|
1219
1408
|
* SdkAppId级别实时音视频的用量数据
|
|
1220
1409
|
*/
|