tencentcloud-sdk-nodejs-trtc 4.0.305 → 4.0.306

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.
@@ -19,14 +19,14 @@ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
20
  DescribeAbnormalEventResponse,
21
21
  DescribeAbnormalEventRequest,
22
- DescribeTrtcInteractiveTimeResponse,
22
+ SdkAppIdTrtcMcuTranscodeTimeUsage,
23
23
  ModifyPictureResponse,
24
24
  StartMCUMixTranscodeByStrRoomIdRequest,
25
25
  LayoutParams,
26
26
  TimeValue,
27
27
  CreatePictureRequest,
28
28
  DescribeTrtcMcuTranscodeTimeRequest,
29
- SdkAppIdTrtcMcuTranscodeTimeUsage,
29
+ StopMCUMixTranscodeResponse,
30
30
  RemoveUserByStrRoomIdRequest,
31
31
  DismissRoomResponse,
32
32
  EventMessage,
@@ -63,15 +63,11 @@ import {
63
63
  DescribeTrtcMcuTranscodeTimeResponse,
64
64
  DescribePictureRequest,
65
65
  SdkAppIdRecordUsage,
66
- OneSdkAppIdUsagesInfo,
67
66
  SmallVideoLayoutParams,
68
67
  RemoveUserResponse,
69
68
  PresetLayoutConfig,
70
- StopMCUMixTranscodeResponse,
71
69
  DescribeCallDetailResponse,
72
70
  DescribePictureResponse,
73
- SdkAppIdTrtcUsage,
74
- DescribeTrtcInteractiveTimeRequest,
75
71
  PublishCdnParams,
76
72
  DescribeRoomInformationRequest,
77
73
  DescribeDetailEventRequest,
@@ -95,6 +91,85 @@ export class Client extends TencentCloudCommon.AbstractClient {
95
91
  super("trtc.tencentcloudapi.com", "2019-07-22", clientConfig)
96
92
  }
97
93
 
94
+ /**
95
+ * 查询云端录制计费时长。
96
+
97
+ - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
98
+ - 单次查询统计区间最多不能超过31天。
99
+ - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
100
+ - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
101
+ */
102
+ async DescribeRecordStatistic(
103
+ req: DescribeRecordStatisticRequest,
104
+ cb?: (error: string, rep: DescribeRecordStatisticResponse) => void
105
+ ): Promise<DescribeRecordStatisticResponse> {
106
+ return this.request("DescribeRecordStatistic", req, cb)
107
+ }
108
+
109
+ /**
110
+ * 查询旁路转码计费时长。
111
+ - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
112
+ - 单次查询统计区间最多不能超过31天。
113
+ - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
114
+ - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
115
+ */
116
+ async DescribeTrtcMcuTranscodeTime(
117
+ req: DescribeTrtcMcuTranscodeTimeRequest,
118
+ cb?: (error: string, rep: DescribeTrtcMcuTranscodeTimeResponse) => void
119
+ ): Promise<DescribeTrtcMcuTranscodeTimeResponse> {
120
+ return this.request("DescribeTrtcMcuTranscodeTime", req, cb)
121
+ }
122
+
123
+ /**
124
+ * 创建异常信息
125
+ */
126
+ async CreateTroubleInfo(
127
+ req: CreateTroubleInfoRequest,
128
+ cb?: (error: string, rep: CreateTroubleInfoResponse) => void
129
+ ): Promise<CreateTroubleInfoResponse> {
130
+ return this.request("CreateTroubleInfo", req, cb)
131
+ }
132
+
133
+ /**
134
+ * 可查询sdkqppid 每天的房间数和用户数,每分钟1次,可查询最近14天的数据。当天未结束,无法查到当天的房间数与用户数。
135
+ */
136
+ async DescribeHistoryScale(
137
+ req: DescribeHistoryScaleRequest,
138
+ cb?: (error: string, rep: DescribeHistoryScaleResponse) => void
139
+ ): Promise<DescribeHistoryScaleResponse> {
140
+ return this.request("DescribeHistoryScale", req, cb)
141
+ }
142
+
143
+ /**
144
+ * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
145
+
146
+ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过此 API 接口,通知腾讯云服务端将多路视频画面合成一路,并指定每一路画面的位置,同时将多路声音进行混音,最终形成一路音视频流,以便用于录制和直播观看。
147
+
148
+ 您可以通过此接口实现如下目标:
149
+ - 设置最终直播流的画质和音质,包括视频分辨率、视频码率、视频帧率、以及声音质量等。
150
+ - 设置各路画面的位置和布局,您只需要在启动时设置一次,排版引擎会自动完成后续的画面排布。
151
+ - 设置录制文件名,用于二次回放。
152
+ - 设置 CDN 直播流 ID,用于在 CDN 进行直播观看。
153
+
154
+ 目前已经支持了如下几种布局模板:
155
+ - 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面,如果用户只发送音频,仍然会占用画面位置。
156
+ - 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小。最多支持16个画面,如果用户只发送音频,仍然会占用画面位置。
157
+ - 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。
158
+ - 画中画模板:适用于混合大小两路视频画面和其他用户混音,或者混合一路大画面和其他用户混音的场景。小画面悬浮于大画面之上,可以指定大小画面的用户以及小画面的显示位置。
159
+ - 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
160
+
161
+ 注意:
162
+ 1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
163
+ 2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
164
+ 3、客户端混流和服务端混流不能混用。
165
+ */
166
+ async StartMCUMixTranscodeByStrRoomId(
167
+ req: StartMCUMixTranscodeByStrRoomIdRequest,
168
+ cb?: (error: string, rep: StartMCUMixTranscodeByStrRoomIdResponse) => void
169
+ ): Promise<StartMCUMixTranscodeByStrRoomIdResponse> {
170
+ return this.request("StartMCUMixTranscodeByStrRoomId", req, cb)
171
+ }
172
+
98
173
  /**
99
174
  * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
100
175
 
@@ -126,64 +201,53 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
126
201
  }
127
202
 
128
203
  /**
129
- * 查询sdkappid下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。
130
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
204
+ * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
131
205
  */
132
- async DescribeRoomInformation(
133
- req: DescribeRoomInformationRequest,
134
- cb?: (error: string, rep: DescribeRoomInformationResponse) => void
135
- ): Promise<DescribeRoomInformationResponse> {
136
- return this.request("DescribeRoomInformation", req, cb)
206
+ async DeletePicture(
207
+ req: DeletePictureRequest,
208
+ cb?: (error: string, rep: DeletePictureResponse) => void
209
+ ): Promise<DeletePictureResponse> {
210
+ return this.request("DeletePicture", req, cb)
137
211
  }
138
212
 
139
213
  /**
140
214
  * 接口说明:结束云端混流
141
215
  */
142
- async StopMCUMixTranscode(
143
- req: StopMCUMixTranscodeRequest,
144
- cb?: (error: string, rep: StopMCUMixTranscodeResponse) => void
145
- ): Promise<StopMCUMixTranscodeResponse> {
146
- return this.request("StopMCUMixTranscode", req, cb)
147
- }
148
-
149
- /**
150
- * 创建异常信息
151
- */
152
- async CreateTroubleInfo(
153
- req: CreateTroubleInfoRequest,
154
- cb?: (error: string, rep: CreateTroubleInfoResponse) => void
155
- ): Promise<CreateTroubleInfoResponse> {
156
- return this.request("CreateTroubleInfo", req, cb)
216
+ async StopMCUMixTranscodeByStrRoomId(
217
+ req: StopMCUMixTranscodeByStrRoomIdRequest,
218
+ cb?: (error: string, rep: StopMCUMixTranscodeByStrRoomIdResponse) => void
219
+ ): Promise<StopMCUMixTranscodeByStrRoomIdResponse> {
220
+ return this.request("StopMCUMixTranscodeByStrRoomId", req, cb)
157
221
  }
158
222
 
159
223
  /**
160
- * 可查询sdkqppid 每天的房间数和用户数,每分钟1次,可查询最近14天的数据。当天未结束,无法查到当天的房间数与用户数。
224
+ * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁新增自定义背景图或水印,可通过此接口上传新的图片素材。无需频繁新增图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
161
225
  */
162
- async DescribeHistoryScale(
163
- req: DescribeHistoryScaleRequest,
164
- cb?: (error: string, rep: DescribeHistoryScaleResponse) => void
165
- ): Promise<DescribeHistoryScaleResponse> {
166
- return this.request("DescribeHistoryScale", req, cb)
226
+ async CreatePicture(
227
+ req: CreatePictureRequest,
228
+ cb?: (error: string, rep: CreatePictureResponse) => void
229
+ ): Promise<CreatePictureResponse> {
230
+ return this.request("CreatePicture", req, cb)
167
231
  }
168
232
 
169
233
  /**
170
- * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
234
+ * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
171
235
  */
172
- async DeletePicture(
173
- req: DeletePictureRequest,
174
- cb?: (error: string, rep: DeletePictureResponse) => void
175
- ): Promise<DeletePictureResponse> {
176
- return this.request("DeletePicture", req, cb)
236
+ async DescribePicture(
237
+ req: DescribePictureRequest,
238
+ cb?: (error: string, rep: DescribePictureResponse) => void
239
+ ): Promise<DescribePictureResponse> {
240
+ return this.request("DescribePicture", req, cb)
177
241
  }
178
242
 
179
243
  /**
180
- * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁新增自定义背景图或水印,可通过此接口上传新的图片素材。无需频繁新增图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
244
+ * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
181
245
  */
182
- async CreatePicture(
183
- req: CreatePictureRequest,
184
- cb?: (error: string, rep: CreatePictureResponse) => void
185
- ): Promise<CreatePictureResponse> {
186
- return this.request("CreatePicture", req, cb)
246
+ async ModifyPicture(
247
+ req: ModifyPictureRequest,
248
+ cb?: (error: string, rep: ModifyPictureResponse) => void
249
+ ): Promise<ModifyPictureResponse> {
250
+ return this.request("ModifyPicture", req, cb)
187
251
  }
188
252
 
189
253
  /**
@@ -196,6 +260,16 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
196
260
  return this.request("RemoveUser", req, cb)
197
261
  }
198
262
 
263
+ /**
264
+ * 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。
265
+ */
266
+ async DescribeDetailEvent(
267
+ req: DescribeDetailEventRequest,
268
+ cb?: (error: string, rep: DescribeDetailEventResponse) => void
269
+ ): Promise<DescribeDetailEventResponse> {
270
+ return this.request("DescribeDetailEvent", req, cb)
271
+ }
272
+
199
273
  /**
200
274
  * 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType,UserIds为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。
201
275
  **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
@@ -207,26 +281,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
207
281
  return this.request("DescribeCallDetail", req, cb)
208
282
  }
209
283
 
210
- /**
211
- * 接口说明:结束云端混流
212
- */
213
- async StopMCUMixTranscodeByStrRoomId(
214
- req: StopMCUMixTranscodeByStrRoomIdRequest,
215
- cb?: (error: string, rep: StopMCUMixTranscodeByStrRoomIdResponse) => void
216
- ): Promise<StopMCUMixTranscodeByStrRoomIdResponse> {
217
- return this.request("StopMCUMixTranscodeByStrRoomId", req, cb)
218
- }
219
-
220
- /**
221
- * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
222
- */
223
- async ModifyPicture(
224
- req: ModifyPictureRequest,
225
- cb?: (error: string, rep: ModifyPictureResponse) => void
226
- ): Promise<ModifyPictureResponse> {
227
- return this.request("ModifyPicture", req, cb)
228
- }
229
-
230
284
  /**
231
285
  * 接口说明:把房间所有用户从房间移出,解散房间。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
232
286
  */
@@ -248,33 +302,24 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
248
302
  }
249
303
 
250
304
  /**
251
- * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
252
-
253
- TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过此 API 接口,通知腾讯云服务端将多路视频画面合成一路,并指定每一路画面的位置,同时将多路声音进行混音,最终形成一路音视频流,以便用于录制和直播观看。
254
-
255
- 您可以通过此接口实现如下目标:
256
- - 设置最终直播流的画质和音质,包括视频分辨率、视频码率、视频帧率、以及声音质量等。
257
- - 设置各路画面的位置和布局,您只需要在启动时设置一次,排版引擎会自动完成后续的画面排布。
258
- - 设置录制文件名,用于二次回放。
259
- - 设置 CDN 直播流 ID,用于在 CDN 进行直播观看。
260
-
261
- 目前已经支持了如下几种布局模板:
262
- - 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面,如果用户只发送音频,仍然会占用画面位置。
263
- - 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小。最多支持16个画面,如果用户只发送音频,仍然会占用画面位置。
264
- - 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。
265
- - 画中画模板:适用于混合大小两路视频画面和其他用户混音,或者混合一路大画面和其他用户混音的场景。小画面悬浮于大画面之上,可以指定大小画面的用户以及小画面的显示位置。
266
- - 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
305
+ * 接口说明:结束云端混流
306
+ */
307
+ async StopMCUMixTranscode(
308
+ req: StopMCUMixTranscodeRequest,
309
+ cb?: (error: string, rep: StopMCUMixTranscodeResponse) => void
310
+ ): Promise<StopMCUMixTranscodeResponse> {
311
+ return this.request("StopMCUMixTranscode", req, cb)
312
+ }
267
313
 
268
- 注意:
269
- 1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
270
- 2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
271
- 3、客户端混流和服务端混流不能混用。
272
- */
273
- async StartMCUMixTranscodeByStrRoomId(
274
- req: StartMCUMixTranscodeByStrRoomIdRequest,
275
- cb?: (error: string, rep: StartMCUMixTranscodeByStrRoomIdResponse) => void
276
- ): Promise<StartMCUMixTranscodeByStrRoomIdResponse> {
277
- return this.request("StartMCUMixTranscodeByStrRoomId", req, cb)
314
+ /**
315
+ * 查询sdkappid下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。
316
+ **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
317
+ */
318
+ async DescribeRoomInformation(
319
+ req: DescribeRoomInformationRequest,
320
+ cb?: (error: string, rep: DescribeRoomInformationResponse) => void
321
+ ): Promise<DescribeRoomInformationResponse> {
322
+ return this.request("DescribeRoomInformation", req, cb)
278
323
  }
279
324
 
280
325
  /**
@@ -297,69 +342,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
297
342
  return this.request("DismissRoom", req, cb)
298
343
  }
299
344
 
300
- /**
301
- * 查询云端录制计费时长。
302
-
303
- - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
304
- - 单次查询统计区间最多不能超过31天。
305
- - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
306
- - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
307
- */
308
- async DescribeRecordStatistic(
309
- req: DescribeRecordStatisticRequest,
310
- cb?: (error: string, rep: DescribeRecordStatisticResponse) => void
311
- ): Promise<DescribeRecordStatisticResponse> {
312
- return this.request("DescribeRecordStatistic", req, cb)
313
- }
314
-
315
- /**
316
- * 查询旁路转码计费时长。
317
- - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
318
- - 单次查询统计区间最多不能超过31天。
319
- - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
320
- - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
321
- */
322
- async DescribeTrtcMcuTranscodeTime(
323
- req: DescribeTrtcMcuTranscodeTimeRequest,
324
- cb?: (error: string, rep: DescribeTrtcMcuTranscodeTimeResponse) => void
325
- ): Promise<DescribeTrtcMcuTranscodeTimeResponse> {
326
- return this.request("DescribeTrtcMcuTranscodeTime", req, cb)
327
- }
328
-
329
- /**
330
- * 查询音视频互动计费时长。
331
- - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
332
- - 单次查询统计区间最多不能超过31天。
333
- - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
334
- - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
335
- */
336
- async DescribeTrtcInteractiveTime(
337
- req: DescribeTrtcInteractiveTimeRequest,
338
- cb?: (error: string, rep: DescribeTrtcInteractiveTimeResponse) => void
339
- ): Promise<DescribeTrtcInteractiveTimeResponse> {
340
- return this.request("DescribeTrtcInteractiveTime", req, cb)
341
- }
342
-
343
- /**
344
- * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
345
- */
346
- async DescribePicture(
347
- req: DescribePictureRequest,
348
- cb?: (error: string, rep: DescribePictureResponse) => void
349
- ): Promise<DescribePictureResponse> {
350
- return this.request("DescribePicture", req, cb)
351
- }
352
-
353
- /**
354
- * 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。
355
- */
356
- async DescribeDetailEvent(
357
- req: DescribeDetailEventRequest,
358
- cb?: (error: string, rep: DescribeDetailEventResponse) => void
359
- ): Promise<DescribeDetailEventResponse> {
360
- return this.request("DescribeDetailEvent", req, cb)
361
- }
362
-
363
345
  /**
364
346
  * 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。
365
347
  **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
@@ -61,18 +61,34 @@ export interface DescribeAbnormalEventRequest {
61
61
  }
62
62
 
63
63
  /**
64
- * DescribeTrtcInteractiveTime返回参数结构体
64
+ * 查询旁路转码计费时长。
65
+ 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
65
66
  */
66
- export interface DescribeTrtcInteractiveTimeResponse {
67
+ export interface SdkAppIdTrtcMcuTranscodeTimeUsage {
67
68
  /**
68
- * 应用的用量信息数组。
69
+ * 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
69
70
  */
70
- Usages: Array<OneSdkAppIdUsagesInfo>
71
+ TimeKey: string
71
72
 
72
73
  /**
73
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
74
+ * 语音时长,单位:秒。
74
75
  */
75
- RequestId?: string
76
+ AudioTime: number
77
+
78
+ /**
79
+ * 视频时长-标清SD,单位:秒。
80
+ */
81
+ VideoTimeSd: number
82
+
83
+ /**
84
+ * 视频时长-高清HD,单位:秒。
85
+ */
86
+ VideoTimeHd: number
87
+
88
+ /**
89
+ * 视频时长-全高清FHD,单位:秒。
90
+ */
91
+ VideoTimeFhd: number
76
92
  }
77
93
 
78
94
  /**
@@ -252,34 +268,13 @@ export interface DescribeTrtcMcuTranscodeTimeRequest {
252
268
  }
253
269
 
254
270
  /**
255
- * 查询旁路转码计费时长。
256
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
271
+ * StopMCUMixTranscode返回参数结构体
257
272
  */
258
- export interface SdkAppIdTrtcMcuTranscodeTimeUsage {
259
- /**
260
- * 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
261
- */
262
- TimeKey: string
263
-
264
- /**
265
- * 语音时长,单位:秒。
266
- */
267
- AudioTime: number
268
-
269
- /**
270
- * 视频时长-标清SD,单位:秒。
271
- */
272
- VideoTimeSd: number
273
-
274
- /**
275
- * 视频时长-高清HD,单位:秒。
276
- */
277
- VideoTimeHd: number
278
-
273
+ export interface StopMCUMixTranscodeResponse {
279
274
  /**
280
- * 视频时长-全高清FHD,单位:秒。
275
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
281
276
  */
282
- VideoTimeFhd: number
277
+ RequestId?: string
283
278
  }
284
279
 
285
280
  /**
@@ -1141,26 +1136,6 @@ export interface SdkAppIdRecordUsage {
1141
1136
  Usages: Array<RecordUsage>
1142
1137
  }
1143
1138
 
1144
- /**
1145
- * 单个SdkAppId的音视频互动计费时长用量数组和数组长度。
1146
- */
1147
- export interface OneSdkAppIdUsagesInfo {
1148
- /**
1149
- * 该 SdkAppId 对应的用量记录数长度
1150
- */
1151
- TotalNum: number
1152
-
1153
- /**
1154
- * 用量数组
1155
- */
1156
- SdkAppIdTrtcTimeUsages: Array<SdkAppIdTrtcUsage>
1157
-
1158
- /**
1159
- * 应用ID
1160
- */
1161
- SdkAppId: string
1162
- }
1163
-
1164
1139
  /**
1165
1140
  * 画中画模板中有效,代表小画面的布局参数
1166
1141
  */
@@ -1261,16 +1236,6 @@ export interface PresetLayoutConfig {
1261
1236
  PlaceImageId?: number
1262
1237
  }
1263
1238
 
1264
- /**
1265
- * StopMCUMixTranscode返回参数结构体
1266
- */
1267
- export interface StopMCUMixTranscodeResponse {
1268
- /**
1269
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1270
- */
1271
- RequestId?: string
1272
- }
1273
-
1274
1239
  /**
1275
1240
  * DescribeCallDetail返回参数结构体
1276
1241
  */
@@ -1318,64 +1283,6 @@ export interface DescribePictureResponse {
1318
1283
  RequestId?: string
1319
1284
  }
1320
1285
 
1321
- /**
1322
- * 查询音视频互动时长的输出数据。
1323
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
1324
- */
1325
- export interface SdkAppIdTrtcUsage {
1326
- /**
1327
- * 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
1328
- */
1329
- TimeKey: string
1330
-
1331
- /**
1332
- * 语音时长,单位:秒。
1333
- */
1334
- AudioTime: number
1335
-
1336
- /**
1337
- * 音视频时长,单位:秒。
1338
- 2019年10月11日前注册,没有变更为 [新计费模式](https://cloud.tencent.com/document/product/647/17157) 的用户才会返回此值。
1339
- */
1340
- AudioVideoTime: number
1341
-
1342
- /**
1343
- * 视频时长-标清SD,单位:秒。
1344
- */
1345
- VideoTimeSd: number
1346
-
1347
- /**
1348
- * 视频时长-高清HD,单位:秒。
1349
- */
1350
- VideoTimeHd: number
1351
-
1352
- /**
1353
- * 视频时长-超清HD,单位:秒。
1354
- */
1355
- VideoTimeHdp: number
1356
- }
1357
-
1358
- /**
1359
- * DescribeTrtcInteractiveTime请求参数结构体
1360
- */
1361
- export interface DescribeTrtcInteractiveTimeRequest {
1362
- /**
1363
- * 查询开始时间,格式为YYYY-MM-DD。
1364
- */
1365
- StartTime: string
1366
-
1367
- /**
1368
- * 查询结束时间,格式为YYYY-MM-DD。
1369
- 单次查询统计区间最多不能超过31天。
1370
- */
1371
- EndTime: string
1372
-
1373
- /**
1374
- * 应用ID,可不传。传应用ID时返回的是该应用的用量,不传时返回所有应用的合计值。
1375
- */
1376
- SdkAppId?: number
1377
- }
1378
-
1379
1286
  /**
1380
1287
  * 第三方CDN转推参数
1381
1288
  */