tencentcloud-sdk-nodejs-trtc 4.0.384 → 4.0.387

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.
@@ -16,51 +16,118 @@ export interface DescribeAbnormalEventResponse {
16
16
  RequestId?: string;
17
17
  }
18
18
  /**
19
- * DescribeAbnormalEvent请求参数结构体
19
+ * SdkAppId级别录制时长数据。
20
20
  */
21
- export interface DescribeAbnormalEventRequest {
21
+ export interface SdkAppIdRecordUsage {
22
22
  /**
23
- * 用户SDKAppID,查询SDKAppID下任意20条异常体验事件(可能不同房间)
23
+ * SdkAppId的值。
24
24
  */
25
25
  SdkAppId: string;
26
26
  /**
27
- * 查询开始时间,本地unix时间戳(1592448600s)
27
+ * 统计的时间点数据。
28
28
  */
29
- StartTime: number;
29
+ Usages: Array<RecordUsage>;
30
+ }
31
+ /**
32
+ * MCU混流输出流编码参数
33
+ */
34
+ export interface EncodeParams {
30
35
  /**
31
- * 查询结束时间,本地unix时间戳(1592449080s)
36
+ * 混流-输出流音频采样率。取值为[48000, 44100, 32000, 24000, 16000, 8000],单位是Hz。
32
37
  */
33
- EndTime: number;
38
+ AudioSampleRate: number;
34
39
  /**
35
- * 房间号,查询房间内任意20条以内异常体验事件
40
+ * 混流-输出流音频码率。取值范围[8,500],单位为kbps。
36
41
  */
37
- RoomId?: string;
42
+ AudioBitrate: number;
43
+ /**
44
+ * 混流-输出流音频声道数,取值范围[1,2],1表示混流输出音频为单声道,2表示混流输出音频为双声道。
45
+ */
46
+ AudioChannels: number;
47
+ /**
48
+ * 混流-输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
49
+ */
50
+ VideoWidth?: number;
51
+ /**
52
+ * 混流-输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。
53
+ */
54
+ VideoHeight?: number;
55
+ /**
56
+ * 混流-输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。
57
+ */
58
+ VideoBitrate?: number;
59
+ /**
60
+ * 混流-输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
61
+ */
62
+ VideoFramerate?: number;
63
+ /**
64
+ * 混流-输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。
65
+ */
66
+ VideoGop?: number;
67
+ /**
68
+ * 混流-输出流背景色,取值是十进制整数。常用的颜色有:
69
+ 红色:0xff0000,对应的十进制整数是16724736。
70
+ 黄色:0xffff00。对应的十进制整数是16776960。
71
+ 绿色:0x33cc00。对应的十进制整数是3394560。
72
+ 蓝色:0x0066ff。对应的十进制整数是26367。
73
+ 黑色:0x000000。对应的十进制整数是0。
74
+ 白色:0xFFFFFF。对应的十进制整数是16777215。
75
+ 灰色:0x999999。对应的十进制整数是10066329。
76
+ */
77
+ BackgroundColor?: number;
78
+ /**
79
+ * 混流-输出流背景图片,取值为实时音视频控制台上传的图片ID。
80
+ */
81
+ BackgroundImageId?: number;
82
+ /**
83
+ * 混流-输出流音频编码类型,取值范围[0,1, 2],0为LC-AAC,1为HE-AAC,2为HE-AACv2。默认值为0。当音频编码设置为HE-AACv2时,只支持输出流音频声道数为双声道。HE-AAC和HE-AACv2支持的输出流音频采样率范围为[48000, 44100, 32000, 24000, 16000]
84
+ */
85
+ AudioCodec?: number;
86
+ /**
87
+ * 混流-输出流背景图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。BackgroundImageUrl和BackgroundImageId参数都填时,以BackgroundImageUrl为准。图片大小限制不超过2MB。
88
+ */
89
+ BackgroundImageUrl?: string;
38
90
  }
39
91
  /**
40
- * 查询旁路转码计费时长。
41
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
92
+ * DescribeAbnormalEvent请求参数结构体
42
93
  */
43
- export interface SdkAppIdTrtcMcuTranscodeTimeUsage {
94
+ export interface DescribeAbnormalEventRequest {
44
95
  /**
45
- * 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
96
+ * 用户SdkAppId(如:1400xxxxxx)
46
97
  */
47
- TimeKey: string;
98
+ SdkAppId: string;
48
99
  /**
49
- * 语音时长,单位:秒。
50
- */
51
- AudioTime: number;
100
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
101
+ 注意:支持查询14天内的数据
102
+ */
103
+ StartTime: number;
52
104
  /**
53
- * 视频时长-标清SD,单位:秒。
105
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)注意:与StartTime间隔时间不超过1小时。
54
106
  */
55
- VideoTimeSd: number;
107
+ EndTime: number;
56
108
  /**
57
- * 视频时长-高清HD,单位:秒。
109
+ * 房间号,查询房间内任意20条以内异常体验事件
58
110
  */
59
- VideoTimeHd: number;
111
+ RoomId?: string;
112
+ }
113
+ /**
114
+ * DescribeScaleInfo请求参数结构体
115
+ */
116
+ export interface DescribeScaleInfoRequest {
60
117
  /**
61
- * 视频时长-全高清FHD,单位:秒。
118
+ * 用户SdkAppId(如:1400xxxxxx)
62
119
  */
63
- VideoTimeFhd: number;
120
+ SdkAppId: number;
121
+ /**
122
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
123
+ 注意:支持查询14天内的数据。
124
+ */
125
+ StartTime: number;
126
+ /**
127
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877),建议与StartTime间隔时间超过24小时。
128
+ 注意:按天统计,结束时间小于前一天,否则查询数据为空(如:需查询20号数据,结束时间需小于20号0点)。
129
+ */
130
+ EndTime: number;
64
131
  }
65
132
  /**
66
133
  * ModifyPicture返回参数结构体
@@ -146,17 +213,22 @@ export interface LayoutParams {
146
213
  WaterMarkParams?: WaterMarkParams;
147
214
  }
148
215
  /**
149
- * 返回的质量数据,时间:值
216
+ * DescribeScaleInfo返回参数结构体
150
217
  */
151
- export interface TimeValue {
218
+ export interface DescribeScaleInfoResponse {
152
219
  /**
153
- * 时间,unix时间戳(1590065877s)
220
+ * 返回的数据条数
154
221
  */
155
- Time: number;
222
+ Total: number;
156
223
  /**
157
- * 当前时间返回参数取值,如(bigvCapFps在1590065877取值为0,则Value:0 )
224
+ * 返回的数据
225
+ 注意:此字段可能返回 null,表示取不到有效值。
226
+ */
227
+ ScaleList: Array<ScaleInfomation>;
228
+ /**
229
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
158
230
  */
159
- Value: number;
231
+ RequestId?: string;
160
232
  }
161
233
  /**
162
234
  * CreatePicture请求参数结构体
@@ -210,13 +282,30 @@ export interface DescribeTrtcMcuTranscodeTimeRequest {
210
282
  SdkAppId?: number;
211
283
  }
212
284
  /**
213
- * StopMCUMixTranscode返回参数结构体
285
+ * 查询旁路转码计费时长。
286
+ 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
214
287
  */
215
- export interface StopMCUMixTranscodeResponse {
288
+ export interface SdkAppIdTrtcMcuTranscodeTimeUsage {
216
289
  /**
217
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
290
+ * 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05
218
291
  */
219
- RequestId?: string;
292
+ TimeKey: string;
293
+ /**
294
+ * 语音时长,单位:秒。
295
+ */
296
+ AudioTime: number;
297
+ /**
298
+ * 视频时长-标清SD,单位:秒。
299
+ */
300
+ VideoTimeSd: number;
301
+ /**
302
+ * 视频时长-高清HD,单位:秒。
303
+ */
304
+ VideoTimeHd: number;
305
+ /**
306
+ * 视频时长-全高清FHD,单位:秒。
307
+ */
308
+ VideoTimeFhd: number;
220
309
  }
221
310
  /**
222
311
  * RemoveUserByStrRoomId请求参数结构体
@@ -296,32 +385,37 @@ export interface DescribeRecordStatisticRequest {
296
385
  */
297
386
  export interface DescribeUserInformationRequest {
298
387
  /**
299
- * 通话 ID(唯一标识一次通话): sdkappid_roomgString(房间号_createTime(房间创建时间,unix时间戳,单位为s)例:1400353843_218695_1590065777。通过 DescribeRoomInformation(查询房间列表)接口获取(链接:https://cloud.tencent.com/document/product/647/44050
388
+ * 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
300
389
  */
301
390
  CommId: string;
302
391
  /**
303
- * 查询开始时间,14天内。本地unix时间戳(1590065777)
304
- */
392
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
393
+ 注意:支持查询14天内的数据
394
+ */
305
395
  StartTime: number;
306
396
  /**
307
- * 查询结束时间,本地unix时间戳(1590065877)
308
- */
397
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
398
+ 注意:与StartTime间隔时间不超过4小时。
399
+ */
309
400
  EndTime: number;
310
401
  /**
311
- * 用户SDKAppID(1400353843
402
+ * 用户SdkAppId(如:1400xxxxxx
312
403
  */
313
404
  SdkAppId: string;
314
405
  /**
315
- * 需查询的用户数组,不填默认返回6个用户,最多可填6个用户
316
- */
406
+ * 需查询的用户数组,不填默认返回6个用户
407
+ 范围:[1,100]。
408
+ */
317
409
  UserIds?: Array<string>;
318
410
  /**
319
- * 设置分页index,从0开始(PageNumber和PageSize 其中一个不填均默认返回6条数据)
320
- */
411
+ * 当前页数,默认为0
412
+ 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
413
+ */
321
414
  PageNumber?: string;
322
415
  /**
323
- * 设置分页大小(PageNumber和PageSize 其中一个不填均默认返回6条数据,PageSize最大不超过100)
324
- */
416
+ * 每页个数,默认为6
417
+ 范围:[1,100]。
418
+ */
325
419
  PageSize?: string;
326
420
  }
327
421
  /**
@@ -329,23 +423,25 @@ export interface DescribeUserInformationRequest {
329
423
  */
330
424
  export interface DescribeCallDetailRequest {
331
425
  /**
332
- * 通话 ID(唯一标识一次通话): sdkappid_roomgString(房间号_createTime(房间创建时间,unix时间戳,单位为s)例:1400353843_218695_1590065777。通过 DescribeRoomInformation(查询房间列表)接口获取(链接:https://cloud.tencent.com/document/product/647/44050
426
+ * 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
333
427
  */
334
428
  CommId: string;
335
429
  /**
336
- * 查询开始时间,14天内。本地unix时间戳(1590065777s),查询实时数据时,查询起止时间不超过1个小时。
337
- */
430
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777),
431
+ 注意:支持查询14天内的数据。
432
+ */
338
433
  StartTime: number;
339
434
  /**
340
- * 查询结束时间,本地unix时间戳(1590065877s
341
- */
435
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877
436
+ 注意:DataType 不为null ,与StartTime间隔时间不超过1小时;DataType 为null,与StartTime间隔时间不超过4小时。
437
+ */
342
438
  EndTime: number;
343
439
  /**
344
- * 用户SDKAppID(1400353843)
440
+ * 用户SdkAppId(如:1400xxxxxx)。
345
441
  */
346
442
  SdkAppId: string;
347
443
  /**
348
- * 需查询的用户数组,不填默认返回6个用户,最多可填6个用户
444
+ * 需查询的用户数组,默认不填返回6个用户。
349
445
  */
350
446
  UserIds?: Array<string>;
351
447
  /**
@@ -366,12 +462,16 @@ export interface DescribeCallDetailRequest {
366
462
  */
367
463
  DataType?: Array<string>;
368
464
  /**
369
- * 设置分页index,从0开始(PageNumber和PageSize 其中一个不填均默认返回6条数据)
370
- */
465
+ * 当前页数,默认为0
466
+ 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
467
+ */
371
468
  PageNumber?: string;
372
469
  /**
373
- * 设置分页大小(PageNumber和PageSize 其中一个不填均默认返回6条数据,DataTypeUserIds不为null,PageSize最大不超过6,DataType,UserIds为null,PageSize最大不超过100)
374
- */
470
+ * 每页个数,默认为6,
471
+ 范围:[1,100]
472
+ 注意:DataType不为null,UserIds长度不能超过6,PageSize最大值不超过6;
473
+ DataType 为null,UserIds长度不超过100,PageSize最大不超过100。
474
+ */
375
475
  PageSize?: string;
376
476
  }
377
477
  /**
@@ -434,64 +534,17 @@ export interface SdkAppIdNewTrtcTimeUsage {
434
534
  AudienceTrtcTimeUsages: Array<TrtcTimeNewUsage>;
435
535
  }
436
536
  /**
437
- * MCU混流输出流编码参数
537
+ * DescribeTrtcMcuTranscodeTime返回参数结构体
438
538
  */
439
- export interface EncodeParams {
440
- /**
441
- * 混流-输出流音频采样率。取值为[48000, 44100, 32000, 24000, 16000, 8000],单位是Hz。
442
- */
443
- AudioSampleRate: number;
444
- /**
445
- * 混流-输出流音频码率。取值范围[8,500],单位为kbps。
446
- */
447
- AudioBitrate: number;
448
- /**
449
- * 混流-输出流音频声道数,取值范围[1,2],1表示混流输出音频为单声道,2表示混流输出音频为双声道。
450
- */
451
- AudioChannels: number;
452
- /**
453
- * 混流-输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
454
- */
455
- VideoWidth?: number;
456
- /**
457
- * 混流-输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。
458
- */
459
- VideoHeight?: number;
460
- /**
461
- * 混流-输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。
462
- */
463
- VideoBitrate?: number;
464
- /**
465
- * 混流-输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
466
- */
467
- VideoFramerate?: number;
468
- /**
469
- * 混流-输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。
470
- */
471
- VideoGop?: number;
472
- /**
473
- * 混流-输出流背景色,取值是十进制整数。常用的颜色有:
474
- 红色:0xff0000,对应的十进制整数是16724736。
475
- 黄色:0xffff00。对应的十进制整数是16776960。
476
- 绿色:0x33cc00。对应的十进制整数是3394560。
477
- 蓝色:0x0066ff。对应的十进制整数是26367。
478
- 黑色:0x000000。对应的十进制整数是0。
479
- 白色:0xFFFFFF。对应的十进制整数是16777215。
480
- 灰色:0x999999。对应的十进制整数是10066329。
481
- */
482
- BackgroundColor?: number;
483
- /**
484
- * 混流-输出流背景图片,取值为实时音视频控制台上传的图片ID。
485
- */
486
- BackgroundImageId?: number;
539
+ export interface DescribeTrtcMcuTranscodeTimeResponse {
487
540
  /**
488
- * 混流-输出流音频编码类型,取值范围[0,1, 2],0为LC-AAC,1为HE-AAC,2为HE-AACv2。默认值为0。当音频编码设置为HE-AACv2时,只支持输出流音频声道数为双声道。HE-AAC和HE-AACv2支持的输出流音频采样率范围为[48000, 44100, 32000, 24000, 16000]
541
+ * 应用的用量信息数组。
489
542
  */
490
- AudioCodec?: number;
543
+ Usages: Array<OneSdkAppIdTranscodeTimeUsagesInfo>;
491
544
  /**
492
- * 混流-输出流背景图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。BackgroundImageUrl和BackgroundImageId参数都填时,以BackgroundImageUrl为准。图片大小限制不超过2MB
545
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
493
546
  */
494
- BackgroundImageUrl?: string;
547
+ RequestId?: string;
495
548
  }
496
549
  /**
497
550
  * RemoveUserByStrRoomId返回参数结构体
@@ -545,57 +598,76 @@ export interface StopMCUMixTranscodeRequest {
545
598
  RoomId: number;
546
599
  }
547
600
  /**
548
- * 用户信息,包括用户进房时间,退房时间等
601
+ * DescribeCallDetailInfo返回参数结构体
549
602
  */
550
- export interface UserInformation {
603
+ export interface DescribeCallDetailInfoResponse {
551
604
  /**
552
- * 房间号
605
+ * 返回的用户总条数
553
606
  */
554
- RoomStr: string;
607
+ Total: number;
555
608
  /**
556
- * 用户Id
557
- */
558
- UserId: string;
609
+ * 用户信息列表
610
+ 注意:此字段可能返回 null,表示取不到有效值。
611
+ */
612
+ UserList: Array<UserInformation>;
559
613
  /**
560
- * 用户进房时间
561
- */
562
- JoinTs: number;
614
+ * 质量数据
615
+ 注意:此字段可能返回 null,表示取不到有效值。
616
+ */
617
+ Data: Array<QualityData>;
563
618
  /**
564
- * 用户退房时间,用户没有退房则返回当前时间
619
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
565
620
  */
566
- LeaveTs: number;
621
+ RequestId?: string;
622
+ }
623
+ /**
624
+ * DescribeUserEvent请求参数结构体
625
+ */
626
+ export interface DescribeUserEventRequest {
567
627
  /**
568
- * 终端类型
628
+ * 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
569
629
  */
570
- DeviceType: string;
630
+ CommId: string;
571
631
  /**
572
- * Sdk版本号
632
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
633
+ 注意:支持查询14天内的数据
634
+ */
635
+ StartTime: number;
636
+ /**
637
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
638
+ 注意:查询时间大于房间结束时间,以房间结束时间为准。
639
+ */
640
+ EndTime: number;
641
+ /**
642
+ * 用户UserId
573
643
  */
574
- SdkVersion: string;
644
+ UserId: string;
575
645
  /**
576
- * 客户端IP地址
646
+ * 房间号(如:223)
577
647
  */
578
- ClientIp: string;
648
+ RoomId: string;
579
649
  /**
580
- * 判断用户是否已经离开房间
650
+ * 用户SdkAppId(如:1400xxxxxx)
581
651
  */
582
- Finished: boolean;
652
+ SdkAppId: number;
583
653
  }
584
654
  /**
585
655
  * DescribeHistoryScale请求参数结构体
586
656
  */
587
657
  export interface DescribeHistoryScaleRequest {
588
658
  /**
589
- * 用户sdkappid(1400188366)
659
+ * 用户SdkAppId(如:1400xxxxxx)
590
660
  */
591
661
  SdkAppId: string;
592
662
  /**
593
- * 查询开始时间,5天内。本地unix时间戳(1587571000s
594
- */
663
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777
664
+ 注意:支持查询14天内的数据。
665
+ */
595
666
  StartTime: number;
596
667
  /**
597
- * 查询结束时间,本地unix时间戳(1588034999s)
598
- */
668
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877),建议与StartTime间隔时间超过24小时。
669
+ 注意:按天统计,结束时间小于前一天,否则查询数据为空(如:需查询20号数据,结束时间需小于20号0点)。
670
+ */
599
671
  EndTime: number;
600
672
  }
601
673
  /**
@@ -716,25 +788,37 @@ export interface RemoveUserRequest {
716
788
  UserIds: Array<string>;
717
789
  }
718
790
  /**
719
- * MCU混流的输出参数
791
+ * DescribeRoomInfo请求参数结构体
720
792
  */
721
- export interface OutputParams {
793
+ export interface DescribeRoomInfoRequest {
722
794
  /**
723
- * 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同。
795
+ * 用户SdkAppId(如:1400xxxxxx)
724
796
  */
725
- StreamId: string;
797
+ SdkAppId: number;
726
798
  /**
727
- * 取值范围[0,1], 填0:直播流为音视频(默认); 填1:直播流为纯音频
728
- */
729
- PureAudioStream?: number;
799
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
800
+ 注意:支持查询14天内的数据
801
+ */
802
+ StartTime: number;
730
803
  /**
731
- * 自定义录制文件名称前缀。请先在实时音视频控制台开通录制功能,https://cloud.tencent.com/document/product/647/50768
732
- */
733
- RecordId?: string;
804
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
805
+ 注意:与StartTime间隔时间不超过24小时。
806
+ */
807
+ EndTime: number;
734
808
  /**
735
- * 取值范围[0,1],填0无实际含义; 填1:指定录制文件格式为mp3。此参数不建议使用,建议在实时音视频控制台配置纯音频录制模板。
809
+ * 房间号(如:223)
736
810
  */
737
- RecordAudioOnly?: number;
811
+ RoomId?: string;
812
+ /**
813
+ * 当前页数,默认为0,
814
+ 注意:PageNumber和PageSize 其中一个不填均默认返回10条数据。
815
+ */
816
+ PageNumber?: number;
817
+ /**
818
+ * 每页个数,默认为10,
819
+ 范围:[1,100]
820
+ */
821
+ PageSize?: number;
738
822
  }
739
823
  /**
740
824
  * DescribeExternalTrtcMeasure请求参数结构体
@@ -782,6 +866,19 @@ export interface ModifyPictureRequest {
782
866
  */
783
867
  YPosition?: number;
784
868
  }
869
+ /**
870
+ * 返回的质量数据,时间:值
871
+ */
872
+ export interface TimeValue {
873
+ /**
874
+ * 时间,unix时间戳(1590065877s)
875
+ */
876
+ Time: number;
877
+ /**
878
+ * 当前时间返回参数取值,如(bigvCapFps在1590065877取值为0,则Value:0 )
879
+ */
880
+ Value: number;
881
+ }
785
882
  /**
786
883
  * StopMCUMixTranscodeByStrRoomId请求参数结构体
787
884
  */
@@ -795,6 +892,27 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
795
892
  */
796
893
  StrRoomId: string;
797
894
  }
895
+ /**
896
+ * MCU混流的输出参数
897
+ */
898
+ export interface OutputParams {
899
+ /**
900
+ * 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同。
901
+ */
902
+ StreamId: string;
903
+ /**
904
+ * 取值范围[0,1], 填0:直播流为音视频(默认); 填1:直播流为纯音频
905
+ */
906
+ PureAudioStream?: number;
907
+ /**
908
+ * 自定义录制文件名称前缀。请先在实时音视频控制台开通录制功能,https://cloud.tencent.com/document/product/647/50768
909
+ */
910
+ RecordId?: string;
911
+ /**
912
+ * 取值范围[0,1],填0无实际含义; 填1:指定录制文件格式为mp3。此参数不建议使用,建议在实时音视频控制台配置纯音频录制模板。
913
+ */
914
+ RecordAudioOnly?: number;
915
+ }
798
916
  /**
799
917
  * Es返回的质量数据
800
918
  */
@@ -862,6 +980,23 @@ export interface EventList {
862
980
  */
863
981
  PeerId: string;
864
982
  }
983
+ /**
984
+ * DescribeRoomInfo返回参数结构体
985
+ */
986
+ export interface DescribeRoomInfoResponse {
987
+ /**
988
+ * 返回当页数据总数
989
+ */
990
+ Total: number;
991
+ /**
992
+ * 房间信息列表
993
+ */
994
+ RoomList: Array<RoomState>;
995
+ /**
996
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
997
+ */
998
+ RequestId?: string;
999
+ }
865
1000
  /**
866
1001
  * DismissRoom请求参数结构体
867
1002
  */
@@ -901,6 +1036,43 @@ export interface DismissRoomByStrRoomIdRequest {
901
1036
  */
902
1037
  RoomId: string;
903
1038
  }
1039
+ /**
1040
+ * 用户信息,包括用户进房时间,退房时间等
1041
+ */
1042
+ export interface UserInformation {
1043
+ /**
1044
+ * 房间号
1045
+ */
1046
+ RoomStr: string;
1047
+ /**
1048
+ * 用户Id
1049
+ */
1050
+ UserId: string;
1051
+ /**
1052
+ * 用户进房时间
1053
+ */
1054
+ JoinTs: number;
1055
+ /**
1056
+ * 用户退房时间,用户没有退房则返回当前时间
1057
+ */
1058
+ LeaveTs: number;
1059
+ /**
1060
+ * 终端类型
1061
+ */
1062
+ DeviceType: string;
1063
+ /**
1064
+ * Sdk版本号
1065
+ */
1066
+ SdkVersion: string;
1067
+ /**
1068
+ * 客户端IP地址
1069
+ */
1070
+ ClientIp: string;
1071
+ /**
1072
+ * 判断用户是否已经离开房间
1073
+ */
1074
+ Finished: boolean;
1075
+ }
904
1076
  /**
905
1077
  * DescribeExternalTrtcMeasure返回参数结构体
906
1078
  */
@@ -923,34 +1095,73 @@ export interface DescribeExternalTrtcMeasureResponse {
923
1095
  RequestId?: string;
924
1096
  }
925
1097
  /**
926
- * 旁路转码时长的查询结果
1098
+ * DescribeUserEvent返回参数结构体
927
1099
  */
928
- export interface OneSdkAppIdTranscodeTimeUsagesInfo {
929
- /**
930
- * 旁路转码时长查询结果数组
931
- */
932
- SdkAppIdTranscodeTimeUsages: Array<SdkAppIdTrtcMcuTranscodeTimeUsage>;
1100
+ export interface DescribeUserEventResponse {
933
1101
  /**
934
- * 查询记录数量
1102
+ * 返回的事件列表,若没有数据,会返回空数组。
935
1103
  */
936
- TotalNum: number;
1104
+ Data: Array<EventList>;
937
1105
  /**
938
- * 所查询的应用ID,可能值为:1-应用的应用ID,2-total,显示为total则表示查询的是所有应用的用量合计值。
1106
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
939
1107
  */
940
- SdkAppId: string;
1108
+ RequestId?: string;
941
1109
  }
942
1110
  /**
943
- * DescribeTrtcMcuTranscodeTime返回参数结构体
1111
+ * DescribeCallDetailInfo请求参数结构体
944
1112
  */
945
- export interface DescribeTrtcMcuTranscodeTimeResponse {
1113
+ export interface DescribeCallDetailInfoRequest {
946
1114
  /**
947
- * 应用的用量信息数组。
1115
+ * 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
948
1116
  */
949
- Usages: Array<OneSdkAppIdTranscodeTimeUsagesInfo>;
1117
+ CommId: string;
950
1118
  /**
951
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1119
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777),
1120
+ 注意:支持查询14天内的数据。
1121
+ */
1122
+ StartTime: number;
1123
+ /**
1124
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
1125
+ 注意:DataType 不为null ,与StartTime间隔时间不超过1小时;DataType 为null,与StartTime间隔时间不超过4小时。
1126
+ */
1127
+ EndTime: number;
1128
+ /**
1129
+ * 用户SdkAppId(如:1400xxxxxx)。
952
1130
  */
953
- RequestId?: string;
1131
+ SdkAppId: number;
1132
+ /**
1133
+ * 需查询的用户数组,默认不填返回6个用户。
1134
+ */
1135
+ UserIds?: Array<string>;
1136
+ /**
1137
+ * 需查询的指标,不填则只返回用户列表,填all则返回所有指标。
1138
+ appCpu:APP CPU使用率;
1139
+ sysCpu:系统 CPU使用率;
1140
+ aBit:上/下行音频码率;单位:bps
1141
+ aBlock:音频卡顿时长;单位:ms
1142
+ bigvBit:上/下行视频码率;单位:bps
1143
+ bigvCapFps:视频采集帧率;
1144
+ bigvEncFps:视频发送帧率;
1145
+ bigvDecFps:渲染帧率;
1146
+ bigvBlock:视频卡顿时长;单位:ms
1147
+ aLoss:上/下行音频丢包率;
1148
+ bigvLoss:上/下行视频丢包率;
1149
+ bigvWidth:上/下行分辨率宽;
1150
+ bigvHeight:上/下行分辨率高
1151
+ */
1152
+ DataType?: Array<string>;
1153
+ /**
1154
+ * 当前页数,默认为0,
1155
+ 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
1156
+ */
1157
+ PageNumber?: number;
1158
+ /**
1159
+ * 每页个数,默认为6,
1160
+ 范围:[1,100]
1161
+ 注意:DataType不为null,UserIds长度不能超过6,PageSize最大值不超过6;
1162
+ DataType 为null,UserIds长度不超过100,PageSize最大不超过100。
1163
+ */
1164
+ PageSize?: number;
954
1165
  }
955
1166
  /**
956
1167
  * DescribePicture请求参数结构体
@@ -974,17 +1185,44 @@ export interface DescribePictureRequest {
974
1185
  PageNo?: number;
975
1186
  }
976
1187
  /**
977
- * SdkAppId级别录制时长数据。
1188
+ * DescribeUnusualEvent请求参数结构体
978
1189
  */
979
- export interface SdkAppIdRecordUsage {
1190
+ export interface DescribeUnusualEventRequest {
980
1191
  /**
981
- * SdkAppId的值。
1192
+ * 用户SdkAppId(如:1400xxxxxx)
982
1193
  */
983
- SdkAppId: string;
1194
+ SdkAppId: number;
984
1195
  /**
985
- * 统计的时间点数据。
1196
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
1197
+ 注意:支持查询14天内的数据
1198
+ */
1199
+ StartTime: number;
1200
+ /**
1201
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)注意:与StartTime间隔时间不超过1小时。
986
1202
  */
987
- Usages: Array<RecordUsage>;
1203
+ EndTime: number;
1204
+ /**
1205
+ * 房间号,查询房间内任意20条以内异常体验事件
1206
+ */
1207
+ RoomId?: string;
1208
+ }
1209
+ /**
1210
+ * DescribeUserInfo返回参数结构体
1211
+ */
1212
+ export interface DescribeUserInfoResponse {
1213
+ /**
1214
+ * 返回的用户总条数
1215
+ */
1216
+ Total: number;
1217
+ /**
1218
+ * 用户信息列表
1219
+ 注意:此字段可能返回 null,表示取不到有效值。
1220
+ */
1221
+ UserList: Array<UserInformation>;
1222
+ /**
1223
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1224
+ */
1225
+ RequestId?: string;
988
1226
  }
989
1227
  /**
990
1228
  * 画中画模板中有效,代表小画面的布局参数
@@ -1069,6 +1307,15 @@ export interface PresetLayoutConfig {
1069
1307
  */
1070
1308
  PlaceImageId?: number;
1071
1309
  }
1310
+ /**
1311
+ * StopMCUMixTranscode返回参数结构体
1312
+ */
1313
+ export interface StopMCUMixTranscodeResponse {
1314
+ /**
1315
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1316
+ */
1317
+ RequestId?: string;
1318
+ }
1072
1319
  /**
1073
1320
  * DescribeCallDetail返回参数结构体
1074
1321
  */
@@ -1092,6 +1339,23 @@ export interface DescribeCallDetailResponse {
1092
1339
  */
1093
1340
  RequestId?: string;
1094
1341
  }
1342
+ /**
1343
+ * 旁路转码时长的查询结果
1344
+ */
1345
+ export interface OneSdkAppIdTranscodeTimeUsagesInfo {
1346
+ /**
1347
+ * 旁路转码时长查询结果数组
1348
+ */
1349
+ SdkAppIdTranscodeTimeUsages: Array<SdkAppIdTrtcMcuTranscodeTimeUsage>;
1350
+ /**
1351
+ * 查询记录数量
1352
+ */
1353
+ TotalNum: number;
1354
+ /**
1355
+ * 所查询的应用ID,可能值为:1-应用的应用ID,2-total,显示为total则表示查询的是所有应用的用量合计值。
1356
+ */
1357
+ SdkAppId: string;
1358
+ }
1095
1359
  /**
1096
1360
  * DescribePicture返回参数结构体
1097
1361
  */
@@ -1127,52 +1391,96 @@ export interface PublishCdnParams {
1127
1391
  */
1128
1392
  export interface DescribeRoomInformationRequest {
1129
1393
  /**
1130
- * 用户sdkappid
1394
+ * 用户SdkAppId(如:1400xxxxxx)
1131
1395
  */
1132
1396
  SdkAppId: string;
1133
1397
  /**
1134
- * 查询开始时间,14天内。本地unix时间戳(1588031999
1135
- */
1398
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777
1399
+ 注意:支持查询14天内的数据
1400
+ */
1136
1401
  StartTime: number;
1137
1402
  /**
1138
- * 查询结束时间,本地unix时间戳(1588034999
1139
- */
1403
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877
1404
+ 注意:与StartTime间隔时间不超过24小时。
1405
+ */
1140
1406
  EndTime: number;
1141
1407
  /**
1142
- * 字符串房间号
1408
+ * 房间号(如:223)
1143
1409
  */
1144
1410
  RoomId?: string;
1145
1411
  /**
1146
- * 分页index,从0开始(PageNumber和PageSize 其中一个不填均默认返回10条数据)
1147
- */
1412
+ * 当前页数,默认为0
1413
+ 注意:PageNumber和PageSize 其中一个不填均默认返回10条数据。
1414
+ */
1148
1415
  PageNumber?: string;
1149
1416
  /**
1150
- * 分页大小(PageNumber和PageSize 其中一个不填均默认返回10条数据,最大不超过100)
1151
- */
1417
+ * 每页个数,默认为10
1418
+ 范围:[1,100]
1419
+ */
1152
1420
  PageSize?: string;
1153
1421
  }
1422
+ /**
1423
+ * DescribeUserInfo请求参数结构体
1424
+ */
1425
+ export interface DescribeUserInfoRequest {
1426
+ /**
1427
+ * 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
1428
+ */
1429
+ CommId: string;
1430
+ /**
1431
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
1432
+ 注意:支持查询14天内的数据
1433
+ */
1434
+ StartTime: number;
1435
+ /**
1436
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
1437
+ 注意:与StartTime间隔时间不超过4小时。
1438
+ */
1439
+ EndTime: number;
1440
+ /**
1441
+ * 用户SdkAppId(如:1400xxxxxx)
1442
+ */
1443
+ SdkAppId: number;
1444
+ /**
1445
+ * 需查询的用户数组,不填默认返回6个用户
1446
+ 范围:[1,100]。
1447
+ */
1448
+ UserIds?: Array<string>;
1449
+ /**
1450
+ * 当前页数,默认为0,
1451
+ 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
1452
+ */
1453
+ PageNumber?: number;
1454
+ /**
1455
+ * 每页个数,默认为6,
1456
+ 范围:[1,100]。
1457
+ */
1458
+ PageSize?: number;
1459
+ }
1154
1460
  /**
1155
1461
  * DescribeDetailEvent请求参数结构体
1156
1462
  */
1157
1463
  export interface DescribeDetailEventRequest {
1158
1464
  /**
1159
- * 通话 ID(唯一标识一次通话): sdkappid_roomgString(房间号_createTime(房间创建时间,unix时间戳,单位s)。通过 DescribeRoomInformation(查询房间列表)接口获取。(链接:https://cloud.tencent.com/document/product/647/44050
1465
+ * 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
1160
1466
  */
1161
1467
  CommId: string;
1162
1468
  /**
1163
- * 查询开始时间,14天内。本地unix时间戳(1588055615s
1164
- */
1469
+ * 查询开始时间,本地unix时间戳,单位为秒(如:1590065777
1470
+ 注意:支持查询14天内的数据
1471
+ */
1165
1472
  StartTime: number;
1166
1473
  /**
1167
- * 查询结束时间,本地unix时间戳(1588058615s
1168
- */
1474
+ * 查询结束时间,本地unix时间戳,单位为秒(如:1590065877
1475
+ 注意:查询时间大于房间结束时间,以房间结束时间为准。
1476
+ */
1169
1477
  EndTime: number;
1170
1478
  /**
1171
- * 用户id
1479
+ * 用户UserId
1172
1480
  */
1173
1481
  UserId: string;
1174
1482
  /**
1175
- * 房间号
1483
+ * 房间号(如:223)
1176
1484
  */
1177
1485
  RoomId: string;
1178
1486
  }
@@ -1321,6 +1629,24 @@ export interface DescribeHistoryScaleResponse {
1321
1629
  */
1322
1630
  RequestId?: string;
1323
1631
  }
1632
+ /**
1633
+ * DescribeUnusualEvent返回参数结构体
1634
+ */
1635
+ export interface DescribeUnusualEventResponse {
1636
+ /**
1637
+ * 返回的数据总条数
1638
+ 范围:[0,20]
1639
+ */
1640
+ Total: number;
1641
+ /**
1642
+ * 异常体验列表
1643
+ */
1644
+ AbnormalExperienceList: Array<AbnormalExperience>;
1645
+ /**
1646
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1647
+ */
1648
+ RequestId?: string;
1649
+ }
1324
1650
  /**
1325
1651
  * StartMCUMixTranscodeByStrRoomId返回参数结构体
1326
1652
  */